• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

How do I enable PHP handling on Custom Error Pages

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
 
Back
Top