The solution to the 500 error reported in the linux environment after php uses require

Annotate the following content of /usr/local/nginx/conf/fastcgi.cong, otherwise require cannot import the files of the superior directory

#fastcgi_param PHP_ADMIN_VALUE "open_basedir=$document_root/:/tmp/:/proc/";

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326393429&siteId=291194637