Welcome! Log In Create A New Profile

Advanced

Sorry ich finde den Fehler nicht nginx führt php8.1 nicht aus

Posted by uek1967 
Sorry ich finde den Fehler nicht nginx führt php8.1 nicht aus
November 02, 2022 08:47AM
Hallo zusammen,

sorry ich finde den Fehler nicht . Ich habe mit nginx auf ubuntu 22.04 installiert mit php8.1.2 doch nginx führt php nicht aus und ich finde den Fehler einfach nicht. Meine sites-available/default schaut so aus:

server {
listen 80 default_server;
listen [::]:80 default_server;

# SSL configuration
#
# listen 443 ssl default_server;
# listen [::]:443 ssl default_server;
#

root /var/www/html;

# Add index.php to the list if you are using PHP
index index.html index.htm index.nginx-debian.html index.php;

server_name _;

location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
# 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/php8.1-fpm.sock;
# # With php-cgi (or other tcp sockets):
# fastcgi_pass 127.0.0.1:9000;
}

........

Wie muss ich das ändern bzw was muss ich noch installieren ?

DANKE
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 259
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready