FastCGI is an open interface web servers can use to execute applications in a secure and isolated manner.

learn more… | top users | synonyms

1
vote
0answers
14 views

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 ...
0
votes
2answers
40 views

php servers without apache/nginx/cgi stack

In many languages, you build web frameworks from the ground up (i.e. from unix sockets) and layer on abstractions. If I want to build a web framework from scratch in OCaml or C, I first build a socket ...
0
votes
2answers
113 views

Nginx / PHP-FPM = Blank pages

Dear ServerFault Community, I managed to get my site into a fully functional state two days ago.. Around 3 hours ago today, I've restarted my linux box and have found my site to no longer work. I have ...
1
vote
1answer
28 views

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 ...
0
votes
0answers
29 views

Fastcgi error after installing 2 PHP versions on CentOS (6.4 final) & Parallels Plesk Panel (11.0.9)

I installed PHP-Panda on our Cetnos server (6.4 Final) & Parallelels Plesk Panel 11.0.9, and now I got the new PHP versions under /opt/atomic/ and ./php --version works clean inside the specific ...
0
votes
0answers
18 views

Getting 404 for css, images, js, html on a PHP running on FastCGI

I just switched my PHP to run from Apache to FastCGI through Plesk 12 and now my css, js, images, html files are getting 404'd. Any idea on what could be happening? # This is the Apache server ...
0
votes
0answers
17 views

Apache + PHP (fast-cgi) + Wincache on Windows Server crashing

We have one PHP application that runs on Windows Server 2008 Apache 2.2.23 PHP-5.4.27 (FastCGI) Wincache 1.3.4.0 and crashes from time to time and I'm not able to figure out what's going on. ...
1
vote
2answers
44 views

“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 ...
1
vote
0answers
71 views

Two PHP versions on same CentOS 6.4 server with Plesk [closed]

I'm using CentOS 6.4 (Final) server running Plesk 11.0.9 with PHP 5.3.3, and I need to be able to use another PHP version (5.5.19) for some of our domains. I've followed Plesk's KB about how to ...
0
votes
0answers
114 views

can't apply process slot for /usr/lib/cgi-bin/php5

seen some other answers around the web related to my issue. Tried the answer from High CPU mod_fcgid: can't apply process slot too, did not work. Here are the files I believe toe be relevant for ...
0
votes
0answers
90 views

Creating /ping and /status pages on servers running PHP fastcgi (Not PHP FPM)

I have created /ping pages in the past for use with EC2 and ELB health checks with PHP FPM but not with Fastcgi. I have an autoscale setup which uses a semi pre-built Turnkey Linux PHP fcgi and nginx ...
1
vote
0answers
102 views

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, ...
0
votes
1answer
55 views

Cookieless folders with NGINX

I want to force all pages on my WordPress setup to not set any cookies, except for the file and folder: wp-login.php and /wp-admin # disable cookies globally fastcgi_hide_header Set-Cookie; if ...
4
votes
1answer
34 views

How are files being added to site as apache, when site is running as FastCGI?

I have a web server that is running many different sites (standard vhosts setup, most sites are Joomla based, a few wordpress and other non-CMS sites) in a Parallels Automation 11.5 environment. The ...
-1
votes
1answer
51 views

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 ...
0
votes
0answers
265 views

Seafile Server on Debian with sqlite + apache - fastcgi: connection timeout, incompelte headers

Introduction: I am trying to set up an Seafile server on my Local Network(later reachable by portforwarding through router). I followed the official manual but couldn't get it to work with Apache. It ...
0
votes
0answers
40 views

ISPConfig3 with Fast CGI problems

I try to run ISPconfig3 with fast-cgi but drops 500 error. Checking the error logs I have (104)Connection reset by peer: mod_fcgid: ap_pass_brigade failed in handle_request_ipc under the option of ...
0
votes
1answer
36 views

IIS fastcgi race condition or locking with .py files (file watching?)

