Do you have a question? Post it now! No Registration Necessary. Now with pictures!
December 19, 2007, 2:53 pm
rate this thread
OK...I'm having difficulty understanding a problem with installing
Zend Studio 5.5 on an Intel Mac.
Prior to the install, I had the zend /library installed, and was able
to successfully run Zend_Db commands against a local mysql server
(5.1) from the commandline (e.g. php testdb.php). This stuff ran just
fine. The code is simply:
$config = array(
'host' => 'localhost',
'username' => 'test',
'password' => 'test',
'dbname' => 'test',);
$db = Zend_Db::factory('PDO_MYSQL', $config);
print_r($db->fetchAll("SELECT * FROM testdata"));
Now, if I run the exact same code from Zend Studio, I get the message:
<b>Fatal error</b>: Uncaught exception 'Zend_Db_Adapter_Exception'
with message 'The mysql driver is not currently installed' in /Users/
I am assuming that there is some setup issue that is causing Zend
Studio to work incorrectly.
Can anyone shed some light on where I might look to resolve the issue?
- » Bad connection / maximum execution time exceeded PHP?
- — Previous thread in » PHP Scripting Forum