Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Installation problem - mysql_connect

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

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

Page: 1
Go to End
Author Topic: 1187 Views
  • dc
    Avatar
    Community Member
    3 Posts

    Installation problem - mysql_connect Link to this post

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

  • dc
    Avatar
    Community Member
    3 Posts

    Re: Installation problem - mysql_connect Link to this post

    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!

    1187 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.