報(bào)錯(cuò)1
no input file什么的
報(bào)錯(cuò)2
File(/tmp) is not within the allowed path(s): (/www/wwwroot:/www/server/phpmyadmin)
解決辦法:
在www/server/nginx/conf/fastcgi.conf下最后一行添加
fastcgi_param PHP_ADMIN_VALUE “open_basedir=/www/wwwroot:/tmp/:/www/server/phpmyadmin”;
看不懂?其實(shí)就是“服務(wù)器允許訪問的路徑”,多個(gè)路徑就用:隔開,就如上面的open_basedir的路徑就是/www/wwwroot,/tmp/,還有/www/server/phpmyadmin,就是意識(shí)是nginx允許這些路徑使用某些東西(具體什么我也暫時(shí)不懂,應(yīng)該時(shí)權(quán)限之類的);
那么搞清楚了,就能解決這個(gè)問題了
錯(cuò)誤是File(/tmp) is not within the allowed path(s): (/www/wwwroot:/www/server/phpmyadmin)
那么所以只要在open_basedir那堆路徑哪里加上:/tmp就行了,改完時(shí)沒生效可以嘗試重啟nginx,然后你發(fā)現(xiàn)可以了!!!