Hi,
I'm running Windows XP, and have installed CakePHP(latest stable),
Apache2.2, MySQL, and PHP5.
In the cake\app\config\database.php file I have the following defined.
var $default = array('driver' => 'mysql',
'connect' =>
'mysql_connect',
'host' =>
'localhost:3306',
'login' =>
'root',
'password' =>
'',
'database' =>
'my_project',
'prefix' => '');
I get the following error when I load cake:
Your database configuration file is present.
Fatal error: Call to undefined function mysql_connect() in C:\Program
Files\Apache Software
Foundation\Apache2.2\htdocs\cake\cake\libs\model\dbo\dbo_mysql.php on
line 101
Any ideas on what is wrong?
Thanks,
Greg
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---