i resolved this. you need to make sure that php cli is configured with mysql support. on my system, this meant editing /etc/php5/cli/php.ini to load the mysql.so extension.
what i hadnt realised was that the php cli uses its own php.ini. thanks anyway, lukemack. On 28 Jan, 02:37, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote: > On 1/27/07, lukemack <[EMAIL PROTECTED]> wrote: > > > Fatal error: Call to undefined function mysql_connect() in /var/www/ > > cake/libs/model/dbo/dbo_mysql.php on line 102Might sound like a silly > > question - but can you connect to MySQL using PHP? > > If not then you need to install whatever is the equivalent of > php_mysql*.rpm on your system > > HTH > Tarique > -- > ============================================================= > PHP for E-Biz:http://sanisoft.com > Cheesecake-Photoblog:http://cheesecake-photoblog.org > ============================================================= --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
