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

Can lighttpd be configured to spawn it's own instances of PHP on Windows7?

Currently, this is how I start PHP and lighttpd and it works fine: start /b php-cgi -c .\php-debug.ini -b 127.0.0.1:521 start /b LightTPD.exe Once and awhile PHP crashes and I get 503 errors until I start it again. I would like to configure…
Larry
  • 235
  • 1
  • 3
  • 10
1
vote
0 answers

NGinx - PHP / CGI - No input file specified

I know this is a common problem. I googled and tried a lot but still doesn't work. "No input file specified" while calling PHP files from browser. I Installed nginx php/cgi on a fresh debian machine. Nginx Config - # pass the PHP scripts to FastCGI…
Aditya Singh
  • 281
  • 1
  • 3
  • 7
1
vote
1 answer

Long running php script hangs/terminates on IIS 7.5

I'm a bit of nube when it comes to configuring IIS 7.5 and Php so apologies if this is a silly question but I've been wrestling with this for over half the day and need some fresh input. I have a php application running on IIS 7.5 , php 5.4 running…
Rich
  • 123
  • 4
1
vote
1 answer

Connection refused while connecting to upstream

I'm running a Django website with nginx via fastcgi running on a TCP port 9000 on localhost. Everything appears to work correctly, but the error log is filled with lines like these: 2012/11/19 14:05:07 [error] 21849#0: *2990 connect() failed (111: …
Vinay Pai
  • 113
  • 1
  • 4
1
vote
2 answers

PHP-FPM + NGINX: PHP-CGI processes die after a while in idle, then 502 bad gateway and manual restart required

I am currently setting up a VPS (with VPS.NET) which I will be using to host a blog and some other stuff. I've installed nginx, and patched php (5.2.8) with php-fpm. All works great (and extremely fast!), apart from one annoying issue: because the…
Vito Botta
  • 327
  • 1
  • 7
  • 14
1
vote
1 answer

Apache + PHP via FastCGI

I'm running into some problems while attempting to run PHP via FastCGI in Apache. I have the FastCGI module loaded, but get the following error when attempting to load a page: The requested URL /fastcgi/php54.fcgi/index.php was not found on this…
Wilco
  • 365
  • 5
  • 17
1
vote
1 answer

how to install mono xsp4 and fastcgi-mono-server4

Quick question - I'm on Debian squeeze, running nginx fine and installed mono fine. Now I want to host a .net4 web application and as I understand it I'll need fastcgi-mono-server4 (and xsp4 when testing it out) - where do I get these packages? I…
james lewis
  • 155
  • 1
  • 8
1
vote
1 answer

PHP5.3 FastCGI doesn't use global config's values

There's a Centos6.3 system. Apache 2.2.15 + mod_fcgid + PHP 5.3.3 There's a problem with date.timezone value. It's mentioned in the global /etc/php.ini like this: date.timezone = "Europe/Moscow" And doesn't mentioned in user's local php.ini. As a…
mega.venik
  • 111
  • 1
1
vote
1 answer

Reducing memory for worker MPM in Apache

I've moved from the prefork MPM to the worker MPM due to a process limit I was hitting on my VPS. However, memory usage increased after switching over (which is odd since the worker MPM is supposed to have a smaller memory footprint?). Most of them…
ShyM
  • 11
  • 1
1
vote
1 answer

Edit MaxRequestLen in FastCGI on IIS (Plesk)

I am receiving a 500 Internal Server Error when trying to upload large files on my server. All of my PHP settings are correct, i.e. post_max_size, execution_time etc... I am pretty certain it is a restriction with FastCGI as that is what most…
Ben Carey
  • 164
  • 12
1
vote
0 answers

timeout with apache & php w/ each virtual host has his own user process

I have 10 unix users in /home/. Each user is for a specific subdomain for example user www in /home/www/public_html is for www.mywebsite. blog in /home/blog/public_html is for blog.mywebsite. 90% is php and 10% ror for the moment i use apache +…
acemtp
  • 253
  • 2
  • 6
1
vote
3 answers

Security implications of adding www-data to /etc/sudoers to run php-cgi as a different user

What I really want to do is allow the 'www-data' user to have the ability to launch php-cgi as another user. I just want to make sure that I fully understand the security implications. The server should support a shared hosting environment where…
BMiner
  • 125
  • 8
1
vote
0 answers

Lighttpd with FastCGI configuration running ViewVC - rewrite problems

At the moment I am struggling with the configuration of lighttpd together with ViewVC. The configuration was ported from Apache 2.2.x, which is still running on the machine, serving the WebDAV/SVN stuff, being proxied through. Now, the problem I am…
0xC0000022L
  • 1,516
  • 2
  • 22
  • 42
1
vote
1 answer

fastcgi cache how-to cache for logged-in users and make it custom for each user

Currently I'm doing cache using fastcgi_cache for non-logged-in users, and using ( if + fastcgi_no_cache + fastcgi_cache_bypass ) to pass logged-in users directly to backend which is PHP-FPM. this work good enough, but when PHP-FPM start hitting…
Linux Intel
  • 183
  • 2
  • 3
  • 16
1
vote
7 answers

mod_fastcgi installation error

I've compiled Apache 2.4.2 successfully, but I'm facing an error while trying to compile mod_fastcgi module. Any tips? root@local:/usr/src/libapache-mod-fastcgi# /usr/local/apache2/bin/apxs -o mod_fastcgi.so -c *.c /usr/local/apr/build-1/libtool…
Jari V.
  • 13
  • 1
  • 3