The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
2answers
1k views

How to create a very simple external FastCGI configuration in apache?

I have an externally started FastCGI application that listens on socket '/tmp/foo.sock' and a directory of static files in '/srv/static'. Apache has all needed permissions on the socket and the ...
0
votes
2answers
1k views

PHP-FPM not working on Apache2 (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] ...
11
votes
2answers
23k views

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 ...
1
vote
1answer
1k views

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] ...
2
votes
0answers
96 views

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: <FilesMatch \.php$> SetHandler ...
0
votes
0answers
175 views

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 ...
0
votes
0answers
44 views

Location directive not working when using php-fpm (via mod_fastcgi)

I've configured a virtualhost which should be completely restricted with a SSL client certificate, except one location (/Public). My configuration in my virtualhost: <Location ~ ^/(?!Public)> ...
0
votes
1answer
116 views

How to configure Apache to use mod_fastcgi and php-fpm?

Now I am running Apache to serve php files using mod_php. Will I get a performance enhancement while running PHP in fastcgi mode? There are two virtualhosts on this server for now. I followed this ...
1
vote
0answers
368 views

APC using mod_fastcgi only caching apc.php

I'm on Debian 6.06, using Plesk 11.09, with Apache2 and nginx as reverse proxy. I'm trying to setup the APC, but it seems not to work properly. The APC Webinteface, apc.php, tells me, that APC is ...
-4
votes
1answer
3k views

CentOS 7 apache2 httpd + mod_fastcgi installation impossible

