🙁
Le démon php-fpm écoute sur 127.0.0.1:9000 et non sur un socket unix
~/etc/php-fmp.d/ww.conf
listen = 127.0.0.1:9000
Le block server est bien configuré
~/etc/nginx/sites-available et sites-enabled
server {
listen 80;
}
server {
server_name testsite.local;
access_log /srv/www/testsite.local/logs/access.log;
error_log /srv/www/testsite.local/logs/error.log;
root /srv/www/testsite.local/public_html;
location / {
index index.html index.htm index.php;
}
location ~ \.php$ {
include /etc/nginx/fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /srv/www/testsite.local/public_html$fastcgi_script_name;
}
}
~etc/nginx/nginx.conf est bien configuré
## Load virtual host conf files. ##
include /etc/nginx/sites-enabled/*;
index index.html index.htm;
server {
listen 80;
server_name localhost;
root /srv/www/testsite.local/public_html;
=========
localhost dans la barre d'adresse indique un autre chemin