我更新我的PHP5 FPM到PHP 5.4.42-1〜dotdeb + 7.4。 但之后,我成为现在的错误消息
FastCGI sent in stderr: "Access to the script '/var/www/mysite/index.html' has been denied (see security.limit_extensions)" while reading response header from upstream
所以我检查了我的php5-fpm虚拟主机conf,所有的HTML安全扩展已经在那里, – 我检查了PHP的www.conf,他们也包括在内(security.limit_extensions = .php .php3 .php4 .php5 .htm .html )
在我使用的服务器块
location ~ \.(htm|html)$ { fastcgi_pass unix:/var/lib/php5-fpm/web2.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; }
我真的不知道他突然有什么问题