时间:2021-07-01 10:21:17 帮助过:3人阅读
经过搜索,发现是由于权限问题导致,记录如下:
If you open your /etc/php5/fpm/pool.d/www.conf file, you'll notice that fastcgi is listening to /var/run/php5-fpm.sock. You'll need to grant your webserver privileges to the unix socket by uncommenting the following lines:
listen.owner = www-data
listen.group = www-data
listen.mode = 0660
以上就介绍了ubuntu 1204安装php的权限配制,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。