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

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
12 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
32 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
33 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
64 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
68 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
25 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
13 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
78 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
101 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
45 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
63 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
122 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
51 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
197 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
51 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
33 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 = ...
0
votes
0answers
51 views

PHP5 FastCGI too slow Page loading

My Websites loading time is really terrible (too slow) so I started a Benchmark to check what is going on. The CPU is running 100% and Memory usage seems to be good. Read a lot of Documentations and ...
0
votes
0answers
63 views

PHP-FPM + Apache (403 forbidden message)

Im having trouble installing php-fpm. When ever I install it and open a php file i get a 403 forbiden status code Looking at the logs is see client denied by server configuration: ...
0
votes
1answer
86 views

php-fpm: locale settings change themselves

I experienced a bug with php-fpm : locale settings change themselves randomly. Here are the correct locale settings: Array ( [decimal_point] => . [thousands_sep] => ...
-1
votes
1answer
86 views

Wordpress Site Broken After Updating Theme [closed]

If I leave out needed details, please tell me. I'm running Nginx on Ubuntu 14.04 x64. I use php5-fpm. Currently I am battling with my PHP installation, and it's causing a couple problems now. See my ...
0
votes
1answer
320 views

nginx on fedora fastcgi not working

I'm running nginx on Fedora Server 22 and fastcgi scripts are not working. Under http://panel.minefight.org/ enter any login data, it doesn't load the password fail or success site. The same thing ...
0
votes
0answers
19 views

Can't seem to get fastcgi_cache_use_stale to work

So I have two browsers open and am requesting a page: http://localhost/test.php Once every 10 seconds the cache expires and when I refresh the page it takes 5 seconds to load the script, store in ...
0
votes
1answer
39 views

Staticfiles for Django cannot be located on IIS 8

I have a Django 1.7 website configured on IIS 8 platform. The staticfiles are kept in a folder generated after running collectstatic command. As mentioned in the tutorials I have made that folder a ...
0
votes
0answers
96 views

PHP Script execute time in ubuntu 14.04, FastCGI and suPHP

I have a big projekt, where run a cronjob every night. In this job run a php file. This file avarage run time was 30 to 60 minutes. I was try any solutions to solve the problem, but I can't solved ...
-2
votes
1answer
26 views

php-fastcgi.socket does not exist

I am following this tutorial, and have gotten thus far: I have installed the following packages using apt-get install nginx php5-cli php5-cgi spawn-fcgi psmisc. Despite installing PHP FastCGI, I do ...
0
votes
1answer
286 views

Temporarily website outages, fastcgi PHP communication abborted

I've noticed that my web server has occasional 1-5 minute outages every day. I've checked the Apache error log and found the following: [Sun May 10 14:13:19.299784 2015] [fastcgi:error] [pid ...
0
votes
0answers
67 views

Nginx passing Server $status through fastcgi

i'm passing through fastgci the server $status to handle the errors_page with a php file. like so. fastcgi_param REDIRECT_STATUS $status; this way works but is clearly not the "correct" way ...
0
votes
1answer
74 views

How to dynamically update page related data when FastCGI caching is enabled?

I am using php based blog on NGINX server with FastCGI cache. Without this cache, it is easy to update pageviews with every page load for a specific url. When FastCGI cache is in action, pageviews ...
1
vote
1answer
290 views

FastCGI cache is always a MISS

So, I've setup FastCGI cache like this: location ~ \.php(/.*)?$ { fastcgi_cache RWI; fastcgi_cache_valid 200 60m; set $nocache 0; if ($request_method = POST) { set ...
0
votes
0answers
254 views

nginx + fastcgiwrap = 502 Bad Gateway

I'm trying to execute a cgi script on my web server. I'm running Debian 7.8 (wheezy), with nginx 1.8.0 and fastcgiwrap 1.0.3-3 (both installed via aptitude). Here are my nginx settings (taken from ...
1
vote
2answers
107 views

Disable Gateway Timeout for Specific Nginx Port / Folder

How can I disable the nginx timeout when accessing through a specific port, or simply a specified folder. Whichever is easier. Basically I have some scripts which need to execute for a long period ...
0
votes
2answers
281 views

100% CPU usage on my CentOS VPS

I have a 512 MB VPS and hosting 2 WordPress websites on this CentOS server. I have installed apache + mysql + PHP + fast cgi on this server. Everything was working great from last 6 months. I have 500 ...
-1
votes
1answer
161 views

5 second delay for OnlyOffice (mono-fastcgi & nginx) on Linux

Setup Debian 8 (jessie) - fully up to date. Server is in local network, ping <=1ms, bandwith 10..40 Mbit (bing -s 124 -S 1024 localhost <server>) the server is also running some other ...
0
votes
1answer
65 views

Nginx FastCGI Caching possible on custom URL's?

I am trying to build a custom caching solution for my website with FastCGI caching. I'm trying to cache only certain URL's that get a boat load of traffic. I know from my logs exactly which URL's ...
0
votes
1answer
143 views

Nginx fastcgi_cache hide Set-Cookie when serving from cache

I'm trying to use nginx fastcgi_cache to serve some pages from my site, it worked fine but I found that sessions were being duplicated to all the users because Set-Cookie was cached in the response. ...
1
vote
0answers
29 views

How do I configure nginx to have a server block pointing towards a django app?

Suppose I have an nginx server, with Django apps set up as "/djangoapps/exampleapp1/" and "/djangoapps/exampleapp2/". Suppose I just registered a domain "www.exampleapp2.com". How can I point ...
1
vote
0answers
53 views

FastCGI for DocumentRoot only

I'm trying to set up HHVM for one of my websites. It is running on Apache 2.4, Ubuntu 14.04. I apologize for not being the most advanced system administrator, I am more in the software engineering end ...
0
votes
0answers
65 views

Can't Get Virtual Subdirectory Locations Working in Nginx

I have my webapps each as toplevel directories under /var/www, and ideally need to stay that way.. only one hostname (_), no vhosts, so I want "/" to point to my /var/www/mainsite/, and then I want ...
0
votes
1answer
251 views

NGINX, how to strip location prefix in $fastcgi_script_name

I've already read that : how to remove location block from $uri in nginx configuration? but is there a way to strip the location blocks's prefix from the $fastcgi_script_name without using regex ? ...
0
votes
0answers
47 views

uwsgi error when serving git repo over http

I am trying to serve my git repo over HTTP on CentOS using uwsgi and nginx. However, when I try and clone the repo, my uswgi log says:- unavailable modifier requested: 9 I think that this means ...
0
votes
0answers
75 views

how to set per site php mode (mod_php5, cgi, fastcgi) in apache

i have 3 sites which are stored in /etc/httpd/conf.d/ site1.conf site2.conf site3.conf here's one <VirtualHost *:80> ServerName site1.ru ServerAlias www.site1.ru DocumentRoot ...
3
votes
2answers
621 views

munin + nginx: no dynazoom into graphs

I cannot get the Munin dynamic zoom to work. I am rather certain that the problem has something to do with the Nginx configuration. Any attempt to generate a zoomed graph triggers the following error ...
0
votes
1answer
70 views

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

Using fastcgi_split_path_info for a userdir in nginx

I'm trying to execute a PHP file on my server at the url /~nik/t.php (actual file is at /home/nik/public_html/t.php). Here's what my PHP settings look like: location ~ ^/~(.+?)(/.*)\.php$ { alias ...
0
votes
0answers
48 views

PHP/Fast-CGI only working on default page

I have configured php and fast cgi on my iis 8. It is working properly on my default page but on all other *.php sites I get Error 500: internal server error. What is wrong with my configuration? ...
0
votes
0answers
52 views

Doku wiki cannot connect to fast cgi behind ngnix

I'm trying to configure dokuwiki with ngnix. I'm using the https setup: server { server_name wiki.example.co; root /var/www/dokuwiki; index doku.php; listen 443 ssl; keepalive_requests 10; ...
1
vote
2answers
207 views

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 ...
2
votes
1answer
289 views

PHP eats a lot of memory on IIS

I just transferred one site from Linux to Windows and I'm getting strange fatal error messages. My Linux PHP had a 256MB memory limit and never had a single "out of memory" fatal error. Now on IIS I ...