be aware wich config file is loaded. Usually in Xamp, Wampp or other windows distributions you might have 2-3 php.ini files. one in C:\Windows\ one in [PATH]\apache\bin\ one in [PATH]\php\ I would suggest try overwriting the php.ini file ... in the other (s) location (s). I mean if your web phpinfo() suggests that the config is in c:\foo\php\php.ini, then copy it and then overwrite it in the other locations. alecs
On Fri, Apr 17, 2009 at 6:36 PM, FÁSI Gábor <[email protected]> wrote: > > The cli often has a different php.ini, maybe you don't have pdo > enabled there. Run a phpinfo() from the command line and it will tell > you which php.ini it uses. > > On Fri, Apr 17, 2009 at 12:40, Waseem <[email protected]> wrote: > > > > i have installed symfony 1.2.5 on windows xp. and using mysql 5 and > > apache 2.0 and php 5.8 > > > > when i run this command get follwoing result. > > > > command: pear channel-discover pear.symfony-project.com > > > > result: > > > > D:\Apache2\htdocs\proj1>symfony propel:build-schema > > PHP Fatal error: Class 'PDO' not found in D:\php5\PEAR\pear\symfony > > \plugins\sfP > > ropelPlugin\lib\vendor\propel\util\PropelPDO.php on line 42 > > > > Fatal error: Class 'PDO' not found in D:\php5\PEAR\pear\symfony\plugins > > \sfPropel > > Plugin\lib\vendor\propel\util\PropelPDO.php on line 42 > > > > D:\Apache2\htdocs\proj1> > > > > > > When i rung phpinfo(); it shows PDO extensions enabled. > > > > when i run php -m it does not shoe PDO extensions enabled for mysql. > > > > please if any one has any idea about the problem help me. > > > > > > Thanks > > Waseem > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
