Difference between revisions of "Talk:Nginx"

From ArchWiki
Jump to: navigation, search
(systemd fails to start php-fpm with settings in this article: new section)
Line 5: Line 5:
 
== In step 3 for PHP ==
 
== In step 3 for PHP ==
 
the folder /srv/http/nginx does not exist. It should be /usr/share/nginx/http shouldn't it?
 
the folder /srv/http/nginx does not exist. It should be /usr/share/nginx/http shouldn't it?
 +
 +
== systemd fails to start php-fpm with settings in this article ==
 +
 +
systemd gave error "Failed to get D-Bus connection". To fix, change the following in /etc/php/php-fpm.conf :
 +
 +
;error_log = log/php-fpm.log
 +
to
 +
error_log = /var/log/php-fpm.log
 +
 +
Not sure if this is confirmed, but seems to be common.  Source: [http://www.howtoforge.com/installing-nginx-with-php5-and-php-fpm-and-mysql-support-on-opensuse-12.1 Installing Nginx With PHP5]
 +
 +
Does anybody with wikiskills want to make the changes?  I am new to wiki editing.

Revision as of 02:26, 19 March 2013

Run FastCGI as user, not root.

After reading this, why isn't the example in this wiki set to use the "http" user instead of root.

In step 3 for PHP

the folder /srv/http/nginx does not exist. It should be /usr/share/nginx/http shouldn't it?

systemd fails to start php-fpm with settings in this article

systemd gave error "Failed to get D-Bus connection". To fix, change the following in /etc/php/php-fpm.conf :

;error_log = log/php-fpm.log

to

error_log = /var/log/php-fpm.log

Not sure if this is confirmed, but seems to be common. Source: Installing Nginx With PHP5

Does anybody with wikiskills want to make the changes? I am new to wiki editing.