This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt-get update | |
sudo apt-get install apache2 apache2-utils -yq | |
sudo systemctl enable apache2 | |
sudo systemctl start apache2 | |
sudo apt-get install php libapache2-mod-php php-mysql -yq | |
sudo apt-get install php-curl php-gd php-mbstring php-xml php-xmlrpc -yq | |
sudo a2enmod rewrite | |
sudo systemctl restart apache2 | |
cd /var/www |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* SplClassLoader implementation that implements the technical interoperability | |
* standards for PHP 5.3 namespaces and class names. | |
* | |
* http://groups.google.com/group/php-standards/web/final-proposal | |
* | |
* // Example which loads classes for the Doctrine Common package in the | |
* // Doctrine\Common namespace. |