maybe try using a relative path instead of an absolute path when pointing to the .dll .... i had this problem just last nite. i put in c:\program files\php\sapi\php4apache2.dll and it didn't work
so i changed the path to ../../php/sapi/php4apache2.dll and it works fine now
the ../ means up one directory