Has anyone tried to install mod_fastcgi on CentOS7/httpd yet? Since it's not in the epel or fusion repos, I tried the el6 rpm, which wasn't working (httpd said: Cannot load modules/mod_fastcgi.so ...
0
votes
0answers
19 views

Python on IIS 7.5 - resource implications

I have a task which python is a perfect fit for : periodically (every 5min or so) manipulating a series of small, utf8 text files (20-30 files, sized between 100kb and 500kb but strictly never ...
2
votes
0answers
330 views

Error with FastCGI install on CentOS 6.5

I'm trying to setup FastCGI but keep getting the following error message: Installing : mod_fastcgi-2.4.6-2.el6.rf.x86_64 Non-fatal POSTIN scriptlet failure in rpm package ...
3
votes
1answer
856 views

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": ...
0
votes
1answer
153 views

installed libapache2-mod_fastcgi on debian 7 - no php5-fcgi file

So I install Apache2 worker with libapache2-mod-fastcgi (non-free) on my Debian server. I found this snippet from the web, however, I don't have anything in my /usr/lib/cgi-bin/ folder. So how is my ...
0
votes
2answers
4k views

Setting up HHVM for apache2.2 with mod fastcgi in a virtual host

I want to setup a virtualhost running HHVM to try out the new "Facebook Hack" language. I followed the instructions here on Apache 2.2: https://github.com/facebook/hhvm/wiki/FastCGI currently hhvm is ...
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
472 views

HHVM through Apache mod_fastcgi on debian

I've been able to rather easily get facebooks hhvm working from prebuilt debian packages as well as compile it, and afterwards to run it behind apache as a proxy. The problem with the proxy setup is ...
0
votes
2answers
832 views

Apache 2.4 + PHP-FPM + mod_fastcgi (Problems setting up PHP-FPM)

I have been trying to get PHP-FPM to work with Apache 2.4, but mod_fastcgi does not work with 2.4. Is there any solution to this problem? I want to run it using an UNIX socket, but I cannot find any ...
0
votes
1answer
183 views

mod_fastcgi not working with <IfModule…> and php-fpm

In the primary httpd.conf file I have the following for loading the fastcgi module: LoadModule fastcgi_module modules/mod_fastcgi.so In a different file for vhosts I have the following: ...
1
vote
1answer
2k views

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

Deploying a FastCGI application

I'm trying to deploy my Wt application with Apache and FastCGI. Here's my config file: <IfModule mod_fcgid.c> NameVirtualHost *:9091 <VirtualHost *:9091> DocumentRoot ...
1
vote
1answer
429 views

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 ...
1
vote
1answer
1k views

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: ...
1
vote
7answers
2k views

mod_fastcgi installation error

I've compiled Apache 2.4.2 successfully, but I'm facing an error while trying to compile mod_fastcgi module. Any tips? root@local:/usr/src/libapache-mod-fastcgi# /usr/local/apache2/bin/apxs -o ...
2
votes
1answer
720 views

PHP-FPM not working as global PHP handler on Apache, CentOS 6.4

I'm trying to switch PHP handler on my server from mod_php to PHP-FPM. But something with my setup is worng. When I'm trying to open server.com/info.php, it's being opened as standard text showing ...
0
votes
1answer
148 views

mod_fastcgi.so + FCGI (perl) make 500 error with graceful restart on apache 2.2

We'd like to construct a perl (FCGI) application on apache2.2 with mod_fastcgi.so but it makes 500 error when I graceful it. Do you have any idea or solution for it? LoadModule fastcgi_module ...
0
votes
1answer
572 views

Web site - delay under Apache 2.4.4 x64 FastCGI

I'm running a VPS server under Windows 2008 R2 x64 as a web server. I Was running Apache 2.2 x86 / Php 5.3.1 handle with the standard php5_module And I made an upgrade to Apache 2.4.4 x64 / Php ...
0
votes
1answer
158 views

Nginx not parsing php when using try_files

I am basically trying to implement the Apache MultiViews behaviour so that my URLs do not require the .php extension. As far as I can see from other questions answered here on Server Fault, I should ...
1
vote
0answers
504 views

Should I use mod_fastcgi or mod_fcgid for PHP and Django?

I would like to use FastCGI to host the program, what are the differences between mod_fastcgi and mod_fcgid? How to decide which to use?
1
vote
2answers
353 views

FastCGI on lighttpd no data received

I have a simple FastCGI script: public static void main (String args[]) { int count = 0; while(new FCGIInterface().FCGIaccept()>= 0) { count ++; ...
0
votes
1answer
43 views

System administration problems

I recently had a problem with a dedicated server (LINUX) where the file system went read-only. Recent modifications include installation of fcgid using PHP 5,2 on certain <VirtualHost> ...
0
votes
1answer
727 views

Apache + PHP via FastCGI

I'm running into some problems while attempting to run PHP via FastCGI in Apache. I have the FastCGI module loaded, but get the following error when attempting to load a page: The requested URL ...
0
votes
3answers
5k views

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 ...
1
vote
1answer
4k views

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 ...
0
votes
1answer
423 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
3k views

Apache mod_fastcgi

i am trying to configure an apache2 server with mod_fastcgi on solaris 10 so far i have everything installed using CSW here is my virtual host configuration <VirtualHost X.X.X.X:80> ...
1
vote
0answers
273 views

Lighttpd mod_accesslog not logging fastcgi requests

I have recently installed a lighttpd for serving a python script via mod_fastcgi. Everything works fine except that I don't get the requests handled by mod_fastcgi logged in the access.log file ...
2
votes
3answers
8k views

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 ...
1
vote
1answer
647 views

trying to “setup apache fastcgi”

my system is: wx3# uname -a FreeBSD wx3 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 wx3# packages ...
3
votes
4answers
4k views

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

Can't configure trac to work with Apache2

I've been trying to set up trac to be deployed with apache for a little while now and I'm running into a wall. This is the response I'm receiving from my server Internal Server Error The server ...
0
votes
2answers
2k views

CentOS 5.5 , Apache2.2, PHP 5.2.14, Fastcgi 2.2-4 and 5xx Errors

I am running the version of softwares mentioned in subject. Apache was installed from standard centos repo, fastcgi was install from http://centos.karan.org/kbsingh-CentOS-Extras.repo and PHp was ...
2
votes
2answers
4k views

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, ...
1
vote
1answer
7k views

Make PHP FastCGI process write to a specific error log?

I have a server running Lighttpd with three user's serving domains from it. Each user gets their own PHP FastCGI process for serving PHP content across all of their domains. Lighttpd allows me to ...
0
votes
2answers
3k views

Virtualmin: “PHP execution via fcgid requires the Apache mod_fcgid module”

I have a CentOS server with Virtualmin on it. I have configured PHP the way I want it, using Apache mod_fastcgi. However, when I click "Re-check Config" in Virtualmin, I get PHP execution via fcgid ...
2
votes
1answer
3k views

suexec and docroot problem

I've got a problem with running a FastCgiServer under apache2. When I define a virtual host with a static fcgi server configured, I get an error from suexec: command not in docroot ...
1
vote
2answers
7k views

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 ...
1
vote
1answer
851 views

What's the difference between FastCGI “static” and “dynamic” applications in terms of performance and stability?

I'll like to know what are the things to consider when choosing between configuring an app as static or as dynamic in an Apache 2 server that uses mod_fastcgi. The app is a typical reporting app ...