Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Apr 03, 2012 9:20 am 
Offline

Joined: Tue Apr 03, 2012 9:17 am
Posts: 1
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


Top
   
 Post subject:
PostPosted: Wed Apr 04, 2012 11:09 am 
Offline
Newbie

Joined: Tue Apr 03, 2012 5:40 pm
Posts: 3
Could you post your nginx config? That would help with spotting the issue.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group