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
3
votes
1 answer

Tangible benefits of keeping web applications and web server separate?

We develop and maintain web applications; and in our current setup; we are using a three-tier system of database server, application server, and web server. So far, so good. The problem we are facing is that while in theory this setup is designed to…
3
votes
3 answers

Is there an alternative to cgi/fastcgi

Just curious to know, is there any other alternative to cgi/fastcgi?
kalyan
  • 195
  • 2
  • 7
3
votes
3 answers

FastCGI Error when installing PHP on IIS7.5

I'm trying to install MediaWiki on a Win2008r2 server, but can't manage to install PHP. Here's what I did: Grabbed a Zip archive of PHP and unzipped it into C:\PHP. Created two subdirs: c:\PHP\sessiondata and c:\PHP\uploadtemp. Granted modify…
ytoledano
  • 173
  • 1
  • 2
  • 8
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
  • 6
  • 14
3
votes
1 answer

Lighttpd big uploads memory consumption

Consider the following scenario: I am running lighttpd-1.4.19 and I am handling big uploads (hundreds of MBs but less than 1GB) through it. Server is running on Ubuntu 8.04 LTS. Files are temporarily written to /var/tmp. PHP5 is handling the…
lpfavreau
  • 439
  • 2
  • 8
  • 19
3
votes
3 answers

What's the optimal way to set up a Django server to serve multiple sites?

I currently use Apache 2.0 and FastCGI to serve my Django sites (I host multiple sites from a single server / IP). Each site has it's own FastCGI process which stops Apache forking multiple copies which can use a lot of memory and means I can…
Jon Cage
  • 329
  • 1
  • 3
  • 12
3
votes
3 answers

spawn-fcgi/ fast CGi php crashes without traces in logs, on Gentoo

I recently moved from apache to a Nginx/fastcgi solution, I had it running on a Fedora system and had no problems, but, since i moved all to Gentoo , the Spawn-fCGI / fastcgi php daemon dies, and i can't find out any errors reports on…
PartySoft
  • 217
  • 1
  • 7
  • 12
3
votes
3 answers

IIS6 + PHP + FastCGI 500 Errors - Where to start looking?

I've set up IIS6 with FastCGI to use php-cgi.exe. I have some php websites by external parties, that I'm trying to run in a test environment. One of the websites just plain gives me a FastCGI Error Page. This does not happen on every page, it just…
Bertvan
  • 133
  • 1
  • 1
  • 7
3
votes
1 answer

How to configure fastcgi with lighttpd

I am trying to configure FastCgi with ligttpd server. I was able to run vanilla lighttpd like this: ./lighttpd -f lighttpd.conf And then I compile/install the source of fastcgi, and I add the following in my lighttpd.conf: fastcgi.server = (…
silverburgh
2
votes
0 answers

Long-running git post-receive hook causes timeout

I have a post-receive hook written in python, whose main function is to deploy the updated branch. It clones the repo into a new dir, and runs environment setups like npm install and building/populating virtualenvs. This runs on the server side, and…
trbabb
  • 131
  • 3
2
votes
1 answer

Proxy_Cache on NGINX Reverse Proxy and FastCGI_Cache on Upstream NGINX Wordpress Server

I have some questions about caching implementation since most of the resources I have found don’t seem to distinguish between NGINX as a reverse proxy or as a “native” web host. I’ve setup a WordPress server on a LEMP stack (so NGINX as a “native”…
2
votes
0 answers

Repercussions of setting the IIS responseBufferLimit to = 0

I'm running a PHP application (Moodle) under FastCGI in IIS 8.5, Windows Server 2012 R2 and PHP 5.4. There are two VM server nodes in the setup using an F5 load balancer. I am using Wincache for the File System and User caches and OPCache for the…
luisdev
  • 143
  • 1
  • 6
2
votes
0 answers

Apache 2.4 with php-fpm ignores .htaccess

I have a VPS server with Apache, FastCGI and php-fpm installed. But, the .htaccess files seems be ignored. I have a .htaccess file that redirects http URLs to https URLs: RewriteEngine On RewriteCond %{HTTPS} off …
user3753202
  • 121
  • 3
2
votes
1 answer

How to use AddHandler in httpd 2.4 for php-fpm version change

I have the following setup for httpd 2.2 (CentOS 6) with mod_fastcgi and php-fpm: LoadModule fastcgi_module modules/mod_fastcgi.so AddHandler application/x-httpd-php71 .php Action application/x-httpd-php71 /php71-fcgi Alias…
plamer
  • 205
  • 2
  • 10
2
votes
2 answers

Apache2 and Lighttpd on the same machine: how to share php APC?

I have a Debian machine where I use both apache2 (with mod_proxy) and Lighttpd (for a long-polling service and static contents). Both apache and lighttpd run php5, with APC. Lighttp use FastCGI for php5. Now, both environment works well, but the APC…
Strae
  • 457
  • 1
  • 8
  • 22