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
6
votes
4 answers

Apache Never runs after configuring eAccelerator and FastCGI

I recently configured accelerator and fastcgi with apache using: http://secure-ubuntu-server.blogspot.com/2009/07/howto-performance-tuning-of-lamp-and.html Now my Apache never starts. Logs shows: Mon Jul 20 16:12:24 2009] [notice] ModSecurity for…
Shoaibi
  • 809
  • 1
  • 10
  • 28
6
votes
3 answers

FastCGI Error Access to the script denied

I have a Debian Squeeze server running nginx + php-fpm + fastcgi. I have a typo3 installation on this server which runs well. No I installed OTRS and I get an error that I do not understand: 2012/06/25 15:35:38 [error] 16510#0: *34 FastCGI sent in…
DarkLeafyGreen
  • 283
  • 5
  • 7
  • 23
6
votes
1 answer

Mono 2.11 on nginx using fastcgi-mono-server4 will not work

I have mono 2.11 set up with my nginx 1.0.15 webserver running on centos 6.2. I built it from source and xps2, xps4 and fastcgi-mono-server2 work as expected. The problem is when I try and run fastcgi-mono-server4. When I run: fastcgi-mono-server4…
fuzzycow101
  • 63
  • 1
  • 5
6
votes
1 answer

How to setup Python with Lighttpd and FastCGI (like PHP)

Running Lighttpd on Linux, I would like to be able to execute Python scripts just the way I execute PHP scripts. The goal is to be able to execute arbitrary script files stored in the WWW directory, e.g. http://www.example.com/*.py. I would not…
johndir
  • 305
  • 1
  • 5
  • 9
6
votes
2 answers

A single php-fastcgi process blocks all other PHP requests

I've recently switched to a FastCGI setup for PHP (Apache2-worker and mod_fcgid). However, when a single PHP script is very busy, it seems to block all other PHP requests. What would be wrong with my configuration? My main reason for using mod_fcgid…
vdboor
  • 3,800
  • 3
  • 31
  • 32
6
votes
2 answers

How to run PHP files as another user with Apache and FastCGI?

As per older questions, such as using mod_fcgid instead of mod_php and PHP as CGI or Apache Module? (and tangentially some other questions) I came to an understanding that running PHP as CGI or FastCGI would make my .php files be ran as the owner…
Jari Keinänen
  • 191
  • 2
  • 2
  • 8
6
votes
2 answers

How to diagnose Internal Server error on Lighttpd?

I have Lighttpd on Centos 5 with Fcgi and Memcached. Periodically, once per week or two i get internal server error 500 and i must manually restart lighttpd to get it to work again. In my lighttpd config I've defined error log file: server.errorlog …
Tom Smykowski
  • 1,125
  • 5
  • 19
  • 27
6
votes
3 answers

Configure FastCGI for Python

I have nginx running on a VM and I want to run a Trac site. I need to run a python FastCGI server, but I cannot tell which is the server to use. I have found the following: Lighttpd spawn-fcgi But this seems to require that you compile lighttpd…
Rob
  • 185
  • 1
  • 8
6
votes
9 answers

Why does any .php page give me a 404 error on Server 2008 with IIS 7.0?

I am using FastCGI to setup PHP. I've followed the instructions on the iis.net website. I added the handler mapping, edited the php.ini file as specified. None of it works, I just get a 404.0 error saying "The page you are looking for has been…
scottm
  • 359
  • 3
  • 5
  • 19
5
votes
1 answer

wp nginx fastcgi cache vs wp super cache

I've got a 512mb server instance with one core. As of right now I have about 3 websites with about 10k articles, on all of them I have wp super cache enabled. The typical cache time is 3600 secs or 7200 secs. And The vps instance is holding on just…
Ryan
  • 53
  • 5
5
votes
1 answer

In a nginx configuration file, how to define a fastcgi_param that contains the "$" sign?

I'm trying to define a few environment variables for a PHP application but one of these variables contains the "$" sign. When I test the configuration file with nginx -t, I get an error message telling me that a variable does not exist. It seems to…
5
votes
1 answer

Nginx and fcgiwrap, incremental output problems

When I run a cgi script under Apache any output is rapidly sent to the client. However when I run it under nginx with fcgiwrap it seems nothing is sent to the client until the script either finishes or produces a lot of output. In particular when…
Peter Green
  • 4,211
  • 12
  • 30
5
votes
3 answers

How do I start php7.0-fpm with supervisord?

I am trying to build a dockerized ubuntu 16.04lts with apache2 and nginx with php7.0-fpm Commands I have used but did not work [program:php-fpm7.0] command = /usr/sbin/php-fpm7.0 --daemonize --fpm-config…
uberrebu
  • 503
  • 6
  • 17
  • 36
5
votes
1 answer

PHP fastCGI won't stop, trying to start PHP fpm

I installed php-fpm and tried to start it. Got the following error: ERROR: unable to bind listening socket for address '127.0.0.1:9000': Address already in use (98) So it would appear php-fastcgi is using the address: [root@singularity ~]# netstat…
Brad Rice
  • 149
  • 1
  • 1
  • 4
5
votes
3 answers

Different PHP-configs in Nginx

I have a web-server running multiple server (virtual hosts) using nginx and fastcgi passing to a unix-socket. What I want to accomplish is a set-up with beta.example.com and live.example.com, where the live site has error_reporting turned off (but…
kd35a
  • 151
  • 1
  • 5