Installed Apache2.
Copied the PHP4 & 5 into respective folders, currently using the modules folder of Apache for this.
Installed Apache2 as services using
Code: Select all
apache -k install -n "PHP4" -D PHP4 -f "C:\Program Files\Apache Group\Apache2\conf\httpd.conf"
apache -k install -n "PHP5" -D PHP5 -f "C:\Program Files\Apache Group\Apache2\conf\httpd.conf"Tweaked the httpd.conf so that the above services reads the correct line(s) in the .conf using the -D flag.
Code: Select all
<ifdefine PHP4>
LoadModule php4_module modules/PHP/sapi/php4apache2.dll
</ifdefine>
<ifdefine PHP5>
LoadModule php5_module modules/PHP5/php5apache2.dll
</ifdefine>So far, so good. The server loads both versions of PHP upon starting them. But, the extensions i commented out in the httpd.conf does not load. I'm not getting any errors (neither visually nor in the Event Viewer). the functions to the various extensions doesn't work (nor show up using phpinfo()).
Anyone that can share some light on the matter/have had the same issues?