脚本宝典收集整理的这篇文章主要介绍了php – libapache2-mod-fastcgi安装过程中出错,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
我收到以下消息:
After this operation,250 kB of addITional disk space will be used. Selecting prevIoUsly unselected package libapache2-mod-fastcgi. (Reading database ... 63345 files and directories currently installed.) PReparing to unpack .../libapache2-mod-fastcgi_2.4.7~0910052141-1.1_amd64.deb ... Unpacking libapache2-mod-fastcgi (2.4.7~0910052141-1.1) ... Setting up libapache2-mod-fastcgi (2.4.7~0910052141-1.1) ... apache2_invoke: Enable module fastcgi Action 'configtest' Failed. The Apache error LOG may have more information. apache2_reload: Your configuration is broken. Not restarting Apache 2
我将很快发布我的apache日志,因为它是一个大文件,我需要先解析它.
grep -RIs "FastCgiExternalServer" /etc/apache2
并得到以下回应:
/etc/apache2/conf-available/PHP5-fpm.conf:FastCgiExternalServer /usr/lib/cgi-bin/PHP5-fcgi -socket /VAR/run/PHP5-fpm.sock -pass-header Authorization
这也是,当我尝试重启Apache时:
* Restarting web server apache2 [fail] * The apache2 configtest Failed. Output of config test was: AH00526: Syntax error on line 4 of /etc/apache2/mods-enabled/fastcgi.conf: FastCgiIpcDir /var/lib/apache2/fastcgi: access for server (uid 33,gid 33) Failed: write not Allowed Action 'configtest' Failed. The Apache error log may have more information.
这是包含违规行的文件:
<IfModule mod_fastcgi.c> AddHandler fastcgi-script .fcgi #FastCgiWrapPEr /usr/lib/apache2/suexec FastCgiIpcDir /var/lib/apache2/fastcgi </IfModule>
谁能帮我 ?
以上是脚本宝典为你收集整理的php – libapache2-mod-fastcgi安装过程中出错全部内容,希望文章能够帮你解决php – libapache2-mod-fastcgi安装过程中出错所遇到的问题。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。