How to install PHP in https://nginxui.com?
I tried to

try_files $uri =404;

fastcgi_pass unix:/var/run/php/php8.1-fpm.sock;

fastcgi_index index.php;

include fastcgi.conf;

but error occures…

Nginx Configuration Parse Error

2023/10/31 23:53:32 [emerg] 7645#7645: open() “/etc/nginx/fastcgi.conf” failed (2: No such file or directory) in /etc/nginx/sites-enabled/axis-group:10 nginx: [emerg] open() “/etc/nginx/fastcgi.conf” failed (2: No such file or directory) in /etc/nginx/sites-enabled/axis-group:10 nginx: configuration file /etc/nginx/nginx.conf test failed

  • skc5@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Step 1: Read your error messages closely before posting them to Reddit.

    Step 2: There’s no such file or directory. Put the file there or rename it correctly and you’ll be Gucci.