Questions tagged [fastcgi]

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

FastCGI is an open interface web servers can use to run applications as separate isolated processes. It is an enhancement of the original NCSA CGI interface specification, with a range of improvements. The primary improvement over the standard CGI approach offered by FastCGI is performance, hence the name.

FastCGI is supported by a broad range of Web Servers (such as Apache, nginx, lighttpd).

730 questions
1
vote
0 answers

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 getting this error FastCGI sent in stderr: "PHP…
5ud0
  • 11
  • 2
1
vote
1 answer

Getting waaay too many "Spawning Local" fastcgi messages

I've got Lighttpd running 7 Python apps via fastcgi on an Ubuntu server. I turned on fastcgi debugging in the Lighttpd configuration and noticed something very weird in the logs: Normally, when you start up Lighttpd/fastcgi you get a message in the…
1
vote
1 answer

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: /usr/share/nginx/drupal7/index.php But: this path is correct, this is the…
Giova
  • 143
  • 1
  • 1
  • 7
1
vote
1 answer

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 VPS. My PHP App was originally on another 2012 VPS…
superphonic
  • 75
  • 1
  • 11
1
vote
2 answers

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; fastcgi_pass unix:/var/run/php5-fpm.sock; …
lithiium
  • 205
  • 2
  • 9
1
vote
1 answer

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 will give me a 500 error. Underneath here is the…
JKL
  • 111
  • 3
1
vote
0 answers

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?
DarthGizka
  • 111
  • 1
  • 5
1
vote
0 answers

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 2 of…
user114253
  • 131
  • 3
1
vote
2 answers

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 before, previously I had both Apache & NGINX with…
Holly
  • 1,027
  • 5
  • 14
  • 25
1
vote
1 answer

mod_fcgid + Python + Apache 2.2 / RHEL 5 : output to error_log, not browser

I'm trying to get a Django + mod_fcgid setup working (mod_wsgi is tricky as I have a statically-linked Python. Don't ask.) While this was trivial on my Mac OS X development box, getting it running on the server has, so far, proven impossible. With…
Nate
  • 229
  • 4
  • 9
1
vote
1 answer

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 without any problems) running on a fresh Ubuntu 14.04 server with…
Quasdunk
  • 179
  • 1
  • 3
  • 10
1
vote
1 answer

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] => [int_curr_symbol] => [currency_symbol] => [mon_decimal_point]…
1
vote
2 answers

Temporarily website outages, fastcgi PHP communication aborted

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 2599:tid 139669761148672] [client 174.34.156.130:13278]…
gijs007
  • 117
  • 1
  • 4
  • 18
1
vote
1 answer

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 that are, but they are always changing. Is there a…
Mr.Boon
  • 1,471
  • 4
  • 24
  • 43
1
vote
0 answers

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 www.exampleapp2.com to my django app? From reading the…
waltzer
  • 11
  • 1