Questions tagged [fastcgi]

FastCGI is an open interface web servers can use to execute applications in a secure and isolated manner.

FastCGI is an open interface web servers can use to run applications as separate isolated processes. It is an enhancement of the original NCSA CGI interface specification, with a range of improvements. The primary improvement over the standard CGI approach offered by FastCGI is performance, hence the name.

FastCGI is supported by a broad range of Web Servers (such as Apache, nginx, lighttpd).

730 questions
1
vote
2 answers

Nginx closes connection while PHP-Fpm is processing

I have a PHP script that does some data processing. The time that it takes to the script to finish all the job is based on the user input. It's not unusual that it takes 5-15 minutes of processing. On apache everything works fine, however on Nginx…
tounano
  • 221
  • 3
  • 8
1
vote
1 answer

apache crash and mod_fcgi error

Apache crash with the following error : mod_fcgid: can't apply process slot for /usr/local/cpanel/cgi-sys/php5 mod_fcgid: /usr/local/cpanel/cgi-sys/php5 spawn score 10 >= 10, skip the spawn request mod_fcgid: too many /usr/local/cpanel/cgi-sys/php5…
Linux Intel
  • 183
  • 2
  • 3
  • 16
1
vote
2 answers

PHP on Windows as Fast-CGI (IIS vs Apache)?

We currently have a Windows web server. It's running Apache and PHP as a module. The server itself is a beast but PHP performs poorly in a Windows environment when installed as an Apache module and we're experiencing this first hand. Anyway, this…
Ryan Mortier
  • 498
  • 3
  • 8
  • 19
1
vote
3 answers

Caching: Varnish vs fastcgi_cache on Nginx in a multiple websites envirnment

I have a setup of a VPS with several websites. Some of the websites are WP websites and some of them are other dynamic websites. I'm interested in adding a sort of reverse proxy/caching layer. However I don't want to cache all the websites... I've…
tounano
  • 221
  • 3
  • 8
1
vote
3 answers

How to tell: Is it nginx or PHP-cgi which is slower?

I run a website with a lot of traffic. I'm using nginx and php fast-cgi. However, when loading simple php documents in the browser, it takes up to 5-6 seconds before the page is loaded. Sometimes it even just results in a "404 not found" nginx…
1
vote
1 answer

"no input file specified" with apache/php after recompile

I have CPanel and I recompiled php to 5.3.13 and im getting "no input file specified" on sites like vB and MyBB running in fcgi and suEXEC (same mode as before). on build I have checked: Mod SuPHP Mod FCGID MPM Prefork as far as i know when i did a…
Tiffany Walker
  • 6,681
  • 14
  • 56
  • 82
1
vote
2 answers

lighttpd fastcgi unix bind error

I am trying to configure Lighttpd to run Redmine using FastCGI. I have added the following code to my standard lighttpd.conf: $HTTP["host"] =~ "^foo.bar.com$" { server.document-root = "/usr/share/redmine/public/" index-file.names += (…
wonbyte
  • 115
  • 6
1
vote
1 answer

Fastcgi error with apache2

The guide i followed: http://www.howtoforge.com/using-php5-fpm-with-apache2-on-ubuntu-11.10-p2 The error I am getting: root@server:/etc/apache2/sites-enabled# /etc/init.d/apache2 restart WARNING: MaxClients (10) must be at least as large as…
bran
  • 111
  • 2
  • 5
1
vote
2 answers

Nginx Doesn't serve Static Files

Possible Duplicate: nginx+django serving static files I followed this guide to deploy Django + Nginx on Ubuntu 11.10. Django works well but doesn't serve any static files. Here is an excerpt from my settings.py: STATIC_ROOT = '' STATIC_URL =…
lookingbrown
  • 113
  • 1
  • 4
1
vote
1 answer

Mono through FastCGI on nginx

I'm going through http://www.mono-project.com/FastCGI_Nginx and can't get it to work. The FastCGI server seems to be running. The following is from the error log: upstream sent unexpected FastCGI record: 3 while reading response header from…
Stijn
  • 218
  • 3
  • 20
1
vote
0 answers

Unreadable error using FCGI

I recently installed mod_fcgi on to Amazon EC2 64bit Linux AMI and using Movable Type 5.13 with it. Here is my error log. [warn]mod_fcgid: error reading data, FastCGI server closed connection, referer:…
Maca
  • 1,043
  • 2
  • 19
  • 30
1
vote
1 answer

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 installed: wx3# pkg_info | grep -Ei…
alexus
  • 13,112
  • 32
  • 117
  • 174
1
vote
1 answer

Nginx directory aliasing incorrectly passing to fcgi

I have a website virtual host, example.com, which is statically served out of /home/erealms/www. However, the website runs through a series of perl scripts, which are located in various directories. So what I'm trying to accomplish is the…
Pryoidain
  • 21
  • 3
1
vote
3 answers

Python app server & web server co-existing?

I have a site example.com that runs off a 'normal' web server ie at the moment Apache but looking to go for a less RAM intensive alternative in future so I don't want mod_WSGI on apache. Shortly I will be looking to deploy a web app that runs out of…
citronic
  • 143
  • 1
  • 7
1
vote
2 answers

Why the php-cgi wrapper script for php-fpm? (Using virtualhost and suexec.)

I just setup my server with Apache, FastCGI, and PHP-FPM. My question is regarding the /cgi-bin/ folder: is it really necessary to have a /cgi-bin/php-fpm wrapper for every single virtualhost that runs apache using a different user/group?…
Caleb Gray
  • 350
  • 3
  • 8