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
1answer
34 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
18 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
votes
0answers
16 views

Sending emails via smpt on FastCGI

I am using django 1.6.5 on FastCGI server (Windows Server 2012 R2) and am trying to send crash report emails via smtp.gmail.com on port 587. In the development environment the settings work perfectly, ...
1
vote
0answers
10 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
46 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
51 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
25 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
33 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
82 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
39 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
83 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
44 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
17 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
39 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
58 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
61 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
74 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
152 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
15 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
28 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
64 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
23 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
138 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
48 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
61 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
155 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
216 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
90 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
240 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
144 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
56 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
0answers
92 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
28 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
45 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
53 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
176 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
45 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
67 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
1answer
508 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
57 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
155 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
46 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
48 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
160 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 ...
0
votes
1answer
204 views

PHP eat 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 256MB memory limit and never had single "out of memory" fatal error. Now on IIS i have ...
0
votes
1answer
85 views

How to add fastcgi support to nginx?

I'm trying to setup roundcube in my server with nginx on CentOS. this tutorial says: Add the following to the bottom of /etc/nginx/fastcgi_params: # Roundcube config fastcgi_keep_conn on; ...
0
votes
1answer
109 views

Add a PHP Handler to a website or even a folder only via AppCmd

I am trying to automatically deploy an IIS webserver (currently 8.5, will need to work it out all the way down to 7.5 as well), using AppCmd.exe I am using PHP's FastCGI to handle requests. I have ...
0
votes
1answer
313 views

CSS & JS & images = 404 for WordPress blog in Rails + Nginx environment

I'm pulling out my hair on this one. You can see yourself here - http://starterpad.com/blog/ - that all the images, CSS, and JS files are 404 errors. The main StarterPad site (http://starterpad.com) ...
0
votes
0answers
149 views

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

having some issues with 'file not found' or FastCGI sent in stderr. From what I have searched and researched about the issue it's due to the fastcgi_param SCRIPT_FILENAME not being able to locate the ...
1
vote
1answer
205 views

Nginx rewrite module not working

I've read a lot of topics about it, but couldn't solve my problem. After moving from APache to Nginx I can't set rewrites to handle my forums friendly urls. My forums is in /forum/ location of the ...