原文网址:https://www.youyong.top/article/1158ec559d14c
报错如下:
[error] 9342#0: *1 FastCGI sent in stderr: "PHP message: PHP Warning : open_basedir restriction in effect. File(/index.php) is not within the allowed path(s): (/wwwroot/public/:/tmp/:/proc/) ... on line 31。
(环境 lnmp1.2及以上 LAMP 1.2以上)
解决办法如下: