Pureftpd 登录出现500错误!!
果提示无法读取目录、登陆超时或报502 Bad Gateway错误,修改/usr/local/php/etc/php.ini 查找open_basedir,将有/home/wwwroot/default的几行前面加;注释掉。按照这个 没有找到(/home/wwwroot/default的几行前面加;注释掉。)
有open_basedir 但是注释掉了 也没有用。。 https://lnmp.org/faq/ftpserver.html#pureftpd-tips
确定好版本,再就是你是lnmp还是lnmp还是lamp,反馈问题要描述清楚 你好,军哥,昨天安装的好多次,其他都可以,就是Pureftpd 登录出现500错误
登陆就500
密码什么都对
CentOS 5 x86_641.2完整版的
这个也看了,https://lnmp.org/faq/ftpserver.html#pureftpd-tips lnmp1,2完整版 http://323.23.2.2.3.2.3/ftp/
打开后登陆就500 /usr/local/php/etc/php.ini
我修改这样的,reboot 还是不行
这样修改对吗?
;注释掉 open_basedir, if set, limits all file operations to the defined directory
; and below.This directive makes most sense if used in a per-directory
; or per-virtualhost web server configuration file.
; http://php.net/open-basedir
;注释掉open_basedir = 2楼连接里说的很清楚,你明显改的不对
1.1 修改/usr/local/php/etc/php.ini 查找open_basedir,将有/home/wwwroot/default的几行前面加;注释掉,重启php-fpm生效。
LNMP 1.2的话在/home/wwwroot/default/.user.ini里设置,将里面的内容删除,重启php-fpm生效后即可。
页:
[1]