The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
12 views

php-cgi segfault in libpcre.so.3.12.1 when showing a long WordPress article (lighttpd)

When I am trying to show or preview a certain post in WordPress, the php process dies. If I shorten the article, it works again. But I have other longer posts that work fine. This is in ...
2
votes
0answers
459 views

Apache 2.4 + mod_rewrite + FastCGI (php-cgi.exe) on Windows

I am trying to port my Mac config on Windows for some of my clients. Since Windows is not Mac OS, I have to use php-cgi.exe instead of PHP-FPM. I have tested each component individually and ...
0
votes
1answer
1k 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 ...
0
votes
0answers
227 views

Apache2 php-cgi processes, how to limit them?

I have a 32gig ram dedicated server running on Ubuntu 12.04 with ISPConfig / Apache configuration. The thing is, anyone can take the site down simply by holding down F5 button for 20 seconds causing ...
1
vote
3answers
343 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
0answers
38 views

OOM Issues with FastCGI - FastCgiServer config getting ignored

I'm using apache2 with mod_fastcgi to run PHP on a private shared server. I have combined this with suexec so I can run each virtual host as it's own UNIX user, keeping Wordpress owners happy. One ...
1
vote
2answers
448 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
2answers
65 views

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 ...
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 ...
15
votes
1answer
65k views

Can't start php-cgi.exe - MSVCR110.dll is missing [closed]

Trying to setup nginx and php on my Windows machine, but every time I try to start php-cgi.exe I get a system error. The program can't start because MSVCR110.dll is missing from your computer. ...
0
votes
1answer
110 views

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 ...
0
votes
0answers
47 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 ...
0
votes
1answer
210 views

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 ...
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
318 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 ...
0
votes
2answers
923 views

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 ...
1
vote
1answer
616 views

Multiple PHP versions running as cgi

I'm trying to install a second version of PHP, to run alongside the current version of php. I've compiled the latest php source from github (5.5-DEV), and I'm trying to run it as CGI. Here is my ...
1
vote
0answers
191 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 ...
4
votes
2answers
540 views

How to prevent Apache from prepending REDIRECT_ to environment variables when running php as CGI?

I've been using MediaTemple's GridService as a production environment for a couple of relatively lightweight PHP sites. The process of setting up testing and staging environments is kind of ...
1
vote
2answers
3k views

php-cgi cpu usage is super high

I am getting constantly high and wildly fluctuating CPU usage % for php-cgi commands as seen via "top" on my Centos server.. I have a server density account and it seems that this is a common trend: ...
3
votes
1answer
331 views

apache2 how to trace caller of SIGTERM

I have a dex x64 on a virtualbox win7pro host. My apache2 will stop responding after a page request or other activity such as upload via ftp. The php.cgi becomes non responsive and a restart is ...
2
votes
1answer
193 views

Does PHP-CGI security issue (CVE-2012-1823) affect PHP running as regular users with mod_fcgid?

Does this PHP-CGI security issue (CVE-2012-1823) affect PHP when it's running under individual regular-user accounts with mod_fcgid? The wrapper .fcgi script I've been using is: #!/bin/bash ...
0
votes
1answer
176 views

How to know what .php scripts are eating debian memory?

We have apache2 web server installed with php in fastcgi Action application/x-httpd-php "/cgi-wrapper/fastcgi-wrapper" <Location /cgi-wrapper/fastcgi-wrapper> Options +ExecCGI ...
1
vote
0answers
465 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
1answer
3k views

Can I limit the number of php-cgi.exe that run per website on IIS 7?

I wasn't sure which was best to post in so I posted here and on http://webmasters.stackexchange.com I will delete the other if this post is more relevant here. I'm having a slight issue with memory ...
1
vote
2answers
2k views

How to effectively have less php-cgi processes running?

My server is a Linode 512, and on it I run a Wordpress MU with 3 websites (they don't get a lot of visitors) and a couple of NodeJS apps. I need to switch to Lighttpd because Apache 2 was using about ...
1
vote
2answers
3k views

How do I install PDO and GD for php-cgi

I have PHP 5.3.6 and I use ubuntu. How can I enable/install PDO and GD Extensions. I have already tried installing php5-mysql and php5-gd. I have also tried adding this into my php.ini: ...
0
votes
1answer
320 views

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 fastcgi: ...
1
vote
2answers
722 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
634 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
683 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

php-cgi shows mysql modules but throws “Call to undefined function mysql_connect()” error

I have compiled PHP 5.3.6 from source on Mac OS X 10.6 using the --with-mysqli=mysqlnd option. The output of both php -m and php-cgi -m show the mysqli and mysqlnd modules. When I run a simple test ...
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
496 views

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 ...
0
votes
1answer
760 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
2answers
933 views

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 ...
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
vote
1answer
164 views

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 <number> (). This means there was a problem with the program, such as a ...
-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 ...