The tag has no usage guidance.

learn more… | top users | synonyms

-1
votes
2answers
251 views

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, ...
0
votes
1answer
95 views

nginx fastcgi caching - multiple different expire times

I need to set up NGINX so that different locations would have different expire times for caching and some would have caching disabled. This is my current setup: fastcgi_cache_path /etc/nginx/cache ...
0
votes
1answer
2k views

Secure PHP on IIS 8.5

I'm using IIS 8.5 on Windows Server 2012 R2 to host ASP.NET and also PHP-Applications. Because there are a few different PHP-Apps, I want to restrict the access by using open_basedir. The problem: ...
0
votes
1answer
298 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 ...
0
votes
1answer
190 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 ...
0
votes
1answer
481 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
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 ...
2
votes
0answers
721 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 ...
2
votes
0answers
265 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
56 views

Simultaneously enable gzip and $STR_REPLACE in CGI in apache

I have a code in my CGI script for text replacement (for example replace 'red' with 'blue') $STR_SEARCH='red' $STR_REPLACE='blue' I am using the below code in .htaccess for enable replace function: ...
1
vote
0answers
522 views

nginx: An existing connection was forcibly closed by the remote host

I am running nginx on Windows Server 2008 R2 and it seems to be crashing, it also uses php-cgi with it and the php-cgi is part of the problem. After about 30 seconds of being on the page php-cgi ...
1
vote
0answers
63 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
0answers
588 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 ...
0
votes
0answers
132 views

Different PHP version for a VirtualHost with Apache mpm-itk

I am using the Apache module mpm-itk and I'm trying to change the PHP version for one VirtualHost. Is it possible? How would be the right configuration for the Apache's VirtualHost section? I tried ...
0
votes
0answers
102 views

Php-Cgi Causing high disk i/o

I have noticed that php-cgi is a top process on my server and its causing very high hard disk utilization, how can i tune php-cgi to utilize less of the hard disk. my server has both apc and ...
0
votes
0answers
69 views

Php5-cgi, 503 error or DDoS attack?

I am trying to figure out if these things are connected. Until yesterday I had some CPU/RAM spikes on random times that could last for hours/days all connected with 30-40 php5-cgi processes being run ...
0
votes
0answers
256 views

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% ...