Thanks!  This helped.  Now I've got a few other issues, but this one is solved.

-- Emily

At 11:05 PM 6/9/2009, Jonathan Wage wrote:
>Sometimes apache and the command line have different php.ini files. 
>Make sure you are editing the php.ini for apache. You can check the 
>location of your php.ini by checking phpinfo(); in a php script 
>which is executed from the browser/apache.
>
>Thanks,
>
>Jonathan H. Wage (+1 415 992 5468)
>Open Source Software Developer & Evangelist
><http://sensiolabs.com>sensiolabs.com | <http://jwage.com>jwage.com 
>| <http://doctrine-project.org>doctrine-project.org | 
><http://symfony-project.org>symfony-project.org
>
>
>On Wed, Jun 10, 2009 at 12:29 AM, Emily 
><<mailto:em...@armadillosoft.com>em...@armadillosoft.com> wrote:
>
>Sorry, I meant:  It did NOT solve the problem.
>
>-- Emily
>
>At 10:20 PM 6/9/2009, Emily wrote:
>
> >Thanks for the suggestion.
> >
> >I have restarted Apache each time.  It did solve the problem.
> >
> >-- Emily
> >
> >At 08:39 PM 6/9/2009, Dheeraj Kumar Aggarwal wrote:
> > >Hi
> > >
> > >i don't know the solution of your problem .
> > >but may be it can be solved by restarting the apache.
> > >have you restart your apache after changing the php.ini file.
> > >because apache loads the configurations again untill it is restarted.
> > >
> > >On Wed, Jun 10, 2009 at 8:35 AM, Emily
> > ><<mailto:em...@armadillosoft.com><mailto:em...@armadillosoft.com> 
> em...@armadillosoft.com> wrote:
> > >
> > >I used to be able to run my Symfony 1.2.4 application on Virtual Box
> > >2.0 with Ubuntu 8.1
> > >
> > >I upgraded to Virtual Box 2.2 and Ubuntu 9.04.   I get the following
> > >error: Couldn't locate driver named mysql.  Frontend_dev.php reports
> > >that the error as follows:
> > >
> > >500 | Internal Server Error | Doctrine_Connection_Exception
> > >Couldn't locate driver named mysql
> > >stack trace
> > >
> > >     * at ()
> > >       in
> > >SF_ROOT_DIR/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/ven
> > dor/doctrine/Doctrine/Connection.php
> > >line 473 ...
> > >              470.             if (class_exists($class)) {
> > >              471.                 $this->dbh = new
> > >$class($this->options['dsn'], $this->options['username'],
> > >$this->options['password']);
> > >              472.             } else {
> > >              473.                 throw new
> > >Doctrine_Connection_Exception("Couldn't locate driver named " .
> > >$e[0]);
> > >              474.             }
> > >              475.         }
> > >  476.
> > >     * at Doctrine_Connection->connect()
> > >       in
> > >SF_ROOT_DIR/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/ven
> > dor/doctrine/Doctrine/Connection/Mysql.php
> > >line 101 ...
> > >
> > >My theory about why this is is that the file that used to be
> > >installed as php_pdo.so is now installed as pdo.so and the file that
> > >used to be installed as php_pdo_mysql.so is now installed as
> > >pdo_mysql.so.  But I could be wrong.
> > >
> > >I have enabled the extension lines in my php5/cli/php.ini file to
> > >point to the proper file names.
> > >
> > >phpinfo.php tells me:
> > >
> > >PDO support     enabled
> > >PDO drivers     no value
> > >
> > >I am not at liberty to upgrade my version of Symfony.
> > >
> > >Any suggestions as to how I can inform Symfony of where the 
> mysql driver is?
> > >
> > >TIA,
> > >
> > >-- Emily
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >--
> > >Regards,
> > >Dheeraj
> > >
> > >
> >
> >
>
>
>
>
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to