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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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   1563 Views


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...?


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!