Created
July 16, 2010 02:26
-
-
Save tjstein/477835 to your computer and use it in GitHub Desktop.
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
add-apt-repository ppa:brianmercer/php | |
aptitude -y update | |
aptitude -y install php5-cli php5-common php5-mysql php5-suhosin php5-gd php5-curl | |
aptitude -y install php5-fpm php5-cgi php-pear php5-memcache php-apc php5-dev | |
echo "apc.mmap_file_mask=/tmp/apc.XXXXXX" >> /etc/php5/conf.d/apc.ini | |
echo "apc.shm_size = 64" >> /etc/php5/conf.d/apc.ini | |
cp /etc/php5/fpm/php5-fpm.conf /etc/php5/fpm/php5-fpm.conf.original | |
sed -i 's/.*listen.allowed_clients = 127.0.0.1.*/listen.allowed_clients = 127.0.0.1/g' /etc/php5/fpm/php5-fpm.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment