The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
0answers
9 views

SELinux - FCGID program being blocked and no log on /var/log/audit/audit.log

I have a setup where a certain link on my Web Server is redirected to a FCGID module. When I disable SELinux with 'setenforce 0' the site works. When I enable it won't work, it gives me a "Error 500 -...
0
votes
0answers
26 views

Apache-2.4.18 doing graceful restarts at random

First: This is not my server, I am very new to this stuff and I did not set it up. The server is running whm and cpanel. There are about 9 websites hosted on this server. Some of it is magento. It is ...
0
votes
1answer
86 views

Fix PHP error Invalid argument supplied for foreach() after update PHP & Mysql

I have updated PHP from 5.3 version to PHP 5.6.21 (mod_fcgid) on my CentOs 6.5 vps. The vps holds 4 Prestashop and almost works but cart doesn't work as expected. The php error log contains this ...
0
votes
1answer
27 views

fcgid configuration breaks Apache

I'm trying to include the following block of code on my site in order to run a fast-cgi script: # Create a directory for the iipsrv binary ScriptAlias /fcgi-bin/ "/home/USERNAME/SITENAME/fcgi-bin/" #...
1
vote
0answers
216 views

httpd does not work with mod_fcgid

based on the answer here, centos does not have a mod_fastcgi rpm, but a mod_fcgid could be used for most similar purposes. http://stackoverflow.com/questions/12005137/centos-mod-fastcgi Therefore, I ...
0
votes
0answers
105 views

mod_fcgid: error reading data from FastCGI server

This is my first post here although I often do search and find answers here. This time I've spent a couple of days searching various sites but unfortunately none of the answers in other threads helped ...
1
vote
0answers
55 views

FastCGI and tmpfs

I read some articles about using tmpfs for /tmp and PHP sessions directories for better performance, and it sounds interesting. I'm using Centos 6 server with LAMP stack (+FastCGI) and in my fcgid....
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: ...
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
181 views

moved to new server - 408 request timeout increase

I just moved a few websites to a new server Apache/2.4.7 - Ubuntu 14.04 SPDY is enabled, I use fcgi_module for PHP as recommended. I don't know if that is relevant, since it is the same configuration ...
1
vote
0answers
30 views

100% CPU usage with [duplicate]

My server is having a problem with high cpu usage and 503 error occured all the time for a certain domain which is being hosted on my server together with other websites. The other websites on the ...
-1
votes
2answers
3k views

Increasing FcgidMaxProcesses does not help to solve “mod_fcgid: can't apply process slot” error

I have a dedicated apache server with high resources. RAM - 64GB Cores - 20 with CentOS 6.7 x64 and Image - FCGI statistics with phpinfo I run Magento application with MySQL as database ...
1
vote
0answers
100 views

apache suexec + php + fcgid does not log errors

Strangely my apache does not log errors anymore ever since I managed to enable fcgid and suexec for php processing. Even simple files with only <? dwakdnawjkdn(); ?> won't create any error, even ...
1
vote
1answer
3k views

End of script output before headers: php5

I've inherited the sysadmin role on a server that's running a wordpress website on top of Apache 2.4/Debian. It almost works, but it is issuing "500 internal server error" from time to time. In my ...
1
vote
0answers
458 views

File permission problems with Apache, FastCGI, and Prestashop

I am running a Prestashop installation on CentOS 6.5 and Apache 2.2.15. A while back I updated Apache and lost the ability to upload product images via Prestashop backoffice along with other problems, ...
0
votes
1answer
374 views

php with fcgid not working anymore after upgrade to wheezy

I have some issues with a server that I have recently upgraded from Debian Squeeze to Debian Wheezy. When I call a php-page only the php-source-code of the page is beeing show but not interpretated ...
4
votes
2answers
1k views

mod_fcgid: can't apply process slot after software upgrade

I'm on a shared hosting plan with a Wiki and a Bulletin Board installation. After upgrading the Wiki to the latest release my users are not able to upload files with the integrated "media manager" ...
0
votes
0answers
350 views

