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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Installation problem - mysql_connect


Go to End


2 Posts   1745 Views

Avatar
dc

Community Member, 3 Posts

3 January 2008 at 10:58am

I just installed SS and am having issues with the install script.
"Call to undefined function: mysql_connect()"

The error fires in MySQLDatabase.php. I've got mysql on my machine (5.0.41) and can interact with it just fine via the cmd line. phpinfo() does not show any mySql related info, I'm running PHP 5.1.4.

The php.ini file points to the file in my Zend installation - I also have php installed at C:\php....wondering if that might have something to do with it. The other suspicious part is that my download of SS contains mysql version 5.0.24, so I imagine that doesn't jive with the DLL that it's using...?

Avatar
dc

Community Member, 3 Posts

4 January 2008 at 2:03am

Fixed - crazy how actually reading the instructions helps.

I uninstalled, downloaded the PHP installer since I already have Apache and MySQL installed - works like a champ!