Looks like your host did not include PDO in the CLI installation. check the output of php -i (there has to be a whole section of PDO in the output).
Otherwise they need to fix this. Pablo On Sun, Apr 5, 2009 at 4:37 PM, xhe <[email protected]> wrote: > > I am using symfony 1.2, and for the command line task, when I run it > in my local windows environment, it is no problem, but after I run it > in my shared web hosting environment, I got this fatal error; > > Fatal error: Class 'PDO' not found in /home1/transla1/public_html/ > symfony-clb/lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/ > propel/util/PropelPDO.php on line 42 > > Does this mean my web hosting provider did not include PDO class > compiled with their command line php? But in my web environment, I can > user symfony 1.2 with PDO, and checking phpinfo, the php web > environment is already compiled with PDO support. So, how can I use > PDO in CLI task environment? Does this have to be solved only by my > hosting provider? Or can I solve it by myself? > > Thanks. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
