HTML error files
HTML error files
I have manually installed PHP version 7.4 onto my Debian 9 server running VestaCP with Apache2 and Nginx (using this guide: viewtopic.php?f=41&t=17129)
When I get a file not found error when an incorrect PHP file name is typed into the URL bar I no longer get the normal 404 page but just get some plain text. Other file types work. How can I configure it so that PHP files give the right error document pages?
(http://prntscr.com/xbgrn6)
When I get a file not found error when an incorrect PHP file name is typed into the URL bar I no longer get the normal 404 page but just get some plain text. Other file types work. How can I configure it so that PHP files give the right error document pages?
(http://prntscr.com/xbgrn6)