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

Using FastCGI for PHP on Mac OS X

I have apache2 running on a Mac OS X (10.6) machine, and it is currently serving PHP pages fine, using php5_module but I would like to configure fastcgi_module to handle the php pages. I have tried using the configuration found on www.fastcgi.com…
DanielGibbs
  • 573
  • 5
  • 13
  • 32
1
vote
1 answer

Is there an up to date guide on PHP (5.3) Apache (2) and FastCGI?

All the articles I can find on the web all are dated from 2005 - 2009. We are looking to move to fastcgi with php and apache but can't find any up to date information on the topics. Does anyone know of a good guide or why the information just kind…
Brombomb
  • 113
  • 4
1
vote
1 answer

When restarting ligttpd, how do I get fastcgi php-cgi's to restart

I'm running lighttpd with php5-cgi. Running /etc/init.d/lighttpd restart does not cause the php-cgi processes to restart. Should I just killall them, or is there a more appropriate way to get them to restart?
fratrik
  • 111
  • 3
1
vote
1 answer

Nginx, how to set fastcgi_index to several values?

I'm using the nginx webserver on Linux for domain "example.com". I forward everything via fastcgi to fastcgi-mono-server4. Now, everything works fine, I just want to set several index pages, e.g. something like: fastcgi_index Default.aspx…
Quandary
  • 1,024
  • 4
  • 19
  • 36
1
vote
1 answer

" scriptProcessor could not be found in application configuration" when accessing PHP script in subfolder

I have a configuration problem with php on IIS 7.5. It is a practically fresh install made with the MS Web PI on Win7. I created a simple php testpage. It works in the root level http://localhost/test.php and in the first sub-level…
Priednis
  • 285
  • 1
  • 3
  • 9
1
vote
1 answer

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 written in Perl with MySQL as the Db backend with…
GeneQ
  • 407
  • 2
  • 8
  • 17
1
vote
1 answer

User Process Tracking, what is this? Numerous alerts with FastCGI

I have a CentOS VPS on Knownhost.com. I am using it to host one Wordpress site, that currently doesn't have any traffic (not launched yet). I was getting these process tracking emails (7 different procs) constantly after Knownhost installed…
SkinnyGeek1010
  • 446
  • 5
  • 16
1
vote
2 answers

Passing arbitrary http request headers to nginx and then to php

I have this web service that's running on nginx and fastcgi(php-fpm). The web service is used by some embeded http clients which will need to send some arbitrary http request headers when they are using the service. For example: CLIENT_ID:…
Shawn
  • 217
  • 1
  • 3
  • 10
1
vote
1 answer

Django app displaying the same page no matter what url visited

I have a simple Django application that I am using to test out a new deployment strategy using Nginx, FastCGI (using the latest version of flup at the time of writing) and daemontools. Basically the problem is if I visit domain.com the main page…
Cromulent
  • 316
  • 1
  • 2
  • 18
1
vote
2 answers

I need clarification on Apache2, MPM-Worker, FastCGI, PHP5-fpm, suEXEC?

My current configuration is: Apache2 + MPM-Worker AND FastCGI + PHP5-fpm (PHP 5.3.2) ON Ubuntu 10.04 LTS I have a single pool of 2-5 processes running as a different user from that of the default www-data. FastCGI/PHP5-fpm is configured as an…
farinspace
  • 173
  • 1
  • 1
  • 13
1
vote
1 answer

500 Internal Server Error with PHP application

I have written a PHP application using Windows and XAMPP. I've been trying to run it on Ubuntu 10.10 with Lighttpd 1.4.26. Parts of the application work fine, but whenever I try to log in, I get a 500 - Internal Server Error page. The only thing…
James
  • 153
  • 2
  • 9
1
vote
1 answer

suexec error configuring mod_fastcgi with apache2.2.3 on centos

I've been following this blog post so that I can share APC opcode cache between PHP processes using FastCGI. Unfortunately I'm getting the following error when starting httpd: Starting httpd: Syntax error on line 4 of…
Jonathan Day
  • 204
  • 1
  • 2
  • 10
1
vote
1 answer

Need advice in setting up server. fastCGI, suExec, speed, security, etc

I am running my own dedicated server with centOS 5 and WHM/cPanel. I would like to configure my server to meet my needs but I need a little help. It will only be my own websites being run on this server. I'm still a little green when it comes to…
lewisqic
  • 181
  • 1
  • 5
1
vote
2 answers

memcache fast-cgi php apache 2.2 windows 7 creating problems

I am trying to run memcache, fast-cgi with apache 2.2 + php on a windows 7 machine. If I don't use memcache everything works fine. The moment I disable extension=php_memcache.dll in php.ini everything returns to normal. Once I start apache, the…
Ahmad
  • 121
  • 1
  • 4
1
vote
1 answer

How to setup Apache 2.2 (prefork) with mod_fcgid to test a C++ application?

I have written my first fastcgi application (C/C++), and I need to test it to ensure that it is behaving the way I expect it to. I have searched for examples on setting up Apache 2.2. with mod_fcgid, but all of teh tutorials etc I have seen, relate…
skyeagle
  • 11
  • 4