Maybe it's not loading the mysql extension. Command line php, have a
different php.ini from the apache's module. Find it, then look there
for mysql.so/mysql.dll

You can run in a command line:

php -m

that will give you the list of extensions loaded by php-cli.


2007/11/29, lynch <[EMAIL PROTECTED]>:
>
> I think, the mysql extension is installed.
>
> I tested it with:
>
> <?PHP
> echo PHP_VERSION . "<br>";
> echo "XML:" . extension_loaded('xml') . "<br>";
> echo "imap:" . extension_loaded('imap') . "<br>";
> echo "mysql:" . extension_loaded('mysql') . "<br>";
> echo "iconv:" . extension_loaded('iconv') . "<br>";
> ?>
>
> ....and i got the following output.
>
> 5.2.5
> XML:1
> imap:
> mysql:1
> iconv:
>
> But i still got the same mysql connect error! What could this mean?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to