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

learn more… | top users | synonyms

0
votes
0answers
18 views

Nginx: Conditional request gunzip when `Content-Encoding: gzip` is set

How would it be possible in nginx to evaluate if the Content-Encoding: gzip request header is set (coming from a web client to nginx), and then let nginx gunzip the request before it gets forwarded to ...
0
votes
0answers
13 views

FastCGI mod_fcgid: ap_pass_brigade failed in handle_request_ipc function

I have a problem with my webserver configuration. I have searched the whole Web for these errors but no Solution worked for me, thats why i have to ask again. Sometimes i get an error 500 with these ...
1
vote
1answer
24 views

Nginx as reverse proxy in front of Apache

Current Setup Single CentOS 6 VPS with 6G memory running apache 2.2, mariadb & PHP via FastCGI. Server has mostly wordpress sites, but also has some other PHP based sites. Right now we are not ...
0
votes
0answers
25 views

Disable nginx fastcgi_cache when disk is full

When there is no disk space, nginx is still able to work correctly. It can serve static files, and it can pass the request to a fastcgi server (such as PHP), and it can serve the dynamic response to ...
3
votes
1answer
22 views

PHP FPM, location nesting vs unnested for avoiding code execution

Is there any advantage using: location ~ \.php { location ~ \..*/.*\.php$ { return 403; } fastcgi_pass ...
1
vote
0answers
19 views

Nginx / git / fastcgi server not working

I set up all the needed components for a Git server on Nginx using FastCGI and followed the combined suggestions of a few tutorials to end up with this configuration: server { listen 80; listen ...
1
vote
1answer
13 views

Why does a new application pool identity have write access?

I am running IIS 8.5 with PHP (various versions) via FastCGI. Impersonation is on in the PHP config for FastCGI. The app pool is set to use the App Pool Identity. In fact, if I actually ...
1
vote
1answer
26 views

Nginx serving C++ cgi script: response is binary format

I am trying to run C++ CGI script on nginx. I am using FCGIWrap with script from nginx website. The program code is like this: #include <iostream> using namespace std; int main () { cout ...
0
votes
0answers
37 views

Setting up nginx and php-fpm on CentOS 7 - which config file do I alter? I'm so lost

I'm intermediate with Ubuntu and Apache, but a total noob to CentOS. I want to setup a 1 CPU 1 GB RAM test VPS for a phpbb 3.1 forum, and I'm following this tutorial: How To Install Linux, Nginx, ...
1
vote
0answers
18 views

Website trying to pull up a page from a different site

We've had an issue come up a couple times in the past month or so, and I don't know what is causing it. After the first time, we wrote it off as a fluke, but it happened again today, so I'm looking ...
1
vote
0answers
40 views

fastCGI sent in stderr: “Primary script unknown” while reading response header from upstream files exist

I've looked at other answers but I'm still failing to see the issue with these configs: user nginx; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log ...
0
votes
2answers
83 views

Error with apache 2.4 and PHP 5.6.14-0+deb8u1 With fpm

I have a Vagrant machine with: Apache/2.4.10 (Debian) PHP 5.6.14-0+deb8u1 and PHP-FPM. In some case I get this error: 500 Internal Server Error. And I have this in message in php5-fpm.log ...
0
votes
1answer
56 views

NginX fast CGI don't cache static file

I configure fastCGI to cache with NginX. It work with .php file, but i can't cache static file like .jpg, .mp4... My infomation when check with cURL: curl -I http://192.168.1.223/music.php HTTP/1.1 ...
0
votes
0answers
101 views

FastCGI sent in stderr: NGINX error upstream

Hoping that anyone can help me with a cryptic error in nginx I have. If you look below I've pasted the error I get when I try to upload a movie, and if it helps it's with this ...
0
votes
1answer
43 views

nginx makes /dev/root full

On my server, /dev/root is getting full very fast after each reboot: a munin graph showing it if i type sudo lsof | grep "deleted" i get: nginx 6012 www-data 44u REG ...
0
votes
1answer
23 views

Is there a way to enable a log file to spawn-fcgi and fcgiwrap?

I'm trying to setup Bugzilla. I'm getting a 403 error. There are no error messages in the nginx error log file. I'm pretty sure that the 403 message is being sent from upstream. I say that because ...
0
votes
1answer
52 views

Nginx Subdomain using FastCGI-Mono-Server4

I have 1 subdomain in addition to the main website, all running on nginx + fastcgi-mono-server4. PROBLEM: I have to make the subdomain use a different port (port 81) for all the .conf/.webapp files ...
1
vote
0answers
7 views

Php-fpm corrupts my socket permission on startup

I've installed Apache2.2 with FastCgi module, and PHP-fpm on a Centos server. I configure FastCgi with an external server using the socket option: FastCgiExternalServer ...
1
vote
1answer
33 views

How to avoid url with fastcgi_cache?

How to avoid url with fastcgi_cache? no need cache list e.g projectdomain.com/a projectdomain.com/b projectdomain.com/c/d vi /etc/nginx/nginx.conf http { fastcgi_cache_path ...
0
votes
0answers
70 views

too many php-cgi.exe instances in IIS 7.5

I have a Windows Server that has random spikes of high CPU usage and upon looking at ProcessExplorer and Windows Task Manager, it seems that there are a high number of php-cgi.exe processes running ...
0
votes
0answers
158 views

Error reading data from FastCGI server

it has been 2 days I try to find a solution about this problem in all forums but i can't still find a solution. First of all I have to tell this is a server has 64GB RAM and 12 cores AMD with Plesk 12 ...
1
vote
0answers
16 views

IIS server slows down with only a few tens of requests

I'm using IIS 7.5 with PHP and I'm having troubles with my application, it is VERY slow and it can take more than 30 seconds to respond sometimes. I believe this is due to some kind of queue of ...
1
vote
0answers
329 views

mod_fcgid: ap_pass_brigade failed in handle_request_ipc function

I have been struggling for weeks with this error: (32)Broken pipe: mod_fcgid: ap_pass_brigade failed in handle_request_ipc function followed sometimes with this error: (104)Connection reset by ...
0
votes
0answers
29 views

Slow accessing HTTPS when ran via IIS (FastCGI)

Outgoing connections to HTTPS websites (or web services) are running very slowly through my IIS server (but not the CLI). I need to know where to look to find the problem setting and/or conflict. ...
0
votes
0answers
57 views

NginX on windows with PHP-CGI support

I have downloaded nginx (portable zip) and updated the nginx.conf file like so: worker_processes 1; worker_rlimit_nofile 10000; error_log logs/error.log crit; events { ...
1
vote
0answers
44 views

nginx,php-fpm error while with apache no errors

I have a opencart application deployed with nginx,fastcgi. Im using RDS as Mysql server. Lately,I have been having this errors in my log and I ran load test with siege for 400 concurrent users.I'm ...
0
votes
1answer
78 views

WordPress in sub-directory is serving root index.php on nginx fastcgi

I am encountering a weird problem on my NGINX server. As explained in the Codex I moved wordpress from my root directory to a subdirectory /blog/. It shows the blog index successfully, but if I want ...
0
votes
2answers
655 views

Increasing FcgidMaxProcesses does not help to solve “mod_fcgid: can't apply process slot” error

I have a dedicated apache server with high resources. RAM - 64GB Cores - 20 with CentOS 6.7 x64 and Image - FCGI statistics with phpinfo I run Magento application with MySQL as database ...
-1
votes
1answer
37 views

How do I supposed to run Nginx + Django site connected together by UNIX socket?

runfcgi.py:18: RemovedInDjango19Warning: FastCGI support has been deprecated and will be removed in Django 1.9. What to use instead? I don't want Nginx and Django site to share user account, chroot ...
0
votes
1answer
146 views

Serve php-fpm via nginx for a specific path in URL defaulting to static content

I'm trying to run two websites on the same hostname where one serves static content (an AngularJS application) and the other one routes all requests to PHP (API written using Apigility) but only for a ...
0
votes
0answers
18 views

Nginx php5-fpm and Server interaction

I am running an Nginx web server with php5-fpm and a cms on a Debian and I'm not much experienced with web. I want to run cgi scripts on it. For example, I want to have a shut.cgi and when I type to ...
0
votes
1answer
112 views

How can I get apache to only pass through to fastcgi on .php files?

We're running a different version of PHP for one of the sites, so we've configured fastcgi. But requests to any files, even static css and js is being passed through. How can we limit it to php only? ...
0
votes
0answers
78 views

FastCGI: manager (pid YYYYY): server (pid XXXX) exited with status 13

FastCGI: manager (pid 6776): server (pid 20254) exited with status 13 FastCGI: manager (pid 6776): server (pid 18918) started FastCGI: server (pid 18918): initialized I am getting above mentioned ...
0
votes
0answers
82 views

Package libapache2-mod-fastcgi is not available when trying to install FPM on Debian 7.8

I'm using Vagrant with Debian 7.8 and wanted to clone our production server. Our production server has php-fpm installed, however, I'm not able to install it. When trying to install my packages for ...
1
vote
1answer
95 views

How to fix nginx 'no input file' when path and permissions are fine?

I know this is a common question, but I found no discussion matching exactly with my case. nginx error log shows: FastCGI sent in stderr: "Unable to open primary script: ...
0
votes
0answers
139 views

nginx with perl fastcgi-wrapper not working after reboot

I am configuring perl/CGI with Nginx on CGI shopping cart site. (I have other sites on different directory, php-fpm running on socket. ) My goal is to successfully set up perl-fastcgi running on ...
0
votes
0answers
15 views

FastCGI sent in stderr: Unable to open primary script, Permission denied while reading response header from upstream [duplicate]

having some issues with 'Permission denied' or FastCGI sent in stderr. /etc/php-fpm.d/www.conf file listen = /tmp/php5-fpm.sock listen.allowed_clients = 127.0.0.1 ;listen.owner = nginx ...
1
vote
1answer
102 views

Allowed memory size of (whatever) bytes exhausted - Windows PHP

I have been trying to find advice on troubleshooting this issue for while but have been unable to find anything which relates to my situation. I am running PHP 5.6.0 on a brand new Windows 2012 R2 ...
0
votes
1answer
298 views

Nginx redirect failure for icingaweb2

I'm trying to configure IcingaWeb2 using Nginx, and having some issues with it. The suggested Icinga Nginx configuration is: location ~ ^/icingaweb2/index\.php(.*)$ { # fastcgi_pass 127.0.0.1:9000; ...
1
vote
1answer
47 views

All of my .html pages give a 500 error. All .php files work fine

I just stepped over from IIS 5 to IIS 8.5. I had trouble installing ISAPI Filters and FastCGI but I managed to get almost everything working. The only problem I'm facing now is that all of .html pages ...
1
vote
0answers
24 views

Apache/nginx: pinned client certificates and FastCGI

Is it possible to have Apache or nginx accept only pinned client certificates and pass knowledge about the client's certificate to a FastCGI response handler?
1
vote
1answer
263 views

Two separate PHP-FPM sites seem to be using the same code?

I have two websites with two codebases, yet when I change one codebase, I see the change in both. I have two checkouts of the same website. They are set up to use PHP-FPM through Apache2 with ...
0
votes
0answers
172 views

Vagrant FastCGI comm with server timeout

I'm trying to set up a vagrant box provisioned with puppet that installs a LAMP stack with php-fpm (apache 2.2 / php 5.5 / mysql5.5). It also adds a magento project in /var/www/src with the following ...
0
votes
0answers
186 views

FastCGI apache reload issue (suexec)

I am trying to setup a a django (mod-wsgi) app on a server on the subdomain accounts.mysite.com (D.O. Droplet). When I try to reload apache, I get the following errors: AH00526: Syntax error on line ...
0
votes
0answers
194 views

nginx FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream

i use nginx first./etc/nginx/sites-enabled/default config : server { server_name 45.33.54.201 45.33.54.201; listen 82; # ipv6only=on; limit_conn one 20; ...
1
vote
2answers
300 views

Can't get apache working after installing nginx & hhvm

I had Apache2 running on my local ubuntu machine and I installed nginx & hhvm on my local for debugging purposes by following this tutorial. I would now like to switch back to Apache2 as I had it ...
0
votes
0answers
75 views

IIS 7.5 - PHP environment variables at the site-level

I have two versions of the same application (demo & staging) running on the same IIS server. The application relies on an environment variable via getenv("APP_ENV") to set configuration ...
0
votes
1answer
646 views

FastCGI: “comm with server aborted: read failed” only for one specific file

Related question: FastCGI and Apache 500 error intermittently The solution does not work for me. The problem: I have a Laravel 5.1 application (was in production on other servers ...
0
votes
0answers
80 views

No script name passed to php-fpm via nginx/FastCGI

I run a PHP 5.6 instance over php-fpm without a problem (unix sockets and nginx). Today I compiled PHP 7 and also started it as a second PHP instance. While requests get served fine with the PHP 5.6 ...
0
votes
0answers
72 views

Lighttpd + spawn-fcgi + perl = processes die randomly

We are running lighttpd with spawn-fcgi that spawns the following perl script: use strict; use CGI::Fast; use FCGI::ProcManager qw(pm_manage pm_pre_dispatch pm_post_dispatch); my $proc_manager = ...