Login
Register
Home
Wiki Knowledge Base
FreeDNS
Facebook
Linux Support
Control Web Panel
MENU
Home
Help
Search
Login
Register
Control Web Panel
»
WebPanel
»
PHP
»
File not found error using Nginx -> Varnish -> Apache -> Php-Fpm
« previous
next »
Print
Pages: [
1
]
Author
Topic: File not found error using Nginx -> Varnish -> Apache -> Php-Fpm (Read 2622 times)
0 Members and 1 Guest are viewing this topic.
mahmedamin
Newbie
Posts: 2
File not found error using Nginx -> Varnish -> Apache -> Php-Fpm
«
on:
July 25, 2022, 08:59:15 PM »
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
Note:
when I change the file extension to '.html', it works fine, the issue only persists when the file extension is '.php'
Please help!
«
Last Edit: July 25, 2022, 09:05:02 PM by mahmedamin
»
Logged
Starburst
Hero Member
Posts: 1145
Re: File not found error using Nginx -> Varnish -> Apache -> Php-Fpm
«
Reply #1 on:
July 26, 2022, 03:14:58 PM »
What version OS and CWP?
If HTML works OK, but not PHP, sounds more like a bug somewhere.
Logged
PakPos
Full Member
Posts: 408
Re: File not found error using Nginx -> Varnish -> Apache -> Php-Fpm
«
Reply #2 on:
July 26, 2022, 05:26:23 PM »
re install PHP then rebuild the webserver
i dont know if there is any 1 click to install php + rebuild webserver
Logged
mahmedamin
Newbie
Posts: 2
Re: File not found error using Nginx -> Varnish -> Apache -> Php-Fpm
«
Reply #3 on:
July 27, 2022, 06:38:29 AM »
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.
Logged
Print
Pages: [
1
]
« previous
next »
Control Web Panel
»
WebPanel
»
PHP
»
File not found error using Nginx -> Varnish -> Apache -> Php-Fpm