Questions tagged [mod-fastcgi]

60 questions
14
votes
2 answers

How to enable error log in lighttpd properly?

I have a Centos 5 system with Lighttpd and fastcgi enabled. It does log access but does not log errors. I have Internal Server Error 500 and no info in log and when I try to open not -existing file also - no info in error log. How to enable it…
10
votes
2 answers

Is it possible to have a fastcgi_cache_path for each website / virtual host?

I am using the following config on my http block on nginx.conf: fastcgi_cache_path /var/www/nginx_cache levels=1:2 keys_zone=NGINXCACHE:500m inactive=60m; fastcgi_cache_key "$scheme$request_method$host$request_uri"; fastcgi_cache_use_stale error…
ddutra
  • 243
8
votes
4 answers

PHP-FPM Failed to connect to FastCGI server

Error log: [Sat Nov 22 05:24:41 2014] [error] [client xx] (2)No such file or directory: FastCGI: failed to connect to server "/usr/lib/cgi-bin/php5-fcgi": connect() failed [Sat Nov 22 05:24:41 2014] [error] [client xx] FastCGI: incomplete headers…
Shane
  • 261
  • 2
  • 4
  • 8
5
votes
1 answer

Apache and multiple PHP-FPM pools

I have two sites that I run from apache 2.2 vhosts with PHP-FPM 5.4 on Ubuntu 12.04. Until now I've been using a server-wide (stock) mod_fastcgi config, but now I want to split this into two FPM pools so that I can use different PHP settings for…
Synchro
  • 3,339
  • 6
  • 30
  • 40
5
votes
4 answers

cant install fastcgi ubuntu server: Package libapache2-mod-fastcgi is not available

When i try to install fastcgi in ubuntu server 12.04 I get the following error: sudo apt-get install libapache2-mod-fastcgi Reading package lists... Done Building dependency tree Reading state information... Done Package…
brpaz
  • 179
  • 1
  • 2
  • 9
5
votes
3 answers

FastCGI and Apache 500 error intermittently

I have a FastCGI (mod_fastcgi)problem. It happens every once in a while, and does not casue a complete server meltdown, just 500 errors. Here are a couple things. First I am using APC so PHP is in control of it's own processes, not FastCGI. Also, I…
4
votes
1 answer

Enable FastCGI on Apache with Puppetlabs/Apache

I'm using Puppetlabs/Apache to configure Apache. In the main puppet file, I call and configure it: class { '::apache': } class { '::apache::mod::fastcgi': } apache::vhost { "${::fqdn} non-ssl": servername => $::fqdn, port =>…
kaiser
  • 1,241
4
votes
1 answer

Lighttpd won't start when fastcgi.debug directive is used

I'm running lighttpd/1.4.28 (ssl) on Ubuntu 12.04 LTS. Everything's working, and I'm trying to do some performance tuning. I'd like to enable debug mode for the fastcgi module, however when I add the directive fastcgi.debug to my conf file,…
Alan
  • 541
3
votes
1 answer

Major differences between mod_fastcgi and mod_proxy_fcgi

I noticed there are a couple of modules for Apache that provide FastCGI support. The two most popular seem to be mod_fastcgi and mod_proxy_fcgi. There seem to be other ones as well. My questions are: Which of these module are the most…
3
votes
4 answers

Why does mod_fastcgi in Apache complain that it does not have permission to create server?

This is a very old FastCGI issue but I have never found a satisfactory answer. Searching the phrase "(13) permission denied fastcgi can't create server" on Google will show that there's a lot of people experiencing this issue for a long while. Some…
GeneQ
  • 407
3
votes
2 answers

How to set up apache with fastcgi and a simple test script?

It's been a few days that I'm trying to set up fastcgi with apache on a Kubuntu server. Despite searching everywhere, I cannot make it to work. If I try to run the site with the cgi application, apache hangs and after the timeout returns a 500…
augustin
  • 395
2
votes
2 answers

Disable the timeouts on apache httpd and fastcgi

A debian lenny server, running apache httpd 2.2.11 and fastcgi, kills requests when they take more than a certain amount of seconds. I want to disable this timeout to enable me to debug an application that is launched using fastcgi. I've searched in…
Kknd
  • 123
2
votes
1 answer

CentOS 7 / Apache 2.4 / FastCGI Configuration

Does anyone know how to properly configure PHP/FastCGI on a CentOS 7 machine using Apache 2.4? In the Apache Virtual Host config file, I have this: SetHandler "proxy:fcgi://127.0.0.1:9000" It works but only…
marp
  • 23
  • 1
  • 1
  • 4
2
votes
0 answers

Apache + Event_MPM + FastCgiExternalServer + php5-fpm : php-fpm hangs emergency_restart_threshold does not reset

Sorry if this seems rambled. I have been trying to troubleshoot / solve this for the past 20 hours straight, while having to babysit the server and restart php5-fpm every time it goes down. I imagine there is an underlying problem with a plugin…
Mark1270287
  • 121
  • 1
  • 4
2
votes
1 answer

mod_fcgid: can't apply process slot for /var/www/cgi-bin/cgi_wrapper/cgi_wrapper

My Wordpress blog site has generally 200 users per minute but under 1000 users per minute load my site gets very slow and this warning appears in my error_log. [Sun Aug 17 16:44:41 2014] [warn] [client **.***.**.***] mod_fcgid: can't apply process…
NecNecco
  • 231
1
2 3 4