Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

SS not recognizing Mysql DB


Reply


3 Posts   423 Views

Avatar
Anton

Community Member, 2 Posts

29 May 2013 at 11:48am

Hi

I have installed Apache 2.4 + PHP 5.4.15 + MySQL 5.6 on a Windows 7 machine.
I was able to fix the initial errors that popped up for the install, but not the database recognition part.

I am getting the following error:

"SilverStripe has the module installed, but PHP is missing the required extension

The PHP extension is missing, please enable or install it."

I have enabled Mysql in PHP, but I am not sure what is missing here.
I am able to connect to the DB via HeidiSQL, but SS would not see it... not sure what the problem is,
I have attached the php.ini file and phpinfo output... for reference...

Any help would be greatly appreciated...

Regards

Anton

Avatar
simon_w

Forum Moderator, 474 Posts

29 May 2013 at 12:30pm

You need to enabled the MySQLi extension.

Avatar
Anton

Community Member, 2 Posts

29 May 2013 at 1:02pm

wow! .. that fixed the issue.. didnt guess mysqli was required ..
Thanks for your help Simon... much appreciated...

Regards

Anton