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
2answers
24 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
33 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
36 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
65 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
61 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
40 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
28 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
34 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
121 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
24 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
30 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
47 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 ...
0
votes
0answers
60 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
74 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
55 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
22 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
73 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
48 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
34 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
737 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
69 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
0answers
19 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 ...
0
votes
1answer
555 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
784 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
97 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
51 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
31 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
40 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
180 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
78 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
298 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
78 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
398 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
96 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
455 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
480 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
134 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
271 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
69 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
147 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
95 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 ~ ...
1
vote
1answer
771 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
92 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 ...
0
votes
1answer
176 views

Correct way to open ports for fastcgi using iptables

I'm running a server with nginx and fastcgi. I'm using TCP sockets for fastcgi rather than Unix sockets as I've read that this scales better. The fastcgi server is running on fastcgi://127.0.0.1:9000. ...
0
votes
0answers
62 views

Execute file as owner Apache + FastCGI

How to execute file as owner, because now when I execute it it runs as default user and group of apache. I want for each virtual host to run files as their owners. If now I try to run php script with ...
0
votes
1answer
30 views

What tools available for Ubuntu are best suited for starting a FastCGI application, monitoring, and restarting if it stops?

Note: This is not in regards to PHP; Language is C++ I will be using spawn-fcgi to launch the FastCGI application. I've already found the supervise tool ...
3
votes
1answer
446 views

Enable FastCGI on Apache with Puppetlabs/Apache

I'm using Puppetlabs/Apache to configure Apache. In the main puppet file, I call and configure it: class { '::apache': } class { '::apache::mod::fastcgi': } apache::vhost { "${::fqdn} non-ssl": ...
1
vote
2answers
366 views

Php file are not parsed by fastcgi in nginx

I m new to nginx my server block is server { listen 25552; server_name *.example.com; root /usr/share/myPackage; rewrite ^/$ /index.php permanent; location ~ ...
0
votes
0answers
311 views

Joomla Extension Uninstall Causes 502 Bad Gateway

We have a VPS with some PHP websites hosted on our Ubuntu 12.04 LTS servers using NGINX. In a Joomla 3 site, when uninstalling an extension that errors out, the page shows an NGINX error page with a ...
0
votes
0answers
60 views

nginx Returning 404 After Server Move (AWS)

Moved my site to a larger instance size at AWS which allocated me a new private IP and Public DNS value. The Public, elastic IP is the same. The site loads fine from Apached, but when enabling nginx ...