使用Apache 2.2.22和Ubuntu 12.10 – 500的PHP-FPM错误,或返回文本(不执行)
我正在学习本教程 ,尝试在我的LAMP堆栈上安装PHP-FPM。 我在/etc/apache2/sites-available/default包含(根据指南) <IfModule mod_fastcgi.c> Alias /php5.fastcgi /var/www/fastcgi/php5.fastcgi AddHandler php-script .php FastCGIExternalServer /var/www/fastcgi/php5.fastcgi -socket /var/run/php-fpm.sock Action php-script /php5.fastcgi virtual # This part is not necessary to get it to work, but it stops anything else from being # accessed from it by mistake or maliciously. <Directory "/var/www/fastcgi"> Order allow,deny <Files "php5.fastcgi"> Order deny,allow </Files> </Directory> […]