The Problem ist the PHP which comes with MacOSX, you can found it
under /usr/bin

My resolution is to make a symbolic link to the php from MAMP, XAMPP,
Zend etc.

sudo mv /usr/bin/php /usr/bin/php.orig
sudo ln -s /usr/local/zend/bin/php /usr/bin/php

On Oct 14, 8:11 pm, david <[email protected]> wrote:
> A handy way of checking extensions when you make ini/module related  
> changes is:
>
> php -m
>
> If you see a listing of modules without errors then all tends to be ok.
> It's also a way to check if a module you're expecting to be loaded -  
> actually is.
>
>
>
> On Wed, 14 Oct 2009 20:08:05 +0200, cosmy <[email protected]> wrote:
>
> > There were a problem with imap.so extension which had blocked all the
> > other extensions..
> > now it seems ok.
> > Thank you.
>
> > On 14 Ott, 19:11, david <[email protected]> wrote:
> >> 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/
>
> --
> 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