Debian's apache configuration. fcgid or proxy fastcgi + php fpm

I'm trying to figure out, what would be better solution. I have a server with arout 10 vhosts. Now, its configured like in this tutorial: http://www.howtoforge.com/how-to-set-up-apache2-with-mod_fcgid-...
0
votes
2answers
5k views

Internal Server Error and process graceful kill fail

Internal Server Error is registered in browser, in apache error log file I can only see the following warn thrown in same time: [warn] mod_fcgid: process XXXXX graceful kill fail, sending SIGKILL ...
0
votes
0answers
208 views

Interpreting mod_fcgid in log file

I am getting a 500 error occasionally, and it is becoming more frequent. Looking in the apache error log, I find the following. Can someone point me in the right direction as to discovering the cause ...
0
votes
2answers
290 views

“Server too busy” after moving to fcgid

I was previously using mod_fastcgi and had issues as described here with configurations getting ignored. After moving to mod_fcgid, I've seen a whole new issue which is causing issues for all sites ...
1
vote
1answer
1k views

Apache2 + mod_fcgid + php stopped working after upgrade from Debian squeeze to wheezy

I've updated my server from Debian squeeze to Debian wheezy. On this server are several apache2 vhost which running php via mod_fcgid (I'm also using mod_suexec but this shouldn't be the problem). ...
3
votes
1answer
1k views

Getting PHP to work with SPDY?

I recently switched my site over to using HTTPS in all the URL's. (My post here) I am running Apache with PHP on Ubuntu 12.0.4 I was told that I should install the Apache module for SPDY since I ...
0
votes
0answers
167 views

Apache, FCGI, and Java setup

I have a Java program that I'm trying to access through my Apache 2.4.7 webserver locally. At first I had it set up as a reverse proxy using mod_proxy_fcgi whereby I would have to start the webserver ...
1
vote
1answer
133 views

apache2 with mod_fcgid randomly hangs

I have had this config running on ubuntu 11.10 for more than one year. I had to move the service to a larger server, so I made a complete copy of the os disk with clonezilla and restored it to the new ...
0
votes
1answer
1k views

Service httpd is failing to start - fcgid can't create shared memory

I'm not sure why, but when I try to start the httpd service, it will not start. Server config: OS: CentOS 5.10 PHP: 5.5.7 Apache: 2.2.3 Here's how I found out what was going on: $ sudo service ...
2
votes
2answers
514 views

Apache: orphaned fcgi php processes

We have a webserver with apache 2.2.14, PHP 5.3.2. PHP is executed using mod_fcgid (see bottom). Everything works fine but sometimes, and we still have to figure out what triggers this, when php ...
0
votes
1answer
345 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
1answer
386 views

