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 <whme...@gmail.com> 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---