I am trying to deploy the python web framework web2py on iis8 on Windows server 2012. I am using fastcgi, downloaded from microsoft, v 2.1 and python 2.7 web2py sometimes creates .py files under the ...
2
votes
2answers
53 views

How to identify fastcgi processes

We are running multiple php sites on iis using FastCgi Some site is now spawning many instances of FastCgi that is running at high cpu usage. Unfortunately all the sites are running from Network ...
1
vote
0answers
106 views

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 ...
0
votes
0answers
111 views

php-fcgi periodically shutting down for Nginx, Centos 6.5 with Virtualmin

php-fcgi periodically shutting down 1-3 times a week. The server spec is: Server RAM: 512 MB CPU: 1 Core OS: Centos 6.5 Web Server: Nginx 1.0.10 PHP: 5.3.3 MySQL: 5.1.73 Control Panel: Virtualmin ...
0
votes
0answers
78 views

what does it mean to host C++ fastcgi application in nginx

I'm new to web services, and I am making a web proxy in c++ using the fastcgi protocol. I don't quite understand how to "host" web services in a web server, so if someone could lead me to an ...
0
votes
0answers
33 views

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

File cannot be downloaded completely via PHP from my nginx

I have a file on my tiny server (BeagleBoneBlack) which I want to download to another machine. Therefore I try to do it via PHP from my nginx-web-server. The file size is about 1.2 GB and the download ...
0
votes
2answers
59 views

Why does google-site-verification go into fastcgi-pass ?

See the below nginx configuration file. Virtual name based hosting (example.com), passing requests for example.com and www.example com to the mono fastcgi-process on port 9000 (127.0.0.1:9000) I've ...
0
votes
0answers
38 views

php-fpm: Maintain php_mod logging format

I recently switched all my lab servers from apache pre_fork/mod_php to apache worker/fcgi/php-fpm, and after getting everything set-up correctly, I noticed one last issue; php-fpm is adding it's own ...
-4
votes
1answer
1k views

CentOS 7 apache2 httpd + mod_fastcgi installation impossible

