Help w/Zend Studio install...

This is a discussion on Help w/Zend Studio install... within the PHP Language forums, part of the PHP Programming Forums category; Hi... OK...I'm having difficulty understanding a problem with installing Zend Studio 5.5 on an Intel Mac. Prior ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-19-2007
JoeT
 
Posts: n/a
Default Help w/Zend Studio install...

Hi...

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:

<?php
ini_set('include_path',ini_get('include_path').'.:/Users/joet/Zend/
ZendStudio-5.5.0/bin/ZendFramework/library/');

require_once 'Zend.php';
require_once 'Zend/Db.php';

$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/
joet/Zend/ZendStudio-5.5.0/bin/ZendFramework/library/Zend/Db/Adapter/
Pdo/Abstract.php:80

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?

Thanks,
Joe
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 10:00 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0