Apache / WAMP: Error because unable to load unwanted PHP extensions
===

When trying to restart WAMP, it stops at the Yellow status.

The apache_error.log says:

> PHP Warning:  PHP Startup: Unable to load dynamic library
> 'c:/wamp/bin/php/php5.3.5/ext/php_pdo_sqlsrv.dll' - The specified
> module could not be found.\r\n in Unknown on line 0<br>
> PHP Warning:  PHP Startup: Unable to load dynamic library
> 'c:/wamp/bin/php/php5.3.5/ext/php_sqlsrv.dll' - The specified module
> could not be found.\r\n in Unknown on line 0 <br>
> PHP Warning:  PHP Startup: Unable to load dynamic library<br>
> 'c:/wamp/bin/php/php5.3.5/ext/php_zip.dll' - The specified module
> could not be found.\r\n in Unknown on line 0<br>
> PHP Warning:  PHP Startup: sqlsrv: Unable to initialize module\nModule compiled with
> build ID=API20090626,TS,VC9\nPHP    compiled with build
> ID=API20090626,TS,VC6\nThese options need to match\n in Unknown on
> line 0<br>
> PHP Warning:  PHP Startup: pdo_sqlsrv: Unable to initialize module\nModule compiled
> with build ID=API20090626,TS,VC9\nPHP   compiled with build ID=API20090626,TS,VC6\n
> These options need to match\n in Unknown on line 0

I no longer need those extensions, so I went to the ***WAMP>PHP>PHP Extensions*** menu and tried to uncheck those ext's, and it throws this error:

> Could not execute menu item (internal error)<br>
> [Exception] Could not perform service action:<br>
> The service has not been started.

So I opened my php.ini's directly in my text editor, and commented out those extensions, then restarted WAMP.<br>
Now, those extensions appropriately do not show as being active in the ***WAMP>PHP>PHP Extensions*** menu, but each time I restart WAMP Server, the apache_error.log gets new entries saying that it can't find those extensions.

What on Earth  is going on here???

Any tips / pointers?


