sudo apt-get update
sudo apt-get upgrade
sudo apt-get install php5-cli nginx php5-mysql php5-gd php5-fpm mysql-server mysql-client htop mc php5-curl php5-mcrypt sendmail
sudo apt-get install php5-mysqli
/etc/php5/fpm/php.ini
sudo apt-get upgrade
sudo apt-get install php5-cli nginx php5-mysql php5-gd php5-fpm mysql-server mysql-client htop mc php5-curl php5-mcrypt sendmail
sudo apt-get install php5-mysqli
/etc/php5/fpm/php.ini
cgi.fix_pathinfo = 0
/etc/php5/fpm/pool.d/www.conf
security.limit_extensions = .php .php3 .php4 .php5
sudo /etc/init.d/nginx restart
sudo service php5-fpm restart
sudo service mysql restart
sudo mkdir -m 777 /var/www
sudo chown -R www-data:www-data /var/www
sudo chmod -R 775 /var/www
sudo usermod -a -G www-data USER
в помощь
phpMemcachedAdmin
дополнительно если нужно
php5-cgi memcached php5-memcache
sudo /etc/init.d/memcached restart
проверка
ps aux | grep memcached
ps aux | grep php-fpm