Home > Backend Development > PHP Tutorial > Permission configuration for installing php on ubuntu 1204

Permission configuration for installing php on ubuntu 1204

WBOY
Release: 2016-07-29 09:00:18
Original
1032 people have browsed it

I installed the php server according to the instructions on the Internet, but it failed to pass the test.

After searching, it was found that it was caused by permission issues. The record is as follows:

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


The above introduces the permission configuration for installing PHP on Ubuntu 1204, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template