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

Does php-frm make PHP run faster?

As I understand it, php-fpm makes PHP pages respond faster by managing a farm of pre-loaded PHP interpreter processes so the end user doesn't experience the overhead of initialising the PHP subsystem, but once a PHP page starts executing it takes…
kbro
  • 260
  • 1
  • 2
  • 12
1
vote
2 answers

lighttpd + PHP-fcgi slow response

We have a problem regarding lighttpd as the webserver with php5 as backend via fast-cgi. Sometimes the server's response is taking more than 5 seconds (up to 20 seconds) when requesting a simple file that calls phpinfo();. The server log does not…
robert
  • 11
  • 2
1
vote
1 answer

How to add fastcgi support to nginx?

I'm trying to setup roundcube in my server with nginx on CentOS. this tutorial says: Add the following to the bottom of /etc/nginx/fastcgi_params: # Roundcube config fastcgi_keep_conn on; fastcgi_split_path_info ^(.+\.php)(.*)$; fastcgi_param…
Ghasem
  • 277
  • 3
  • 9
1
vote
1 answer

Nginx rewrite module not working

I've read a lot of topics about it, but couldn't solve my problem. After moving from APache to Nginx I can't set rewrites to handle my forums friendly urls. My forums is in /forum/ location of the virtual server. All I want to do is rewrite…
Nidrax
  • 113
  • 4
1
vote
1 answer

PHP-FPM Can't create enough children and stops serving requests

I'm new to PHP-FPM and I've noticed at random intervals it will seemingly just lock up. [26-Dec-2014 22:50:16] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0…
1
vote
0 answers

Video Streaming Fails on IIS 8

I am using FastCGI with IIS 8 on windows-server 2012. The server is hosting a Django based website. The website works fine until I stream the videos (which are saved in the media folder on the server and are webm files). FireFox does not render…
1
vote
1 answer

Random HTML and cookie value gets appended to apache proxy_fcgi error message

I am using Apache with PHP-FPM on my web server. When user enters some random pathname that Apache passes to proxy-fcgi and the file could not be found, there will be a standard error recorded in the error log: AH01071: Got error 'Primary script…
user257879
  • 11
  • 1
1
vote
1 answer

"No input file specified" when running php under fastcgi inside chroot under nginx outside of chroot

I have a scenario with nginx/1.4.6 running on Ubuntu 14.04 but with php/5.2.10 inside a chroot Ubuntu 9.10 (Karmic Koala). My issue is that all requests to php files result in the dreaded "No input file specified." I have the site stored inside the…
Xyz
  • 111
  • 1
  • 10
1
vote
0 answers

File permission problems with Apache, FastCGI, and Prestashop

I am running a Prestashop installation on CentOS 6.5 and Apache 2.2.15. A while back I updated Apache and lost the ability to upload product images via Prestashop backoffice along with other problems, such as permission problems with the cache…
tokih
  • 11
  • 2
1
vote
1 answer

Varnish with PHP FastCGI / Change FastCGI server port

I want to run Magento with Varnish Cache. So far my PHP runs as FastCGI. I am now trying to set up Varnish. And have a probably pretty stupid question. So as I understand Varnish will listen on port 80 and fetch whatever is missing from my…
Øle Bjarnstroem
  • 305
  • 4
  • 11
1
vote
2 answers

Need to determine how php files are being rendered in a LAMP configuration (CGI, FastCGI, or mod-php)

How do I determine how our php files are being rendered in a simple LAMP configuration? phpinfo shows: -- Configure Command -- --enable-force-cgi-redirect --enable-fastcgi -- Server API -- CGI/FastCGI -- cgi-fcgi -- Directive Local…
Chris Williams
  • 265
  • 2
  • 5
  • 14
1
vote
0 answers

Page displays "File not found" when I enable php-fpm chroot on debian wheezy apache2.2

I set up a chroot jail for a user "bob". bob is located in /var/jails/bob Bob has a site which is located in /var/jails/bob/bobssite.com/public_html Everything seems to work so far, including the fact that the process is being run with bob's uid…
1
vote
0 answers

How do I trace the source of FastCGI timeout isseus on PHP and IIS 7.5?

I have a problem which I am hoping you experts can really help me find the root cause of. I am getting random page time outs (which manifest as a 500 error) that I cannot find the root cause of. PHP Version: PHP 5.5.12 (cli) (built: Apr 30 2014…
Lock
  • 1,637
  • 7
  • 26
  • 33
1
vote
1 answer

Enabling fast cgi on php 5.3.29

How to enable FastCGI while php 5.3.29 configure? I tried to .configure PHP 5.3.29 installation with --enable-fastcgi but looks like this option is unknown.
Rambo
  • 31
  • 1
  • 1
  • 5
1
vote
1 answer

Redirect every request to FastCGI script

I have a FastCGI script which I want to every request to be redirect to it, no matter which URL. My current vhost configuration is the following: ServerName localhost FastCGIExternalServer…