Results 1 to 10 of 11
-
16th Apr 2012, 01:11 AM #1OPMemberWebsite's:
imageditings.com shimory.com uniquerelease.comNginx php help
Hye guys, im installing Nginx on centos 64Bit and its working fine. Im also install epel
Code:rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
Code:yum install php-pear-Net-Socket php-pear php-common php-gd php-devel php php-mbstring php-pear-Mail php-cli php-imap php-snmp php-pdo php-xml php-pear-Auth-SASL php-ldap php-pear-Net-SMTP php-mysql
MediaStar Reviewed by MediaStar on . Nginx php help Hye guys, im installing Nginx on centos 64Bit and its working fine. Im also install epel rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm and php yum install php-pear-Net-Socket php-pear php-common php-gd php-devel php php-mbstring php-pear-Mail php-cli php-imap php-snmp php-pdo php-xml php-pear-Auth-SASL php-ldap php-pear-Net-SMTP php-mysql The problem now is when i upload php file on the server and open it, the page .php is not opening but downloading Rating: 5
-
16th Apr 2012, 03:34 AM #2MemberWebsite's:
vjetnamnet.com nguoihaiduong.com filezdown.comI can help you, if use debian 6.
-
16th Apr 2012, 04:08 AM #3Member
Nginx is used to handle static files.
If you want to run .php files, you have to install fastcgi or something like that
-
16th Apr 2012, 06:34 AM #4Member
Yum install php-fpm, then edit out the nginx.conf file to include the php locations and fastcgi params. You might try centminmod for an automatic script install.
-
16th Apr 2012, 02:17 PM #5OPMemberWebsite's:
imageditings.com shimory.com uniquerelease.com
-
16th Apr 2012, 03:51 PM #6Member# Pass PHP scripts on to PHP-FPM
location ~* \.php$ {
try_files $uri /index.php;
fastcgi_index index.php;
fastcgi_pass 127.0.0.1:9000;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
}
-
16th Apr 2012, 05:01 PM #7MemberWebsite's:
epicimagehost.com
-
16th Apr 2012, 05:44 PM #8Member
If you need help shoot me a PM. I can help you out with this.
-
16th Apr 2012, 06:11 PM #9MemberWebsite's:
satiq.netMaybe error with your chmod 's files..
Nocerino's Rulez CM9 features TriNitY ;-)
-
16th Apr 2012, 09:47 PM #10Member
Originally Posted by skinner
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Need help about NGINX!
By FootStep in forum Server ManagementReplies: 9Last Post: 20th Jul 2012, 04:50 PM -
Nginx Help
By dheeraj4uuuu in forum Webmaster DiscussionReplies: 4Last Post: 28th Mar 2012, 09:26 PM -
Plesk and nginx
By Webmin in forum Technical and Security TutorialsReplies: 8Last Post: 5th Mar 2012, 08:39 PM -
Litespeed or nginx?
By .:Raymond:. in forum Hosting DiscussionReplies: 9Last Post: 10th Oct 2011, 09:36 AM -
torrentflux nginx possible?
By bachbell in forum Server ManagementReplies: 13Last Post: 9th Oct 2011, 02:21 AM
themaLeecher - leech and manage...
Version 5.03 released. Open older version (or...