I have PHP5 enabled on a domain of mine.
It is DreamHost's php5, not my own compile.
I created a php script to generate an image, and named it xml.png
I gave it a .png extension because I can't trick phpBB into displaying files with a non-image like extension.
So what I did was I named it xml.png and added the following to my .htaccess:
But apparently, that makes the PHP4 binary parse the xml.png file, which in turn errors because simplexml does not exist in PHP4 -_-.
This is quite unexpected, is it a problem with the Type setting? application/x-httpd-php5 ?
Or a ceveat of php-cgi?
Can anyone give me a solution?