Questions tagged [fcgi]
53 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?
Jason Christa
- 622
- 4
- 11
- 21
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
- 2
- 5
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
- 2
- 5
9
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,135
- 1
- 14
- 26
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…
Chris Rockwell
- 143
- 1
- 1
- 4
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_
- 257
- 2
- 9
3
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 / {
…
thpetrus
- 57
- 1
- 1
- 10
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…
meder omuraliev
- 1,701
- 3
- 20
- 30
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
- 239
- 5
- 13
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
- 1
- 4
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…
Linux Intel
- 183
- 1
- 3
- 16
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…
Zayatzz
- 159
- 3
- 12
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
- 3
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…
John Goofy
- 129
- 4
1
vote
0 answers
The dreaded End of script output before headers
I have a site running PHP 5.2.17 (the PHP version is non-negotiable for various reasons, technical and policy) with fcgi. This version of PHP was installed through PHPFarm so that I could run other versions of PHP on different subdomains on this…
Richard Scott Crawford
- 31
- 1
- 1
- 6