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

nginx: storing a fastcgi php output as file

I'm trying to save the output of a fastcgi, but I seem to be getting a blank output. If a user requests a file like /thumbnail/someuniquefilename.jpg and the file exists, it should just serve it. If it doesn't exist, it should fetch it via fastcgi…
Grumpy
  • 2,979
  • 18
  • 23
0
votes
1 answer

FastCGI protocol over the network

For a reason that is beyond my control, there is a web server (fairly standard Debian/Apache deployment) sitting on our NAT'd network which takes all traffic to ports 80 and 443. I can't change that. This machine happens to be 32-bit (again, not me…
Libbux
  • 295
  • 1
  • 2
  • 14
0
votes
2 answers

Setting up HHVM for apache2.2 with mod fastcgi in a virtual host

I want to setup a virtualhost running HHVM to try out the new "Facebook Hack" language. I followed the instructions here on Apache 2.2: https://github.com/facebook/hhvm/wiki/FastCGI currently hhvm is running like this: hhvm -m s…
timing
  • 111
  • 1
  • 5
0
votes
1 answer

Redirect with lighttpd and fastcgi on Django App

I have setup my lighttpd in a fashion which redirects all subdomains to my primary domain in following fashion * .domain.com -> domain.com. Unfortunately when i type in a subdomain such as www.domain.com it goes directly to…
JavaCake
  • 111
  • 3
  • 11
0
votes
0 answers

APC Cache files expire Issue with FastCgi

we have properly installed APC cache on our WHM based server, we have set to expire each file in few hours, but all cached file lost in few seconds. Our APC Settings: apc.cache_by_default 1 apc.canonicalize 1 apc.coredump_unmap …
user1218948
  • 101
  • 1
0
votes
1 answer

nginx php-fpm random/temperamental "No input file specified" error

I've got a page, I'm not using redirects, just going directly to /invite/index.php?code=f13dc6c9be in the browser and it serves up about 50% of the time. The rest of the time the browser displays "No input file specified" and the logs…
Pete
  • 293
  • 1
  • 5
  • 20
0
votes
3 answers

Most efficient way to serve less than 10 http requests per day using cgi

Our company manages over one hundred servers and we would like to "ask" these servers for basic usage info once or twice a day using http. The usage info can be easily found with a perl cgi script and we would like to have an http interface to ease…
Ricardo Marimon
  • 529
  • 4
  • 12
  • 26
0
votes
1 answer

php/mod_fcgid script terminating after 30 seconds

I have the following issue : When running a long-running php script (file upload) it timeouts after exactly 30 seconds of activity. Bizzarely, it only occurs in certain cases - the one i know for sure is it always occurs when uploading a file using…
Sherif Buzz
  • 283
  • 1
  • 3
  • 16
0
votes
1 answer

Using Puppet with complex Nginx VirtualHosts

I'm trying to use Puppet and a Nginx plugin to manage a virtual host config file. I have everything working, but now that I need to add some rewrite rules I'm running into issues. I know I can use syntax like the line below to add a simple…
andrewvnice
  • 157
  • 1
  • 1
  • 6
0
votes
2 answers

Another PHP NGINX error: "No input file specified"

I looked through about 5 questions and blog posts already and tried everything they told me without luck. I can browse to www.example.com/phpinfo.php, but not www.example.com/index.php. I even went so far as to make phpinfo.php a symlink of…
nachito
  • 245
  • 1
  • 4
  • 11
0
votes
2 answers

fastcgi php and memory limit

I have a web server apache 2.2 with fastcgi and php 5.3, I have memory limit set to 256MB in php.ini and with php-cgi -i I got 256MB. So the configurations is correct, my process read it without problem. I told this because I read many post in…
Giovanni
  • 43
  • 1
  • 5
0
votes
2 answers

Nginx not passing uri to php5-fpm, instead serving as text file

as stated above the uri isn't being passed to nginx. I've included the entire "try" block to show this. location / { # First attempt to serve request as file, then # as directory, then fall back to displaying a 404. set $page_to_view…
133794m3r
  • 155
  • 1
  • 8
0
votes
1 answer

OpenVZ sharing PHP5-FPM socket

I need a problem with sharing php5-fpm.sock between 2 vz containers I have 2 containers: 1. with NGINX 2. with PHP5 and PHP5-FPM Link containers over NFS I tried using: 1. mount --bind /var/lib/vz/private/100/var/src_dir_with_socket…
init0
  • 39
  • 5
0
votes
1 answer

Apache FastCGI for PHP—increase resources

I would like to install a php based webapp on my server but during the install I get a »500 Internal Error«. On my search through the web I could figure out that this happens because the setup of my server uses FastCGI for PHP. The error comes to…
philipp
  • 137
  • 2
  • 10
0
votes
1 answer

Running WSAPI on ngninx via FastCGI

Using Lua 5.2 with wsapi 1.6-1 and wsapi-fcgi 1.6-1 installed via luarocks, I have the following nginx configuration: server { listen 127.0.0.1:8080; server_name localhost; location / { root /home/petsagouris/code/wsapitest/; …
petsagouris
  • 103
  • 4