宝塔 php不解析 503 open_basedir错误

网站->设置->配置文件 看看

<FilesMatch .php$>
SetHandler "proxy:unix:/tmp/php-cgi-56.sock|fcgi://localhost" //和php版本对应的上不
</FilesMatch>

网站->设置->站点目录 把open_basedir 勾去掉

原文地址:https://www.cnblogs.com/JANCHAN/p/10307234.html