The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
2answers
80 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
3k 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
1answer
252 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
186 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
380 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
575 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 ...
1
vote
0answers
50 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
228 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
520 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
77 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% ...
0
votes
0answers
61 views

Run php as CGI with Apache 2.4 on Debian returns not found error

I am trying to run php build from source as CGI. I've added this to apache config ScriptAlias /cgi-bin/ /usr/share/php54/bin/ AddHandler handle .php Action handle /cgi-bin/php-cgi virtual ...
0
votes
0answers
161 views

How to configure apache + php-cgi on CentOS?

I have a Cent OS 6.6 server with Apache + mod_php site (site1.local). I need to configure second site (site2.local) with php_cgi. So, I created a user, gave him permissions on www-folder, configured ...
0
votes
0answers
77 views

php-cgi.exe on IIS crashes when server idles

php-cgi.exe on IIS crashes when server idles. There are no application or php error logs. There are no HTTP request when the process crashes. The process is crashing about 5 times a day. There is no ...
0
votes
0answers
201 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 ...
0
votes
0answers
58 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
89 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 ...