Did you change the apache config to use the new PHP module instead of the old one? You're going to need the following in your httpd.conf:
LoadModule php5_module "D:/webserver/php/php5apache2.dll"PHPIniDir "D:/webserver/php/"
...or something to that effect.