Hello everyone!
I am using Nginx > Varnish > Apache for serving websites.
But when I am trying to use php-fpm with the above server setting, I am getting "File not found" / 404 error
I am using the default template
Snapshot link: https://drive.google.com/file/d/1OhOJ_Nyr03ekBpEwsGVvAuFCJ-3bilEP/view?usp=sharing (https://drive.google.com/file/d/1OhOJ_Nyr03ekBpEwsGVvAuFCJ-3bilEP/view?usp=sharing)
Note:
when I change the file extension to '.html', it works fine, the issue only persists when the file extension is '.php'
Please help!
What version OS and CWP?
If HTML works OK, but not PHP, sounds more like a bug somewhere.
re install PHP then rebuild the webserver
i dont know if there is any 1 click to install php + rebuild webserver
The issue was resolved by changing php-fpm version from 7.4.1 to 7.4.30
I think the issue existed in that version.
Thanks.