Created
December 18, 2011 13:18
-
-
Save kblomqvist/1493392 to your computer and use it in GitHub Desktop.
Install PHP5 + Apache2 (with suPHP) + MySQL
This file contains 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
su root | |
aptitude install php5 php5-mysql apache2-mpm-prefork libapache2-mod-suphp mysql-server | |
a2dismod php5 #disable mod_php | |
a2enmod rewrite #enable mod_rewrite | |
nano /etc/suphp/suphp.conf # docroot=${HOME}/sites | |
nano /etc/php5/cgi/php.ini # expose_php Off | |
echo -e "[mysqld]\nlocal-infile=0" > /etc/mysql/conf.d/my.cnf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment