• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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