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

Apache : use of Alias directive with mod FastCGI

The server is configured to handle php files with fastcgi : AddHandler application/x-httpd-php .php Action application/x-httpd-php /fcgi-bin/php-fpm virtual ScriptAlias /fcgi-bin/php-fpm /fcgi-extsrvs-phpfpm …
challet
  • 153
  • 5
5
votes
2 answers

PHP-FPM is not displayed in phpinfo()

I have installed php-fpm on Centos + Apache using this manual - http://www.howtoforge.com/using-php5-fpm-with-apache2-on-centos-6.2-p2 but PHP-FPM is not displayed in phpinfo(). And I cannot figure out why. PHP-FPM process is installed and running…
Kelvin
  • 173
  • 1
  • 1
  • 6
5
votes
2 answers

Disable FastCGI Read Timeout in Nginx?

Is there a way to disable the read timeout for FastCGI? (fastcgi_read_timeout) Setting it to zero does not work and just causes an immediate timeout. Nginx 1.0.5 PHP-FPM 5.3.6-13ubuntu3.6 The reason I need to get around the timeout is because of…
Kevin Herrera
  • 175
  • 1
  • 5
5
votes
2 answers

Is there an access log for fastcgi?

I'm trying to set up a global location in nginx. It all works perfectly right now, other than PHP scripts requiring fastcgi. They're running a 404. Is there a way I can see the exact path it's accessing so I can try to debug this a bit and figure…
Rob
  • 2,393
  • 9
  • 33
  • 52
5
votes
6 answers

Lighttpd cannot create php-fastcgi.socket

I have installed FastCGI using yum, and edited my lighttpd.conf, but when restarting the server I receive this error. 2009-06-24 12:44:43: (log.c.97) server started 2009-06-24 12:44:43: (mod_fastcgi.c.924) bind failed for:…
James
  • 171
  • 1
  • 3
  • 15
5
votes
1 answer

Enabling APC causes internal server error

After installing and enabling APC 3.1.9 (Alternate PHP Cache), using pecl, i ran into an internal server error. I checked my error logs, and this is what shows up. Error Logs: PHP Fatal error: PHP Startup: apc_mmap: mkstemp on /tmp/apc.efdb4d…
VicePrez
  • 153
  • 1
  • 4
5
votes
3 answers

Why is the response truncated at 16k with php + fastcgi?

I've got PHP 5.3.3 and nginx 0.8.47 compiled from source running a Wordpress blog. The RSS feed generated by Wordpress was getting truncated at roughly 16k (including header was 16k+90b). By adding the following to my nginx config: fastcgi_buffers 8…
ColinM
  • 701
  • 8
  • 19
5
votes
1 answer

Getting correct SERVER_PORT to php-fpm through nginx and varnish

The goal is to get PHP aware of the correct web-facing server_port. The setup is: nginx on port 443 reverse proxying to varnish on port 80 reverse proxying to nginx on port 8008 and running php-fpm as a fastcgi. hitting 80 or 443 both work fine…
MDrollette
  • 325
  • 3
  • 12
5
votes
4 answers

Alias using Nginx causing phpMyAdmin login endless loop

Recently I've been trying to set up a web server using Nginx (I normally use Apache). However I've ran into a problem trying to set phpMyAdmin up on an alias. The alias correctly takes you too the phpMyAdmin login screen, however when you enter…
Seb Dangerfield
  • 163
  • 1
  • 1
  • 3
5
votes
3 answers

FastCGI and Apache 500 error intermittently

I have a FastCGI (mod_fastcgi)problem. It happens every once in a while, and does not casue a complete server meltdown, just 500 errors. Here are a couple things. First I am using APC so PHP is in control of it's own processes, not FastCGI. Also, I…
benkorn1
  • 51
  • 1
  • 1
  • 2
5
votes
4 answers

Nginx & PHP caching: fastcgi_cache, proxy_cache, APC or memcached or combo?

We have webservers running nginx 7.65 along with fastcgi PHP5 and are looking into caching possibilities to speed up content delivery and lower system loads. The servers run different (custom) applications. There are so much options for caching I…
Matt
  • 295
  • 2
  • 10
5
votes
1 answer

Where to set "PHP_FCGI_MAX_REQUESTS" (lighttpd)

I want to setup the max requests to keep my system RAM from filling up when there is a memory leak. But I dont know where it is.
Kuku
4
votes
1 answer

Django VPS Configuration

I'm looking to run some Django sites on my VPS, with nginx acting as a front-end for it. I've been having some issues with mod_python and Apache, the site just starts erroring out whenever the traffic starts to pick up because it just uses so much…
Zack
  • 151
  • 4
4
votes
0 answers

Apache 2.4 + PHP-FPM + Chromelogger (how to increase HTTP header length limit?)

I have a running Apache 2.4 + PHP-FPM setup. There is one edge case though, when this setup fails - when using Chromelogger. Chromelogger is a server to client debugging tool, which sends it's data through a HTTP header to a browser. The header's…
mgo
  • 141
  • 3
4
votes
1 answer

Any guide to set values for fastcgi_buffers in Nginx config?

I just moved our blog-network to ngnix (from apache) which is powered by WPMU. Everything is running smoothly and fine. During my quest to optimize server to the max level - I came across this thread on nginx forum…
rahul286
  • 1,647
  • 5
  • 20
  • 25