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
2 answers

Using multiple FCGI binaries on one lighttpd instance - possible?

It seems to me that it will be more maintainable to keep separate functions of my site in separate FCGI binaries. What I want is for requests like these: http://mysite.com/funcA.fcgi http://mysite.com/funcB.fcgi?action=go To be redirected to the…
1
vote
2 answers

Nginx update rewrites my own starting scripts in /etc/init.d/nginx. Is there a way to avoid this?

I have nginx plus fast cgi. I wroted starting script that starts nginx with fast cgi. But after nginx update system rewrites this script to the default starting only nginx. Is there any way to avoid this rewrite?
B14D3
  • 5,188
  • 15
  • 64
  • 83
1
vote
1 answer

django, fastcgi, throws random 404 errors

I have a django website deployed on a shared webhost. The shared webhost uses fastcgi. I'm noticing that valid urls will randomly throw up http404 but as soon as I refresh will work again. does anyone know why this may be? * Update * Sys admins…
w-01
  • 215
  • 2
  • 12
1
vote
1 answer

Why is Perl Cgiwrap Sock refusing connection to nginx?

Could anyone shed some light on the following line in my nginx error logs. I'm trying to get Perl and Nginx talking to each other, but so far no success. unix:/var/run/nginx/cgiwrap-dispatch.sock failed (111: Connection refused)2011/11/20 09:18:34…
Emmanuel
  • 347
  • 1
  • 9
  • 20
1
vote
0 answers

lighttpd + php-cgi: Memory increase crazily if there's syntax error in the php file

I use lighttpd as the webserver, and module mod_fastcgi is on. So I can fetch php file with lighttpd. Here is a segment of my configure file. fastcgi.server =( ".php"=> ( ( "bin-path" => "/usr/local/webserver/php/bin/php-cgi", …
Miaonster
  • 111
  • 2
1
vote
1 answer

Mapping php to fcgiext.dll vs php-cgi.exe

I seem to be able to run PHP scripts either by mapping .php to IIS directly by using \PHP\php-cgi.exe or through \Windows\system32\inetsrv\fcgiext.dll. I can't tell the difference between the two methods, other than that by using fcgiext.dll you are…
gawpertron
  • 165
  • 1
  • 1
  • 6
1
vote
1 answer

Nginx with HTTPS:// Keeps download /index.php but everything else works fine

I've installed nginx and transfer my server over to nginx (from apache). I made a subdomain which has SSL. My http:// works perfect.. But when I access https://secure.gamegambit.com it starts to download file. Yet any other url with https:// works…
gamegambit
  • 11
  • 2
1
vote
1 answer

Development HTTP server with fastcgi support

I'm looking for a command-line launched HTTP server (à la thttpd -- i.e. which doesn't require system-wide configuration) but which supports generic fastcgi -- preferably which can do its own management of fastcgi servers like apache's mod_fcgid…
tylerl
  • 15,055
  • 7
  • 51
  • 72
1
vote
1 answer

Clean Url problems WIth ubuntu apache , php-fpm, fastcgi

Well this is a kind of repost of this, but no one has replied to my question so far, so I am here. I am using Apache/2.2.17 (Ubuntu) mod_fastcgi with php-fpm and I can't enable clean URLs as the site returns Internal Server Errors . I think…
user80287
  • 145
  • 2
  • 7
1
vote
1 answer

How can we solve these errors for Nginx + PHP + FastCGI?

We're using Nginx + PHP + FastCGI for our web server and we just saw a bunch of timeout errors (see below) in the error log. We quickly restarted nginx and that fixed the problem - for now. However, we're trying to find the root-cause and fix the…
ronik
1
vote
1 answer

Apache with PHP configured as FastCGI and scripts without suffix

I have working FastCGI PHP inside Apache using mod_fcgid. But I noticed that PHP scripts are executed even without .php suffix specified. Eg: if file is mail.php then http://example.com/mail.php and http://example.com/mail returns same output of PHP…
vladimirm
  • 125
  • 2
1
vote
1 answer

service performance advice (apache/nginx/php)

Right now I have a xeon quad core (2.8ghz I think), 8gb ram, and 150gb WD Raptor drive with centos. We have a few sites that get around 600k page views and just under 10 million search engine bot crawls a month. We're using Nginx which directly…
Joe
  • 35
  • 3
1
vote
1 answer

IIS 7, FastCGI, PHP and custom php.ini files

I'm running PHP 5.3, FastCGI, and IIS 7 on Windows Server 2008. I have a site which I would like to configure its own php.ini settings for but things aren't working as expected. I am following the tutorial located here. This is what I have done so…
Marlon
  • 535
  • 2
  • 10
  • 14
1
vote
1 answer

NGINX + PHP5-FPM segfaults under high load!

I have been dealing with this problem all day and it is driving me insane. All Google results and searches here lead to dead ends. I hope someone can work with me to provide a solution for myself and future victims. Here we go. I am running a…
Aco
  • 103
  • 1
  • 2
  • 11
1
vote
0 answers

After a PHP crash IIS 7.5 stops responding requests until the whole service is restarted

I have a standard PHP5.3 install under w2k8r2/IIS7.5 (with and without WinCache as I've tried both options). The events happens as follows: 1) I get an error on the Application event log that says: Faulting application name: php-cgi.exe, version:…
Pablius
  • 131
  • 5