0
votes
1answer
675 views

502 Bad Gateway - Nginx, spawn-fcgi, WordPress

I host several sites on a CentOS VPS, and all was working fine until one of the WordPress sites on the server started returning a 502 Bad Gateway error. Other sites work fine. The WordPress site will ...
1
vote
3answers
278 views

WT-NMP - PHP-CGI randomly stops running with no error log

We have recently installed WT-NMP and are currently running Php-Cgi with php 5.4.24. We are running fairly simple php scripts and when testing everything is running fine. Over the weekend we wanted ...
1
vote
2answers
275 views

No input file specified on nginx and php-cgi

I'm trying to run nginx and php-cgi on my Windows PC, I've got up to the point where I want to move the html directory back two directory's so I can sort of create a structure. The only problem I ...
0
votes
1answer
45 views

Wordpress multisite and redirect

I come to you because I'm facing a really strange effect on my hosting. I currently manage a server contening a NGINX/PHP-CGI and a wordpress multisite in it. My sites are created using ...
0
votes
0answers
46 views

How to prevent php download in nginx when php-cgi is down?

If php-cgi goes down how do I prevent users from being able to download the php files in nginx? This is to avoid them downloaded proprietary source code, user login information, etc... if php-cgi ...
0
votes
0answers
79 views

php-cgi on nginx slows server

Im having some trouble with my server lately because of more users coming to my website. If i get around 400 aktive users online, the server is really getting slow and it takes around 20 seconds to ...
1
vote
1answer
1k views

Nginx and Nagios passing through FastCGI Handler, 403 Error

I'm currently working on the renewal of my Web plateform and switching from Apache to Nginx. So I've to test all our administrative and internal applications before doing it. Well, so far, I didn't ...
1
vote
2answers
299 views

website connection reset on first load

i'm using nginx with php-cgi. lately a problem has arose where if you don't view my site for a while, like 3-4 minutes, and then open it again, the first request you send will return connection reset ...
1
vote
0answers
182 views

Replicating Apache Multiviews + PATH_INFO in Nginx

I'm working on some old PHP code of mine that was previously served using Apache+Multiviews+PATH_INFO. I'm now trying to get this site up and running using nginx (which I use and adore for all of my ...
1
vote
0answers
446 views

php5cgi keeps dying and nginx gives 502 Bad Gateway

I have nginx on my server (Ubuntu 11.10). i have created the script below in /etc/init.d/php5cgi to start/stop/restart php5-cgi. the problem is that php5-cgi dies from time to another which makes my ...
1
vote
2answers
673 views

When accessing PHP files, nginx throws an 404 error

Right, sorry for the previous, recent questions I've asked about nginx, this is just doing my head in. I've enabled PHP using fastcgi_php and it works just fine, however, when I access to a PHP file, ...
0
votes
1answer
596 views

Nginx PHP mbstring

I used this tutorial to install nginx on my Centos server http://moon.mastipoint.net/research/nginx-php-fpm-mysql-on-centos.html. I have everything running, however, I can't figure out how to install ...
0
votes
1answer
669 views

php-fpm not working several days,return 'No input file specified'

My server running ubuntu 64bit, nginx, php-fpm. Everything is working well. But several days after. The browser display 'No input file specified'.After I restart php-fpm. Everything run well again.But ...
1
vote
2answers
1k views

How to restart php-cgi automatically with spawn-fcgi

I'm running nginx with php as fcgi. It's working just fine, however, php-cgi keeps on exit()ing after serving 500 requests. I tried increasing that value (PHP_FCGI_MAX_REQUESTS), and that worked, but ...
0
votes
1answer
753 views

nginx, php-cgi and “No input file specified.”

I'm trying to get nginx to play nice with php-cgi, but it's not quite working how I'd like. I'm using some set variables to allow for dynamic host names--basically anything.local. I know that stuff is ...
0
votes
1answer
1k views

PHP-FPM + PHP-5.2.14 + NGINX - Giving 404

I've been slaving away trying to get PHP working via PHP-FPM. One of our servers is getting hit by slowloris is apache cant handle it. I got NGINX running all fine and passing data back to apache but ...
-1
votes
1answer
2k views

Find which php scripts cause high CPU with php-cgi

Background: I maintain a server for a client who has half a dozen Wordpress sites on. They all have the W3 Total Cache plugin installed and eAcellerator is installed (might be APC). All the PHP ...