Has anyone tried to install mod_fastcgi on CentOS7/httpd yet? Since it's not in the epel or fusion repos, I tried the el6 rpm, which wasn't working (httpd said: Cannot load modules/mod_fastcgi.so ...
0
votes
1answer
90 views

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

PHP files loading very slowly, even if they have no PHP code

Windows Server 2008 R2 Standard IIS 7.5 PHP 5.3.28 FastCGI I have a WordPress blog in a subfolder of an ASP.NET site that has started running very slowly. After experimentation, I've found that all ...
2
votes
1answer
1k views

Is the PHP option 'cgi.fix_pathinfo' really dangerous with Nginx + PHP-FPM?

There has been a lot of talking about a security issue relative to the cgi.fix_pathinfo PHP option used with Nginx (usually PHP-FPM, fast CGI). As a result, the default nginx configuration file used ...
0
votes
1answer
907 views

Apache fast-cgi and php-fpm on Ubuntu 14.04 - Run PHP File as the owner

I am trying to setup FastCGI and PHP-FPM so that a php file can be executed as the owner of the file. I am trying to replace SuPHP with FastCGI and fpm. Earlier, I had folders with different owners ...
2
votes
1answer
115 views

Is the server still vulnerable to attack if we don't turn off cgi.fix_pathinfo?

The /etc/nginx/sites-available/default file that comes with nginx installation has the following content: # You may add here your # server { # ... # } # statements for each of your virtual hosts to ...
-1
votes
1answer
70 views

What is the difference between proxy_cache_ and fastcgi_cache?

I was searching for a simple Nginx microcache solution and I end up seeing two ways to have microcache. Some tutorials use proxy_cache, while others fastcgi_cache. What are the differences, pros and ...
0
votes
0answers
36 views

IIS webpage failing to load | Fast CGI related

I HAVE SOLVED THIS PROBLEM Was missing the c++ package So I am running windows server 2012 with IIS 8. I have tried many things to get PHP working, so I have installed PHP 5.5 via Web platform ...
1
vote
1answer
55 views

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: <VirtualHost *:80> ServerName localhost ...
0
votes
1answer
244 views

How can I disable FastCGI on a Windows IIS 6 server?

We use WordPress for our company website and it has crashed for no discernible reason. It gives an error message like this: FastCGI Error The FastCGI Handler was unable to process the request. Error ...
0
votes
1answer
106 views

Fastcgi request record is too big

I am running an Nginx server, which requires me to accept URI String containing up to 4mb of data. I have configured nginx to accept the params by setting: /etc/nginx/nginx.conf ...
1
vote
1answer
372 views

Does using fastcgi_keep_conn in nginx increase performance for php-fpm?

The nginx docs say that keepalive for fastcgi cannot work if the fastcgi_keep_conn is not on. However, I can't find any further details on this. I already have keepalive enabled server-wide. I am ...
1
vote
1answer
83 views

Catalyst stderr going to the wrong log

I have several vhosts served by Apache 2.2.22 on a Debian Wheezy server. Some vhosts are Catalyst apps; all vhosts run with mod_fastcgi and mod_suexec. Each virtual host is configured to use a ...
3
votes
2answers
494 views

Apache fast-cgi and php-fpm failing to run php file?

I have been trying to switch my server from mod php to fastcgi set up on an apache server running on osx (as a development machine). My problem is that php-fpm doesn't seem to processing the files. ...
1
vote
0answers
113 views

command line alias inside php exec

Is there any possibility to define shell alias for commands executed via php system, exec etc functions? I'm running multiple versions of PHP using fastcgi and I need to run the right version of PHP ...
2
votes
0answers
479 views

Apache 2.4 + mod_rewrite + FastCGI (php-cgi.exe) on Windows

I am trying to port my Mac config on Windows for some of my clients. Since Windows is not Mac OS, I have to use php-cgi.exe instead of PHP-FPM. I have tested each component individually and ...
1
vote
0answers
530 views

FastCGI errors: (104)Connection reset by peer, incomplete headers and others

I am writing web application using cPhalcon. The machine on which I am testing is strictly development, so there isn't any traffic from outside. The problem is that when I am trying to do ...
0
votes
0answers
137 views

Nginx + PHP-FPM fastcgi_cache bypass specific custom header?

Hi I am trying to setup Nginx with PHP-FPM and fastcgi_cache and know I can bypass and exclude specific cookies with map $http_cookie $no_cache { default 0; ~cookiename 1; } and then bypass and ...
0
votes
1answer
352 views

another php.ini for domain with nginx php-fpm working in fastcgi

I working with nginx and php-fpm and use unix:/cls/php-fpm.socket; I have enable xcache for hole server setting it in php.ini and want to disable xcache for 1 domain I did it with this in server ...
0
votes
0answers
75 views

PHP Script Time Out - Fastcgi

I have a PHP script that times out after 7 mins. The page then displays - 500: Internal Server Error. I have tried to increase nginx and fastcgi timeouts but the issue remains. Also nothing shows up ...
1
vote
0answers
187 views

User Uploaded Images– Blank Post – Connection reset by peer / FastCGI: incomplete headers

To give a little background, I have a website that permits users to upload images. WordPress is used as a content management system and the posts are immediately published with the image inserted as ...
0
votes
0answers
106 views

How Should I Properly Handle Multiple Nginx Location Blocks?

I think I am getting close, but I am missing something important in nginx configuration. I would like all files ending in .php to be handled by fastcgi, so I have the following block: location ~ ...
2
votes
1answer
1k views

Apache FastCGI server connection failure

I have a virtual machine base box for Debian wheezy that I've been using with vagrant for the last few months without any issues, however yesterday when I brought up a new machine and updated/upgraded ...
0
votes
0answers
97 views

Can't run django with lighttpd and FCGI

I'm trying to run django on lighttpd but I'm not able to do it. In logs I see this: 2014-05-30 13:45:32: (log.c.166) server started 2014-05-30 13:45:32: (mod_fastcgi.c.1103) the fastcgi-backend ...