##Given Apache 2 and MySQL are already installed.
#Update MacPorts sudo port selfupdate;sudo port -u upgrade outdated
#Install PHP 5.4.* sudo port install php54 php54-apache2handler ##Activate Apache Module cd /opt/local/apache2/modules
<?php | |
use Zend\Expressive\AppFactory; | |
use Firebase\JWT\JWT; | |
use Slim\Middleware\JwtAuthentication; | |
chdir(dirname(__DIR__)); | |
require "vendor/autoload.php"; | |
$app = AppFactory::create(); |
##Given Apache 2 and MySQL are already installed.
#Update MacPorts sudo port selfupdate;sudo port -u upgrade outdated
#Install PHP 5.4.* sudo port install php54 php54-apache2handler ##Activate Apache Module cd /opt/local/apache2/modules