S
SarahW
Guest
Hi,
I already enabled PHP for my site and the PHP is working for the site. My question deals with custom error pages, which Plesk, by default, stores in the error_docs folder. I added PHP code to that file, but the system ignores all PHP code in the file. Even if I change the extension to PHP and go into IIS and change the file to a PHP one, PHP code still gets ignored. How do I get custom error pages, in this case for the 404 error, to work?
I know that it is possible, when my site was hosted previously, also on a Windows server, there were no issues with PHP custom error pages.
Thanks in advance,
Sarah
I already enabled PHP for my site and the PHP is working for the site. My question deals with custom error pages, which Plesk, by default, stores in the error_docs folder. I added PHP code to that file, but the system ignores all PHP code in the file. Even if I change the extension to PHP and go into IIS and change the file to a PHP one, PHP code still gets ignored. How do I get custom error pages, in this case for the 404 error, to work?
I know that it is possible, when my site was hosted previously, also on a Windows server, there were no issues with PHP custom error pages.
Thanks in advance,
Sarah