I tried running both libphp4.so and libphp5.so modules at the same time by putting this in my /etc/httpd/conf.d/php.conf file:
LoadModule php5_module modules/libphp5.so
LoadModule php4_module modules/libphp4.so
AddHandler php5-script .php
AddHandler php-script .php4
AddType text/html .php
AddType text/html .php4
Doesn’t work… apache will restart, but any pages I hit seg fault now. Ug, oh well, it was worth a shot. My collegue told me he read it wasn’t possible, and I’ve seen some forum posts to support this, but I wanted to be sure. Unless there is a magic trick, cannot do it as apache modules.
————-
SOLUTION: