one issue may not really by a PHP issue, but hoping someone can
help nonetheless..
I have php 4.4.7 and 5.2.2. When I load libph5.so, any php files are
displayed as text, ie source code.
I have
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
AddHandler php-script php
AddType text/html php
LoadModule php5_module modules/libphp5.so
in my httpd.conf. This is a os/x box.
So with php4 loaded (replacing php5_module and libphp5.so with 4),
when trying to use gallery2 or coppermine, I get
Error: your PHP __FILE__ directive is not functioning correctly.
Please file a support request with your webserver administrator or in
the Gallery forums.
Any suggestions?