pi os lite 64 bits NginX PHP installé mais non visible à l'extérieur
Posté : 21 mars 2023, 18:55
Bonjour,
Tout est dans le titre
J'ai bien édité le fichier /etc/nginx/sites-enabled/default
php est bien lancé : il répond au
Avez-vous une piste pour m'aider ?
Merci !
Tout est dans le titre
J'ai bien édité le fichier /etc/nginx/sites-enabled/default
Code : Tout sélectionner
# Add index.php to the list if you are using PHP
index index.html index.htm index.nginx-debian.html index.php;
# pass PHP scripts to FastCGI server
#
location ~ \.php$ {
include snippets/fastcgi-php.conf;
#
# # With php-fpm (or other unix sockets):
# fastcgi_pass unix:/run/php/php7.4-fpm.sock;
# # With php-cgi (or other tcp sockets):
fastcgi_pass 127.0.0.1:9000;
}Code : Tout sélectionner
php -vMerci !