Several Server Errors (No database connect, can't create TCP/IP socket etc

My server stops taking requests on my website today. It works for some time, but then the server just stops working and throws several errors: 500 Internal Server Error Warning: mysql_connect(): Can'...
2
votes
1answer
12k views

Setting up Apache 2.2 + FastCGI + SuExec + PHP-FPM on Centos 6

I'm trying to follow this very detailed instruction here, I simply changed from www-data user to apache user, and is using /var/www/hosts/sitename/public_html instead of /home/user/public_html ...
0
votes
1answer
266 views

mod_fcgid error - unable to connect to server

Sometimes when there's higher traffic on my website, the server randomly stops doing anything and sends 500/503 errors for a few seconds or even minutes. The Error log shows the following message ...
2
votes
3answers
10k views

libapache2-mod-php5 uninstalled after update impossible to put back

I use Webmin to administrate my Ubuntu 12.04 x86_64 machine. Yesterday, as often, I got notified of updates and installed them. During the installation process, libapache2-mod-php5 has been ...
0
votes
1answer
43 views

PHP and FCGID goes away for alsmot 1 minute every hour

I'm running an apache2 server on Debian 7 Php files are handled by fcgi. After a migration of server all is working fine. But alsmost every hour the serveur doesnt answer to http requests (http ...
1
vote
1answer
766 views

trac: “Internal server error (500)” with mod_fcgid and mod_suexec

I try to setup Trac on a shared server with shell access, SW is Trac 1.0.1, Python 2.6.6, Apache 2.2.15 with mod_fcgid and mod_suexec. I've set it up following the instructions from the wiki of my ...
0
votes
2answers
535 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 extension=...
0
votes
1answer
541 views

Setting an Fcgid Directive produces an Invalid Command error

I'm trying to set the MaxRequestInMem, MaxRequestsPerProcess and MaxRequestLen but it keeps on saying that it's an Invalid command 'MaxRequestInMem', perhaps misspelled or defined by a module not ...
3
votes
1answer
3k views

How to find out the current setting for FcgidMaxProcesses on Apache?

While asking this question, I feel that it may be dumb - but I have no idea at the moment... How to find out the current setting for FcgidMaxProcesses on Apache? Background I experienced the ...
1
vote
1answer
971 views

mod_fcgid error after upgrading from PHP5.3 to 5.4

I just made an upgrade from PHP 5.3 to 5.4 via dotdeb.org sources. After that, I get errors on vhosts with active FastCGI-Application. [Mon May 20 21:05:15 2013] [warn] [client xxx.xxx.xxx.xxx] (104)...
0
votes
2answers
1k 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 ...
7
votes
1answer
1k views

1GB VPS - Apache Worker MPM - FCGID - Max concurrent connections - RAM CAP

I have spent a week or two researching and setting up my server to run Apache with the Worker MPM and FCID. I am trying to optimize it to allow for the most concurrent connections possible. It has ...
1
vote
1answer
186 views

When getting “Premature end of script headers” in Apache error log, is it possible to also log the GET arguments sent to the script?

I have a single PHP script on a fairly high traffic server that is throwing off a lot of errors of this sort: (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server ...
0
votes
1answer
145 views

running .html as .php

How do I edit my .htaccess file using mod_fcgid to turn .html files to act as .php I tried: AddHandler fastcgi-script .html Did not work. I am using cpanel and using php 5.3 and apache 2.2.
0
votes
1answer
743 views

mod_fcgid error tied in with server lagg?

im relatively new to running my own server and my host don't seem to be giving me up advice or help on the matter either. I run a very popular website and after doing some twitter and fb posts to ...
-3
votes
1answer
145 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: /opt/...
0
votes
1answer
6k views

Connection reset by peer: mod_fcgid: error reading data from FastCGI server Issues

Help is greatly needed for our server. We are experiencing random "Connection reset by peer: mod_fcgid: error reading data from FastCGI server" errors which cause a 500 internal server error. If the ...
1
vote
0answers
636 views

Enabling mod_fcgid results in 403

I have an EasyPHP 12.1 setup (latest) on Windows 7x64 and I'm trying to enable mod_fcgid for PHP. I have added the following in my httpd.conf Include conf/extra/httpd-vhosts.conf LoadModule ...
0
votes
3answers
204 views

Preventing error_log flooding

Is there a way to have httpd/php stop logging errors if they are repeating over and over again to prevent flooding? Currently the /usr/local/apache/logs/error_log file is getting flooded and would ...
0
votes
2answers
7k views

Apache: graceful kill fail, sending SIGKILL. How much is too much?

On Apache/2.2.15, is it normal to have one or two "[warn] mod_fcgid: process XXXXX graceful kill fail, sending SIGKILL" per day? After all it's a warning, not an error. Thanks
2
votes
1answer
2k views

lighttpd: Backend is overloaded + fcgi-server re-enabled + all handlers are down

We have a standard lighttpd deployment with PHP-CGI and our error logs are flooding with the following. This is causing a huge problem because we keep returning 500's to our clients: 2012-10-14 14:28:...
0
votes
1answer
601 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] [...