That's the configure compile options for php - not what's being used.

You need to ensure the extension is loaded.
If you check your php -i output you'll either have a single php.ini being  
used or have multiple .ini files (if you have --with-config-file-path set).

The latter is more flexible but makes tracking down config issues a little  
more complex.

Essentially you're looking to have an entry like: extension=pdo_mysql.so


On Wed, 14 Oct 2009 17:13:31 +0200, cosmy <[email protected]> wrote:

>
> I don't know what's the matter.. this is my php configuration for
> mysql:
>
> --with-mysqli=/Applications/MAMP/Library/bin/mysql_config
> --with-pdo-mysql=shared,/Applications/MAMP/Library
>
> do you have an idea?
>
> On 14 Ott, 15:39, cosmy <[email protected]> wrote:
>> Great, you were right
>> PDO
>> PDO support => enabled
>> PDO drivers => sqlite, sqlite2
>> PDO Driver for SQLite 3.x => enabled
>>
>> there's no drivers for mysql, but i have this line enabled in
>> php.ini:
>> extension=pdo_mysql.so
>>
>> But i've learnt something new ;)
>> Sharing knowledge is a great thing,
>> thank you very much
>>
>> On 14 Ott, 15:26, Gareth McCumskey <[email protected]> wrote:
>>
>>
>>
>> > Hah! You learn something new everyday
>>
>> > On Wed, Oct 14, 2009 at 3:21 PM, Eno <[email protected]> wrote:
>>
>> > > On Wed, 14 Oct 2009, Gareth McCumskey wrote:
>>
>> > > > To make sure about this create a php file (lets call it  
>> php_info.php)that
>> > > > only contains:
>>
>> > > > <?php
>> > > > phpinfo();
>> > > > ?>
>>
>> > > > Then run it on command line as:
>>
>> > > > php php_info.php | grep PDO
>>
>> > > Or just run:
>>
>> > > php -i |grep PDO
>>
>> > > --
>>
>> > --
>> > Gareth McCumskeyhttp://garethmccumskey.blogspot.com
>> > twitter: @garethmcc
> >


-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to