Nginx stopped working after installing php8.5 via the Ploi interface. After some research it seems that the fastcgi_read_timeout directive was duplicated because of a typo in the config filename:

$ nginx -t
nginx: [emerg] "fastcgi_read_timeout" directive is duplicate in /etc/nginx/conf.d/fastcgi-max-execution-time.conf:1
nginx: configuration file /etc/nginx/nginx.conf test failed
$ sudo grep -rn fastcgi_read_timeout /etc/nginx/
/etc/nginx/conf.d/fastcgi-max-excecution-time.conf:1:fastcgi_read_timeout 30;
/etc/nginx/conf.d/fastcgi-max-execution-time.conf:1:fastcgi_read_timeout 30;

The first record found has "excecution" in the name instead of "execution"

Nginx crashes after php8.5 installation

1 total vote
  • ephex moved item to project Servers

    21 hours ago
  • ephex created the item

    21 hours ago
Quick Actions
Activity
View recent activity and updates
Use arrow keys to navigate