I checked my php.ini file and there is no ; in front of extension=php_mysql.dll or extension=php_mysqli.dll. I think the I am getting this error because my figuration File (php.ini) Path is C:\Windows. How would I change it to C:\Apache2.2\php\php.ini? Also, once I have done this do I need to recompile my php and how would I do that. Also, would I need to use php.ini as my extension or could I just use C:\Apache2.2\php?

Try this code.
It will print all php configuration.
So that you can check existing dlls.


// Show all information, defaults to INFO_ALL

// Show just the module information.
// phpinfo(8) yields identical results.


Thanks, I needed to change the path of php.ini field. Once I did that it worked fine