Questions tagged [fcgi]

55 questions
14
votes
5 answers

Nginx/PHP-FPM long log lines get truncated

I am unsure is that is a Nginx or PHP-FPM setting, but long log lines are getting truncated. Is there a setting to increase the max log line length?
11
votes
6 answers

Forwarding PHP requests via ProxyPassMatch as a handler, or only when file exists

I am migrating my server to use mod_proxy_fcgi and php-fpm instead of mod_php. Apache is able to forward .php requests to the fcgi proxy and PHP executes correctly. I've got this working with: ProxyPassMatch ^/(.*\.php(/.*)?)$…
ide
  • 211
11
votes
2 answers

Access PHP-FPM's /status page manually (bypass Apache)

There is a PHP5.3.3 bug that won't allow me to view php-fpm's /status page via Apache2. Is there a way to manually access this data? I cannot upgrade the box (Ubuntu 10.10, php5.3.4 not supported). I've tried connecting using the technique here:…
mikewaters
  • 1,215
10
votes
2 answers

git on HTTP with gitolite and nginx

I am trying to setup a server where my git repo would be accessible with HTTP(S). I am using gitolite and nginx (and gitlab for web interface but I doubt it makes any difference). I have searched the whole afternoon and I think I'm stuck. I have…
Arnaud
  • 209
4
votes
2 answers

Using ProxyPassMatch for FastCGI, results in connection refused on port 9000

I'm not certain if this is a php, apache, or iptables configuration issue but I receive the following error when trying to access a .php file. Please let me know if you need more information to help me diagnose, I'm at a loss for what to check…
4
votes
3 answers

Serve a fastcgi through nginx

I have a "hello world" fastcgi running on 127.0.0.1:9000 and would like to serve it via nginx. I added the following lines to the nginx.conf http block: server { listen public.ip.address.here:80; server_name $host; location / { …
3
votes
0 answers

fcgi to serve static files with nginx

Maybe I'm wrong, so before to ask my question, I'll explain a little what I'm trying to set up : I've a VPS where I want to have multiple users sites, with permission denied to all users to see the directories of others. It's a linux but the…
hl037_
  • 277
2
votes
1 answer

Installing ikiwiki on nginx - fastcgi/fcgi wrapper

My ultimate goal is to setup ikiwiki, my current goal is to get a fcgi wrapper working for nginx, so I can move on to the next step... The ikiwiki page points out this page as an example for a fcgi wrapper: http://technotes.1000lines.net/?p=23 So…
2
votes
1 answer

Supervisord unable to shutdown fcgi processes

I've managed to set up supervisord with fastcgi on a django project of mine, the problem is that when I make mi program stop, the server keeps running somehow, and my page keeps online. Here is my supervisord program…
danielrvt
  • 249
2
votes
1 answer

lighttpd: Backend is overloaded + fcgi-server re-enabled + all handlers are down

We have a standard lighttpd deployment with PHP-CGI and our error logs are flooding with the following. This is causing a huge problem because we keep returning 500's to our clients: 2012-10-14 14:28:38: (mod_fastcgi.c.3001) backend is overloaded;…
AbuZubair
  • 123
2
votes
2 answers

FcgidProcessLifeTime no effect

I'm running PHP handler fcgid LoadModule fcgid_module modules/mod_fcgid.so FcgidMaxRequestsPerProcess 3000 FcgidMaxProcesses 3000 FcgidMaxProcessesPerClass 16 FcgidMinProcessesPerClass 1 FcgidProcessLifeTime 7200 FcgidIOTimeout…
2
votes
1 answer

FCGI & recompiling python code without restarting apache

At one hosting company, they used to run python projects with fcgi. They had set it up so that when i changed django.fcgi file, which put django & my project on pythonpath, my project code was instantly recompiled. Because of that a friend set up…
2
votes
1 answer

Apache .htaccess: SSLRequireSSL produces HTTP 500 internal server error

I have an Apache web server hosted on one.com. The OpenSSL module is active and working. I can manipulate .htaccess and I see the reactions. I want to rely on SSL, and redirection by rewriting works fine. Also, I need user authentication. It works…
Tils
  • 23
1
vote
1 answer

FastCGI NGINX permission denied error

Having trouble understanding how to correctly use FastCGI processes with NGINX. Unlike Apache, NGINX does not automatically spawn FCGI processes. So I first apt-get fcgiwrap spawn-fcgi. I spawned a fcgi process by using the command sudo spawn-fcgi…
1
vote
0 answers

How to test fcgi?

I try to use foo.pl, but using /usr/lib/fcgi-bin as my fcgi directory in the given directive. I made foo.pl executable and after editing my apache2.conf I have restarted apache2. But if I launch my browser and go to…
1
2 3 4