Submitted by kfawcett on Thu, 12/15/2011 - 11:27 Pro Licensee
I'm trying to get Nginx up and running. It doesn't seem to be reaading php files. Anything special I need to do?
Status:
Closed (fixed)
I'm trying to get Nginx up and running. It doesn't seem to be reaading php files. Anything special I need to do?
Comments
Submitted by JamieCameron on Thu, 12/15/2011 - 13:53 Comment #1
Is there a
php-cgi
process running as the owner of the problem domain?Also, what does the file
logs/php.log
under the domain's home directory contain?Submitted by kfawcett on Thu, 12/15/2011 - 14:13 Pro Licensee Comment #2
Using ps I only see two processes, bash and ps.
pgrep php-cgi shows nothing.
The php log under the domains home directory is blank.
Would you like access to the server?
Submitted by JamieCameron on Thu, 12/15/2011 - 15:43 Comment #3
Sure, remote access would be really useful. Either enable it using Virtualmin's remote support access feature, or email me at jcameron@virtualmin.com
Submitted by kfawcett on Thu, 12/15/2011 - 15:57 Pro Licensee Comment #4
It's been enabled and referenced to this ticket number 20462.
Submitted by JamieCameron on Thu, 12/15/2011 - 16:19 Comment #5
Ok, I see the issue here - on your system,
localhost
resolves to both an IPv4 and v6 address, so when Virtualmin tries to startphp-cgi
and tells it to listen onlocalhost
, it fails because it doesn't know which IP to use!I have patched Virtualmin on your system to deal with this, and will include a fix in the next release of the Nginx plugin.
Submitted by kfawcett on Thu, 12/15/2011 - 16:21 Pro Licensee Comment #6
Awesome, thanks Jamie!
Submitted by Issues on Thu, 12/29/2011 - 16:46 Comment #7
Automatically closed -- issue fixed for 2 weeks with no activity.