Thread Starter
zaqedc
(@zaqedc)
Also uncommented these from the php.ini:
extension=php_pdo_mssql.dll
extension=php_pdo_mysql.dll
Problem persists.
Thread Starter
zaqedc
(@zaqedc)
Set up MySQL Database and edited wp-config.php per the wordpress installation instructions, on the off chance it might help. No joy. If anyone has a suggestion I’d appreciate.
Thread Starter
zaqedc
(@zaqedc)
Thanks for the reply. I’ve followed instructions given in that thread to the letter, but still no joy I’m afraid. The very same error appears.
A poster in that topic mentions re: the phpinfo() file:
“If there is no mysql or mysqli section there is an issue with the mysql extension.”
This is the case with me, neither of those sections appear in the phpinfo file. I downloaded the zip folder again from the php website and used it’s ext folder to overwrite the one currently in my c:\php folder, on the off chance something there was corrupt or something.
Again, the problem persists. If it is an issue with the php extensions, how would you go about fixing that? There seems to be only one place to get them from…
Any phpinfo file you’re using to check configs and your php.ini are completey different animals and have no interaction with each other. You can’t simply copy a php install or folder and expect it to work; php has to be configured. If you’re trying to run localhost, use http://www.apachefriends.org/en/xampp.html
Thread Starter
zaqedc
(@zaqedc)
I’m not sure I understand what you mean. I wasn’t copying an entire install, just the extensions folder, and even then just as an experiment. I’ve personally made sure my php.ini settings are “by the book” each time.
I might give that xampp a go in either case. Though to be honest I’m still not sure why I’m getting that MySQL error. Thanks for your help.
Thread Starter
zaqedc
(@zaqedc)
Resolved this. Evidentally I’d left out some small setting or other from php.ini, because when I completely removed and re-installed php from zip file it works fine after configuration now!