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 <[email protected]> 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/vendor/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/vendor/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 [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