Questions tagged [php-cgi]
58 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…

Rihards
- 769
- 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…

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…

Magic
- 155
- 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…

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…

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 …

Josh Nankin
- 722
- 12
- 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…

Andre Jay Marcelo-Tanner
- 125
- 5
0
votes
1 answer
Clear gettext cache of PHP-Apache Server to apply .mo updates
Although many questions on SO already relate to this, they're A) pretty old and B) I felt that it's better to ask about this here, as it seems to be related to some server-level, and not programming-level, cache.
The problem is that our server,…

DevelJoe
- 187
- 3
- 11
0
votes
0 answers
PHP on IIS 10 , site running slow
I have IIS 10 running on windows server 2022, wordpress website running php is setup on iis. Everything was working fine until we decided to upgrade php from 7.4 to 8.0. now the website is painfully slow. It takes 10-20 seconds to load first page…

Learner
- 1
0
votes
0 answers
When is a new PHP-CGI process created?
My production server has been having a OOM issue. Upon investigating I find that a major memory eater is PHP-CGI processes. Each of my website, be it Joomla or Wordpress, is having 3 - 6 PHP-CGI processes and each of the processes is taking around…

shenkwen
- 199
- 2
- 14
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?

shenkwen
- 199
- 2
- 14
-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…

ovi
- 99
- 4
-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…

Oli
- 1,799
- 19
- 27