按照网上的说明安装了php服务器,测试时却无法通过。
经过搜索,发现是由于权限问题导致,记录如下:
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
DBShop开源商城系统,使用PHP语言基于Laminas(Zendframework 3) + Doctrine 2 组合框架开发完成。可定制、多终端、多场景、多支付、多货币;严谨的安全机制,可靠稳定;方便的操作管理,节约时间;清晰的权限分配,责任分明;便捷的更新处理,一键搞定;丰富的插件市场,扩展无限。
立即学习“PHP免费学习笔记(深入)”;
listen.mode = 0660
以上就介绍了ubuntu 1204安装php的权限配制,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。










