Questions tagged [php-cgi]
55 questions
0
votes
1 answer
Why is FastCGI hanging after few requests?
I've an issue with using nginx with fastcgi. It just runs for few requests and then it hangs/dies or whatever. Nginx then just returns bad gateway (502).
This is the code I used to spawn…
![](../../users/profiles/47394.webp)
Rihards
- 759
- 2
- 12
- 22
0
votes
1 answer
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 the php mbstring extension.
I've tried yum…
![](../../users/profiles/89898.webp)
Spencer
- 25
- 3
0
votes
1 answer
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 this situation occur again and again.So I must…
![](../../users/profiles/85046.webp)
Magic
- 145
- 1
- 1
- 7
0
votes
1 answer
Starting php-cgi: spawn-fcgi: child signaled: 25
Starting php-cgi: spawn-fcgi: child signaled: 25
Does anybody know what this could mean? I'm trying to start php-cgi on CentOS.
The only thing I can say is that it was working before the hosting shut the server down for maintenance. I don't know…
![](../../users/profiles/79908.webp)
ySgPjx
- 157
- 1
- 8
0
votes
1 answer
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 working because I can access static files…
![](../../users/profiles/2041.webp)
Stephen Belanger
- 85
- 1
- 9
0
votes
2 answers
php-cgi memory usage higher than php's memory limit
I'm running apache with a worker MPM and php with fastcgi.
the following are my mpm limits:
StartServers 5
MinSpareThreads 5
MaxSpareThreads 10
ThreadLimit 64
ThreadsPerChild 10
MaxClients …
![](../../users/profiles/64402.webp)
Josh Nankin
- 722
- 11
- 27
0
votes
1 answer
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 now Im trying to go pure NGINX atleast for most…
![](../../users/profiles/57226.webp)
Andre Jay Marcelo-Tanner
- 125
- 5
0
votes
0 answers
Why are there many PHP-CGI processes?
My webmin server has been running into a memory issue, when I check the memory usage, I found this
Why are there so many php-cgi7.4 processes? Is this normal?
![](../../users/profiles/329595.webp)
shenkwen
- 197
- 2
- 12
-1
votes
2 answers
How to sandbox a website subfolder?
Let's say I have a website under www.example.com and would like to also have a blog under a subfolder, e.g. www.example.com/blog/. How can I sandbox this folder, so that any script running inside it, won't be able to touch any files outside of…
![](../../users/profiles/88966.webp)
ovi
- 99
- 3
-1
votes
1 answer
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 sites run through a single batch of fastcgi php-cgi…
![](../../users/profiles/2619.webp)
Oli
- 1,791
- 17
- 27