Questions tagged [php-cgi]
55 questions
1
vote
1 answer
How to fix "Segfault in Cherokee"?
I keep getting the following in my mail.
The Cherokee 'panic action' script, /usr/bin/cherokee-panic,
was called for pid ().
This means there was a problem with the program, such as a segfault.
However, the executable could not be found…
![](../../users/profiles/40916.webp)
Van Nguyen
- 568
- 3
- 6
- 15
0
votes
1 answer
How to Fix 'SCRIPT_NAME' while run php script using php-cgi?
I am trying to run below php file using Putty in wordpress.
php-cgi -f info.php
But this command throw this error Undefined index: SCRIPT_NAME.
Server Setting:
#fastcgi_param HTTPS $fastcgi_https;
fastcgi_param SCRIPT_FILENAME …
![](../../users/profiles/434308.webp)
Addy
- 101
0
votes
1 answer
Limit fastcgi (php-cgi) process time on Ubuntu 16.04
I want to limit the php-cgi processes time since the processes never close themselves and slowly all those processes eat the whole RAM (not cache/buffer) and the server starts going very slow. The only way right now to close those processes is using…
![](../../users/profiles/144259.webp)
demlasjr
- 49
- 1
- 6
0
votes
1 answer
How to force httpd to use newer php/php-cgi
Hi so I have problem dealing with changing PHP version on Debian Wheezy server. It was previously Debian Squeeze with PHP 5.2.17, and I made a dist upgrade and also upgraded everything related to PHP (PHP 5.6.30).
"which php" command gives:
…
![](../../users/profiles/410894.webp)
J. Prorok
- 3
- 2
0
votes
1 answer
php-fpm installed and running, but Apache24 still using CGI
On my Freebsd server, I have Apache installed with php-fpm, but phpinfo() reports that the server is using CGI/FastCGI instead of FPM/FastCGI.
I can see several children of php-fpm, but they have no activity:
73819 - IW 0:00.00 php-fpm:…
![](../../users/profiles/399694.webp)
KBsurfer
- 1
0
votes
0 answers
"unsupported FastCGI protocol version" error with nginx and php-cgi under high load
I'm running a Wordpress site with NGINX and php5-cgi. My setup works, in principle.
However, when there are requests in close succession, I sometimes see this strange error:
[error] 5057#0: *706 upstream sent unsupported FastCGI protocol version:…
![](../../users/profiles/206097.webp)
Philipp Zedler
- 121
- 6
0
votes
1 answer
Apache spawns bunch of php-cgi processes and they don't exit - webite hangs
Out of the blue, apache started to not to respond when I tried to load my website. Website is based on Drupal just for the information. I checked server status by doing
service httpd status
and it showed out that apache is still running even though…
![](../../users/profiles/304092.webp)
Klemen
- 1
- 3
0
votes
0 answers
Php5-CGI is using 100% CPU on a single hit. How do I track down the culprit?
I ran into a strange problem with a Magento Store. The server was crashing when we hat a little traffic-peak so I checked what was going on. Using htop I found out that PHP5 CGI is using up to 100% CPU on a single hit. I am on a vps but the…
![](../../users/profiles/251042.webp)
Øle Bjarnstroem
- 305
- 4
- 11
0
votes
2 answers
100% CPU usage on my CentOS VPS
I have a 512 MB VPS and hosting 2 WordPress websites on this CentOS server. I have installed apache + mysql + PHP + fast cgi on this server. Everything was working great from last 6 months. I have 500 users per day on both websites combined. So no…
![](../../users/profiles/200943.webp)
Robert hue
- 125
- 1
- 10
0
votes
2 answers
Global and per user php.ini
On my server (lighttpd + php-cgi) I have several php-cgi processes, each running as the user of the site it's serving. I know I can set a php.ini for each process through the PHPRC enviroment variable. Unfortunately this causes PHP to only read that…
![](../../users/profiles/59258.webp)
Zeta Two
- 101
- 4
0
votes
1 answer
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 subsite.domaine.tld, for now, my three subsites are correctly…
![](../../users/profiles/26670.webp)
Dr I
- 943
- 16
- 33
0
votes
1 answer
What are the affects of disabling CGI on my server to enable PHP CLI
I have a DS WHM - cpanel running apache / with litespeed I have a number of websites running on this server I need to run CLI on one of the sites the CGI module is enabled in the apache build.
The script I need to run has a configuration check --…
![](../../users/profiles/158306.webp)
Ledgemonkey
- 103
- 5
0
votes
1 answer
PHP-CGI process crashing twice a day in a wordpress hosted Dedicated Server
CGI process is crashing twice a day and comes up after apache httpd process restart.
I am running CentOS 6.3 Server , 16GB ram, i5 Quad core processor. With just only one wordpress blog running with site traffic around 40,000-50,000 impressions.…
![](../../users/profiles/156912.webp)
Rajandran
- 1
- 2
0
votes
2 answers
How to debug solve 500 Internal error aws micro ec2 with suexec, Apache and php CGi
I'm running WordPress multi-site on an amazon micro ec2 with suexec, Apache and php CGi On Ubuntu 12.04 However I've been experiencing a lot of Internal server 500 errors and I'm in the process of debugging it to find a solution. I've posted my…
![](../../users/profiles/124834.webp)
Oudin
- 331
- 2
- 5
- 10