Nginx Web UI - How to PHP? reddit / selfhosted ---------------------------------------------------------------------- maxwolt · 2023-10-31 22:53 How to install PHP in [https://nginxui.com](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 ---------------------------------------------------------------------- hdddanbrown · 2023-10-31 23:01 The amount of lazy low effort techsupport posts here is definitely increasing. ---------------------------------------------------------------------- skc5 · 2023-11-01 00:50 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. ---------------------------------------------------------------------- ElevenNotes · 2023-11-01 07:50 That happens when google does not provide any good result but points at reddit for everything. ---------------------------------------------------------------------- kmisterk · 2023-11-06 18:46 just sounds like PHP and PHP-FPM aren't installed. Sounds like you found some basic template to enable PHP and copy- pasted the contents of that nginx file to match, but haven't actually checked if PHP is installed locally.