Hello,
I loosely followed
http://library.linode.com/web-servers/n ... i/centos-5 for install nginx with PHP on CentOS 6 (and also
http://www.lifelinux.com/how-to-install ... 6-via-yum/). However, PHP pages are failing to load. A simple phpinfo() page is giving a 404. The error logs do not report any errors but the access_log shows that I am indeed hitting the right site/directory.
I know it's kind of a vague question... I am just messing around with nginx and seeing if it's right for me. Nothing important is on the server so I can rebuild it if needed.
If it helps:
[root@li438-59 ~]# php -v
PHP 5.3.10 (cli) (built: Feb 4 2012 07:36:51)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
[root@li438-59 ~]# nginx -v
nginx version: nginx/1.0.14