You are not providing enough information - e.g.:
- Is the PHP script executed in command line (e.g. CRON) or http mode ?
Uncommenting those two lines does NOT mean that extensions are truly loaded.
- Did you check
phpinfo() output for HTTP mode or
> php -i output for CLI mode - to verify what PHP modules are loaded?
- Did you check error logs for web server or windows logs? (control panel -> admin tools -> event viewer -> windows logs -> application)
Also see here:
https://stackoverflow.com/questions/8954964/how-to-set-error-log-for-php-cli/30823469#30823469