Click to See Complete Forum and Search --> : Custom PHP Error Pages in IIS


davids12345
12-18-2001, 01:40 PM
Hi

How can I make IIS process PHP pages as error pages (error 404 for example)? When I set a PHP page as an error page, the browser retrieves it as plain text

I am using IIS on Windows XP and PHP as a CGI

Thanks in advance

Anon
03-13-2002, 09:42 PM
I was kind of hoping that someone would have solved this by now...

I still can not use PHP pages for customizing the error pages with IIS.

All my other php pages/sites work ok but when I try to include any php in a custom error page its back to "I'm a dumb web server I don't know what I'm doing with this stuff" (or I'm a dumb admin that doesn't know how to configure PHP on IIS).

IIS 5, PHP 4, Custom Error Pages aaargh.

Cheers'

Dan