0
votes
1answer
128 views

Apache FastCGI for PHP—increase resources

I would like to install a php based webapp on my server but during the install I get a »500 Internal Error«. On my search through the web I could figure out that this happens because the setup of my ...
0
votes
2answers
139 views

PHP extension is not loading when running fcgid

I need to use the libpuzzle extension for PHP, and so far I failed to make it run with fcgid. I have installed it (manually, unfortunately, because of the dependency issues) and added the ...
0
votes
2answers
412 views

FCGI and upload_tmp_dir PHP directive are not working correctly

I run PHP as FCGI! I'm setting upload_tmp_dir option as value /home/domain.com/tmp. When executed phpinfo() for double-check it's confirmed that the settings above are correct. Nevertheless, when ...
-3
votes
1answer
108 views

weird php .so error [closed]

Do I need to recompile or rebuild or something? I never had this issue before. /usr/bin/php: /opt/xml2/lib/libxml2.so.2: no version information available (required by /usr/bin/php) /usr/bin/php: ...
0
votes
1answer
297 views

mod_fcgi produces random 500 Errors

php 5.4.7 via mod_fcgi when I run the site sometimes it works, sometimes it crashed with 500 Internal Error, this is what I see in error.log everytime I run the script [Mon Sep 24 18:50:43 2012] ...
0
votes
1answer
559 views

PHP-APC Installation

Trying to get my head around the way to install APC cache on PHP 5.3.13. That's a VPS with apache, configured preferably through whm/cpanel (although not only). I read a bunch of articles where it ...
1
vote
2answers
2k views

500 errors when switching to fcgi in cPanel WHM

I am trying to switch to fcgi from DSO on a CentOS 5.7 x64 server. I did this within cPanel as suggested by the cPanel documentation. Immediately, I start to get 500 internal server errors when ...
0
votes
1answer
344 views

How to I track how many php-cgi processes are in use

I'm running apache 2.2 with PHP 5.2 in FastCGI mode with mod_fcgid. The platform is RedHat Enterprise Linux 5.5 x86_64. I have my minimum and maximum fastcgi slaves set to 35. How do I track how many ...
3
votes
2answers
2k views

A single php-fastcgi process blocks all other PHP requests

I've recently switched to a FastCGI setup for PHP (Apache2-worker and mod_fcgid). However, when a single PHP script is very busy, it seems to block all other PHP requests. What would be wrong with my ...
1
vote
1answer
182 views

Apache with PHP configured as FastCGI and scripts without suffix

I have working FastCGI PHP inside Apache using mod_fcgid. But I noticed that PHP scripts are executed even without .php suffix specified. Eg: if file is mail.php then http://example.com/mail.php and ...
1
vote
3answers
2k views

Why is my apache2, mod_fcgid, php configuration causing 100% cpu usage?

Page load makes a quick initial connection, then hangs about 10 seconds before the page renders. When the server load goes up I start watching top & I see that both CPUs get pegged at times to ...
0
votes
1answer
484 views

FastCGI + Apache: How to map a url to a specific fastcgi binary

I have written two C++ fastcgi applications (foo and foobar). I am running apache 2.2 (prefork) with mod_fcgid on Ubuntu 10.x. I want to be able to setup apache so that: ...
1
vote
1answer
1k views

How to setup Apache 2.2 (prefork) with mod_fcgid to test a C++ application?

I have written my first fastcgi application (C/C++), and I need to test it to ensure that it is behaving the way I expect it to. I have searched for examples on setting up Apache 2.2. with mod_fcgid, ...
1
vote
1answer
715 views

mod_fcgid, perl script output going to apache error_log

I'm trying to get an old Perl script running again after installing mod_fcgid. I had to install mod_fcgid for a new client, but it seems to have broken some of my other cgi scripts. When going to ...
1
vote
2answers
535 views

Apache ignoring extension and executing other files through fastcgi

I've got a problem with configuring apache to run only files with .php extension through FastCGI. Sample VirtualHost configuration : <VirtualHost 192.168.0.185:80> ServerName ...
0
votes
1answer
2k views

Apache + mod_fcgid + perl = error 500

I'm trying to setup Apache2.2 with mod_fcgid and libapache2-mod-perl2 with no luck. I've created a fcgi-bin directory in the root directory of my website and put there a test.fcgi file with the ...
0
votes
2answers
478 views

CherryPy (or other Python framework) with FastCGI on shared host

I am trying to configure the Python mini-framework CherryPy with FastCGI (actually fcgid) on Apache. I am on a shared host, so I don't have access to httpd.conf, just htaccess. I have followed these ...
0
votes
1answer
2k views

mod_fcgid + Python + Apache 2.2 / RHEL 5 : output to error_log, not browser

I'm trying to get a Django + mod_fcgid setup working (mod_wsgi is tricky as I have a statically-linked Python. Don't ask.) While this was trivial on my Mac OS X development box, getting it running on ...
3
votes
1answer
4k views

mod_fcgid process doesn't respawn

I have a Python script running on my server as a FastCGI using Apache2 and mod_fcgid. I let it spawn up to five processes. But I soon get messages like these in the Apache logs: [Wed Sep 02 23:16:34 ...