当前位置:论坛首页 > Linux面板 > 求助

关于宝塔Linux面板部署wordpress问题

发表在 Linux面板2017-10-17 14:20 [复制链接] 1 2630

宝塔面板最新+DEBIAN9 用系统源码直接部署wordpress或者把现成站点部署 ,站点后台页面报503和500错误,日志报[proxy_fcgi:error] [pid 2231] (104)Connection reset by peer:;
组件LAMP环境,PHP7.1 ,MYSQL 5.6;后台页面报503和500错误,前台页面可以访问
[Tue Oct 17 12:31:09.629234 2017] [proxy_fcgi:error] [pid 3743] [client 192.168.2.51:28015] AH01067: Failed to read FastCGI header, referer: http://192.168.2.120/
[Tue Oct 17 12:31:09.629296 2017] [proxy_fcgi:error] [pid 3743] (104)Connection reset by peer: [client 192.168.2.51:28015] AH01075: Error dispatching request to : , referer: http://192.168.2.120/
[Tue Oct 17 12:31:14.747153 2017] [proxy_fcgi:error] [pid 3739] [client 192.168.2.51:28026] AH01067: Failed to read FastCGI header, referer: http://192.168.2.120/
[Tue Oct 17 12:31:14.747193 2017] [proxy_fcgi:error] [pid 3739] (104)Connection reset by peer: [client 192.168.2.51:28026] AH01075: Error dispatching request to : , referer: http://192.168.2.120/
[Tue Oct 17 13:39:02.059600 2017] [proxy_fcgi:error] [pid 3743] [client 192.168.2.51:39899] AH01067: Failed to read FastCGI header, referer: http://192.168.2.120/wp-login.php
[Tue Oct 17 13:39:02.059647 2017] [proxy_fcgi:error] [pid 3743] (104)Connection reset by peer: [client 192.168.2.51:39899] AH01075: Error dispatching request to : , referer: http://192.168.2.120/wp-login.php
[Tue Oct 17 13:39:13.200011 2017] [proxy_fcgi:error] [pid 3742] [client 192.168.2.51:39938] AH01067: Failed to read FastCGI header, referer: http://192.168.2.120/
[Tue Oct 17 13:39:13.200075 2017] [proxy_fcgi:error] [pid 3742] (104)Connection reset by peer: [client 192.168.2.51:39938] AH01075: Error dispatching request to : , referer: http://192.168.2.120/
[Tue Oct 17 13:45:48.416613 2017] [proxy_fcgi:error] [pid 4190] [client 192.168.2.51:41209] AH01067: Failed to read FastCGI header, referer: http://192.168.2.120/wp-login.php
[Tue Oct 17 13:45:48.416685 2017] [proxy_fcgi:error] [pid 4190] (104)Connection reset by peer: [client 192.168.2.51:41209] AH01075: Error dispatching request to : , referer: http://192.168.2.120/wp-login.php
[Tue Oct 17 14:05:08.608021 2017] [proxy_fcgi:error] [pid 3742] [client 192.168.2.51:44853] AH01067: Failed to read FastCGI header, referer: http://192.168.2.120/
[Tue Oct 17 14:05:08.608080 2017] [proxy_fcgi:error] [pid 3742] (104)Connection reset by peer: [client 192.168.2.51:44853] AH01075: Error dispatching request to : , referer: http://192.168.2.120/
[Tue Oct 17 14:05:08.941977 2017] [proxy_fcgi:error] [pid 3746] [client 192.168.2.51:44856] AH01067: Failed to read FastCGI header, referer: http://192.168.2.120/
[Tue Oct 17 14:05:08.942027 2017] [proxy_fcgi:error] [pid 3746] (104)Connection reset by peer: [client 192.168.2.51:44856] AH01075: Error dispatching request to : , referer: http://192.168.2.120/



宝塔面板没有安装PHP扩展,没有修改PHP.INI


PHP7.0_FPM  日志   /var/log/php7.0-fpm.log   无报错

PHP_FPM _71日志   /www/server/php/71/var/log/php_fpm.log  无报错


用一台全新安装的VM原始安装DEBIAN 9,不用宝塔面板,一个个组件apt 安装配置,然后安装基础版wordpress部署,无报错,可以运行;



使用道具 举报 只看该作者 回复
发表于 2017-10-17 14:28:58 | 显示全部楼层
本帖最后由 sz_flamingo 于 2017-10-17 14:35 编辑

原先系统跑下WIN server 下, 环境server 2012, iis8.5+php 7.01 + MySQL 5.5 ,现在打算跑在DEBIAN 下,放在ECS云服务器上;安装BT面板部署后发现的问题;查阅google 没找到解决办法。
站点配置文件如下:
<VirtualHost *:80>
    ServerAdmin webmaster@example.com
    DocumentRoot "/www/wwwroot/richnet2015"
    ServerName 5786313f.192.168.2.120
    ServerAlias 192.168.2.120
    errorDocument 404 /404.html
    ErrorLog "/www/wwwlogs/192.168.2.120-error_log"
    CustomLog "/www/wwwlogs/192.168.2.120-access_log" combined

    #PHP
    <FilesMatch \.php$>
            SetHandler "proxy:unix:/tmp/php-cgi-71.sock|fcgi://localhost"
    </FilesMatch>

    #PATH
    <Directory "/www/wwwroot/richnet2015">
        SetOutputFilter DEFLATE
        Options FollowSymLinks
        AllowOverride All
        Require all granted
        DirectoryIndex index.php index.html index.htm default.php default.html default.htm
    </Directory>
</VirtualHost>

使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

工作时间:白班:9:00 - 18:00

工作时间:晚班:18:00 - 24:00

立即付费处理

工作时间:09:00至24:00

快速回复 返回顶部 返回列表