Bonjour

J'ai un Apache2, et j'aimerai faire tourner plusieurs versions de PHP en mode FPM dessus.
J'ai compilé les versions de PHP dont j'ai besoin, avec l'option --enable-fpm, en suivant ce tuto : http://www.distrogeeks.com/install-m...u-lamp-server/
Sur mon PC (Ubuntu 15.04, Apache 2.4.10), ça a marché tout de suite, très bien.
Mais sur ma prod (Ubuntu Server 14.04, Apache 2.4.7), en suivant le même tuto, quand je veux accéder à une page php, je tombe dans le timeout de 30 sec (timeout par défaut si PHP-FPM ne répond pas, d'après ce que j'ai compris).

Je pense que mon problème se situe au niveau de la communication entre Apache et PHP-FPM, et je n'arrive pas du tout à comprendre d'où ça vient ... J'ai fouillé un peu partout, mais je n'ai pas trouvé de solution.

Config du VHost :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<VirtualHost *:80>
        ServerName benchmarks.loc
        ServerAdmin webmaster@localhost
        DocumentRoot /home/steevan/dev/infodroid/benchmarks
 
        <Directory />
                AllowOverride All
                Require all granted
                Options -Indexes
		AddHandler php-cgi .php
		Action php-cgi /cgi-bin-php/php-cgi-5.5.18
        </Directory>
 
        ErrorLog ${APACHE_LOG_DIR}/benchmarks-error.log
        CustomLog ${APACHE_LOG_DIR}/benchmarks-access.log combined
</VirtualHost>
Config /etc/apache2/conf-enabled/php-cgisetup.conf :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
FastCgiServer /var/www/cgi-bin/php-cgi-5.5.18
ScriptAlias /cgi-bin-php/ /var/www/cgi-bin/
Log d'erreur :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
[Fri Oct 23 10:29:49.007086 2015] [fastcgi:error] [pid 26766] [client 127.0.0.1:35629] FastCGI: comm with server "/var/www/cgi-bin/php-cgi-5.5.18" aborted: idle timeout (30 sec)
[Fri Oct 23 10:29:49.007162 2015] [fastcgi:error] [pid 26766] [client 127.0.0.1:35629] FastCGI: incomplete headers (0 bytes) received from server "/var/www/cgi-bin/php-cgi-5.5.18"