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

How to configure Nginx to serve a variety of back-ends via multiple FCGI processes?

I've seen a lot of tutorials showing one how to set up PHP/Python/Perl/RoR on nginx via various FCGI processes. None of the tutorials that I found show one how to serve multiple FCGI services off one server. How would one configure the stable nginx…
Ben Horton
2
votes
1 answer

PHP via FastCGI: "terminated by calling exit()"

I've recently converted my server from a mod_php setup to a php via mod_fcgid setup. Everything works well: it's fast, easy, doesn't crash, etc etc etc. The problem that I'm having is that the log files are filling up with messages like this: [Sat…
mattbasta
  • 641
  • 1
  • 8
  • 17
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
  • 1
  • 1
  • 4
2
votes
1 answer

How many fast-cgi processes to use with PHP-FPM and NginX

Does anyone know of a good source out there - or possibly can answer this in here - that can guide me as to how many Fast-cgi processes and Nginx processes I need to have running to serve a moderatly popular website. Between 75-100k pageview / day,…
Jeff
2
votes
1 answer

Apache 2 Fast CGI php issue

I'm trying to set php5.6.23 as fast CGI on my server for using php7 as main version but in one of my domain, I get this error : The requested URL / was not found on this server. here is my vhost conf : ScriptAlias / /usr/lib/cgi-bin DocumentRoot…
Jeremy Talus
  • 63
  • 1
  • 8
2
votes
2 answers

IIS FastCGI scriptProcessor with spaces in Path?

I am trying to configure a FastCGI Module - the whole thing works fine if I use a path without spaces, but our application is installed into C:\Program Files and other paths where spaces are common. The relevant part of the web.config looks like…
Christian Sauer
  • 125
  • 1
  • 6
2
votes
1 answer

Nginx / git / fastcgi server not working

I set up all the needed components for a Git server on Nginx using FastCGI and followed the combined suggestions of a few tutorials to end up with this configuration: server { listen 80; listen [::]:80; server_name example.com…
Lemon Drop
  • 131
  • 4
2
votes
0 answers

fastCGI sent in stderr: "Primary script unknown" while reading response header from upstream files exist

I've looked at other answers but I'm still failing to see the issue with these configs: user nginx; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; pid …
user327173
  • 21
  • 1
2
votes
1 answer

Is there a way to enable a log file to spawn-fcgi and fcgiwrap?

I'm trying to setup Bugzilla. I'm getting a 403 error. There are no error messages in the nginx error log file. I'm pretty sure that the 403 message is being sent from upstream. I say that because I can create a 403 error in the nginx error log…
101010
  • 355
  • 7
  • 19
2
votes
1 answer

How to avoid url with fastcgi_cache?

How to avoid url with fastcgi_cache? no need cache list e.g projectdomain.com/a projectdomain.com/b projectdomain.com/c/d vi /etc/nginx/nginx.conf http { fastcgi_cache_path /var/cache/fastcgi/projectdomain.com levels=1:2…
user1575921
  • 143
  • 8
2
votes
0 answers

PHP-FPM + Apache (403 forbidden message)

Im having trouble installing php-fpm. When ever I install it and open a php file i get a 403 forbiden status code Looking at the logs is see client denied by server configuration: /usr/lib/cgi-bin/php5-fcgi I changed my directive to allow from all…
Callum
  • 21
  • 6
2
votes
2 answers

Disable Gateway Timeout for Specific Nginx Port / Folder

How can I disable the nginx timeout when accessing through a specific port, or simply a specified folder. Whichever is easier. Basically I have some scripts which need to execute for a long period of time and the gateway timeout is preventing them…
Belgin Fish
  • 919
  • 5
  • 17
  • 31
2
votes
1 answer

FastCGI for DocumentRoot only

I'm trying to set up HHVM for one of my websites. It is running on Apache 2.4, Ubuntu 14.04. I apologize for not being the most advanced system administrator, I am more in the software engineering end of the spectrum. I've got HHVM installed when…
Col South
  • 121
  • 1
2
votes
2 answers

apache worker + php fastcgi, long script

My problem is that long php scripts (several hours) are exiting early. (FireFox says "connection to the server was reset while the page was loading"). They exit sometimes after 30 minutes, sometimes after 1:45 hour running time. CentOS 6.6…
Skacc
  • 167
  • 5
2
votes
2 answers

php servers without apache/nginx/cgi stack

In many languages, you build web frameworks from the ground up (i.e. from unix sockets) and layer on abstractions. If I want to build a web framework from scratch in OCaml or C, I first build a socket server that listens on port 80. It just came to…
eatonphil
  • 183
  • 3
  • 12