phpLens
 home  products examples manual  faq support forum  contact news  login store

Forums: phplens   adodb
Forums:   PHPLens Technical Support:   Replies 
New ReplySearch
Topic: ADODB Broken after Zend Server Install
author: Philip Spencer   created: 11-11-2011 01:57:03 PM
Zend Server 5.5
PHP 5.3
Win XP

We just went from PHP 5.2, Zend Core for Oracle to Zend Server 5.5 (PHP 5.3). I had previously been using ADODB to for MS ACCESS. It does not work now. If I run my script as a PHP script from the CLI, it returns nothing. If I try to run it through HTTP, I ge '500 Internal Server Error' but nothing in the Apache error log. The following code returns nothing.

$db = ADONewConnection('access');
$dsn = "Driver={Microsoft Access Driver (*.mdb)};Dbq=Northwind.mdb";
$db->Connect($dsn);
$tableParse = $db->MetaTables('TABLES');
echo print_r($tableParse);
Topic: Re:ADODB Broken after Zend Server Install
author: John Lim   created: 15-11-2011 00:46:45 AM
Hi,

I have tested adodb and access with php 5.3. Works fine.

Please make sure that odbc extension is installed and enabled in php.ini.
Topic: Re:ADODB Broken after Zend Server Install
author: Philip Spencer   created: 15-11-2011 09:03:18 AM
Thanks for the reply. Yes, it was user error. I had failed to uncomment the ODBC library.
Page 1
New ReplySearch

View Source

email: contact#phplens.com (change # to @)     telephone (malaysia): 60-3-7947 2888     fax (malaysia): 60-3-7947 2800