Questions tagged [fcgi]
54 questions
0
votes
2 answers
fcgi only using one processor?
I'm working on a setup which uses fcgi/nginx.
It seems to be running correct (24 children and 500 max requests), except that all of the phpfcgi instances are piling on one core. When I run top, I see 1 core around 3%, the one running the fastcgi…
user47133
0
votes
1 answer
Does PHP ala FCGI use the IIS-AppPool or the FCGI AppPool on IIS6
I've got an IIS6 (win2k3 server) setup using PHP via FCGI (microsofts install this time); and I know FCGI has its own Application pool of sorts; I was wondering therefore if this means that the PHP is isolated from the IIS AppPool?

Chris McKee
- 3,489
- 2
- 20
- 16
0
votes
1 answer
django fcgi - call a management command with subprocess.Popen
I'm using an app called django-chronograph. It has a code of line which works in my dev environment and does not work in production:
p = subprocess.Popen(['python', get_manage_py(), 'run_job', str(self.pk)])
This line crashes in production with:…

Tom
- 113
- 1
- 7
0
votes
1 answer
HTTPD + MPM_EVENT + PHP_FPM
I have created a docker container with the following
OS: Debian 11
WebServer: httpd2.4 (Enabled mpm_event)
Backend: PHP-FPM
Docker is running in EC2 and I have given 10GB RAM and 5CPU for the docker container.
Everything is working on the UI and my…
0
votes
1 answer
Apache 2.4: ProxyPassMatch prevents mod_rewrite?
I try to setup a new development-environment in docker, with:
Bitnami Apache 2.4 - bitnami/apache:2.4
Bitnami PHP 8.0 - bitnami/php-fpm:8.0
Bitnami Mysql 5.7 - bitnami/mysql:5.7
The whole thing is up and running fine, except:
In my vhost.conf i…

Mojo78
- 1
- 1
0
votes
1 answer
Mail is not sent via php mail() on CentOS7 DirecAdmin Exim php fcgi
I spent the whole day trying to fix this problem, so I decided to share. Maybe it will save someone time)
Problem: Mail is not sent via php mail();
The Exim log shows nothing.
System:
CentOS7
DirecAdmin with CustomBuild 2.0.0
Exim 4
php fcgi (5.6…

White Crown
- 1
- 1
0
votes
1 answer
Apache not sending headers to PHP over FCGI/PHP-FPM
I have a virtual host configured to process PHP files over Proxy:FCGI, and it works fine, except that PHP is not receiving custom headers and others, like "Origin".
Here my Apache 2.4 virtual host:
ServerName domain.localhost
…

Diogo Braga
- 441
- 1
- 8
- 17
-1
votes
2 answers
php-cgi dies quietly every few hours in low traffic
php-cgi -v
PHP 5.2.11-pl1-gentoo (cgi-fcgi) (built: Dec 21 2009 09:10:29)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
System info
dev-lang/php-5.2.11-r1
gentoo 10.1
Update: I'…

Cheng
- 741
- 2
- 9
- 16
-3
votes
1 answer
How to install multiple PHP versions in Virtualmin 6, Debian 9
By default Debian 9 comes with PHP 7, but I was interested in PHP 5 for older websites as well.
I tried following/adapting this guide (not virtualmin specific)
https://pehapkari.cz/blog/2017/03/27/multiple-php-versions-the-easy-way/
But this is the…

Hayden Thring
- 147
- 16