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

learn more… | top users | synonyms

-1
votes
0answers
51 views

Frequent error 500, Apache, FastCGI, PHP 7.0.5 when serving downloads

I'm getting a lot of error 500 responses in the Apache log. This does not disrupt the server at all, because as it seems, this error happens only on downloads (which are served via PHP). I do not ...
0
votes
0answers
19 views

Change path of cookie: proxy_cookie_path for fastcgi (PHP)

I know there is proxy_cookie_path in nginx for changing the path of a cookie when using a nginx as a reverse proxy. (It works similar to overriding the domain of a cookie.) However I'd like to do the ...
0
votes
1answer
55 views

Cannot get php5-fpm to work on Ubuntu 14.04 with Apache 2.4.7

I have been trying for two days now to upgrade my regular LAMP stack to use php5-fpm and event-mpm, but it just doesn't want to work! At this point seems like I've tried everything to make it work, ...
1
vote
0answers
22 views

Vagrant, Apache and FastCGI uses huge cpu

I cannot really grasp why it's so slow. Site loads really slow. And vboxheadless hits more than 100% cpu every request. I use 2048 memory and 1 cpu. Here is activity monitor and top: ...
1
vote
0answers
24 views

nginx prevent loss of POST parameters when rewriting uri

I would like to do some url rewriting on nginx with php-fpm. Namely, routing all requests to php scripts to a single script like: /index.php?fulluri=(originaluri) Many ways to approach the problem: ...
0
votes
1answer
52 views

nginx fastcgi caching - multiple different expire times

I need to set up NGINX so that different locations would have different expire times for caching and some would have caching disabled. This is my current setup: fastcgi_cache_path /etc/nginx/cache ...
0
votes
0answers
39 views

Unable to get Nginx/Apache + FastCGI + PHP-FPM + HTTP/1.0 to use Keep-Alive

For a reason beyond my control (an app that cannot be modified), I need to get a server that processes HTTP requests for PHP pages over FastCGI, to honour "Connection: Keep-alive" (sent by said ...
0
votes
0answers
50 views

PHP/FastCGI: Is “&QUOT” the cause of fatal error?

I'm trying to set up Wallabag, a PHP application, for the users on my site. This is one of a number of PHP applications running on a LEMP setup with PHP 7.0 (default on Ubuntu 16.04) When I visit ...
0
votes
1answer
9 views

IIS FastCGI scriptProcessor with spaces in Path?

I am trying to configure a FastCGI Module - the whole thing works fine if I use a path without spaces, but our application is installed into C:\Program Files and other paths where spaces are common. ...
0
votes
2answers
39 views

nginx+fastcgi+php-fpm step from standard config = 404

I want to work simple url like http://host/test.php, note there are no trailing / at the end. I start from standard config from nginx site + serverfault: location ~ [^/]\.php(/|$) { ...
0
votes
0answers
48 views

php-fpm or nginx are not cooperating well (multipart issue)

I setup a: nginx as https and as upstream php-fmp on ubuntu server 15.10 - 1 core now: nginx receives simple multipart request via ssh POST [path] HTTP/1.1\r\n Host: [host]\r\n Connection: ...
1
vote
2answers
79 views

Which PHP setup should I use for a shared hosting environment (fpm, fcgi, proxy, module)?

I'm currently working on a web hosting management panel for running PHP websites (like Plesk or cPanel). I was researching the best possible ways of running PHP with Apache. mod_php is out of the ...
1
vote
0answers
96 views

How do I allow users to override X-Frame-Options when using Apache + PHP-FPM?

I have an Ubuntu 14.04 server running Apache + PHP-FPM + FastCGI, serving user home pages. For security, I have enabled in Apache's configuration: Header set X-Content-Type-Options: "nosniff" Header ...
0
votes
0answers
84 views

Running FastCGI applications with nginx

In an attempt to reduce RAM usage for a small internal application server, I am trying to migrate from Apache to nginx. The server needs to serve Munin graphs (and run the accompanying FastCGI Perl ...
0
votes
1answer
58 views

nginx php-fpm how to disable log warnings?

I've a setup with nginx + php-fpm. I found in my nginx error log a lot of PHP Warning messages like this: 2016/03/17 20:57:23 [error] 23002#0: *114868 FastCGI sent in stderr: "PHP message: PHP ...
0
votes
0answers
74 views

mod_fcgid: error reading data from FastCGI server

This is my first post here although I often do search and find answers here. This time I've spent a couple of days searching various sites but unfortunately none of the answers in other threads helped ...
0
votes
0answers
32 views

nginx server block with fastcgi_param

i have: fast cgi on tcp defined 2 vhost A, B in nginx the second B vhost has in php location block fastcgi_param PHP_ADMIN_VALUE open_basedir= for example when i browse first A site and then ...
1
vote
0answers
52 views

Nginx setting fastcgi_cache_valid

I have been trying to set 2 different cache times. I need a microcache for single request. And all other requests should be cached for longer time. All requests must go to location block, so that ...
1
vote
1answer
92 views

FastCGI sent in stderr: “Primary script unknown” + Owncloud

I experience a weird error with my nginx/php5-fpm configuration. I already posted this question on the owncloud forums and asked the nginx forum, but they have no idea. As i searched serverfault, the ...
0
votes
0answers
42 views

Ceph Gateway always shows error 500

I have problem with radosgw. I have pass this tutorial but without success: http://docs.ceph.com/docs/hammer/radosgw/config/ When I try: curl http://porunov.com I always get the same page: ... ...
0
votes
0answers
65 views

Apache with mod_php fpm fastcgi, which is most secure?

I have a web server to install and I would like to have your minds about my choice of using mod_php instead of fastcgi of fpm. On the web server there is only one Drupal website and only one system ...
0
votes
1answer
52 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 ...
1
vote
1answer
53 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
58 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
34 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
47 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
25 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
42 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
1answer
82 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
59 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
151 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
73 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
133 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
48 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
83 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
85 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
10 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
54 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
110 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 ...
1
vote
0answers
19 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
719 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
46 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
87 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
57 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
102 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 ...
-1
votes
2answers
2k 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
69 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
269 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
19 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 ...