Re: My first try with PHP and Oracle ..
| From: | Christopher Jones | Date: | Wed, 22 Nov 2006 21:52:02 +0000 |
| Subject: | Re: My first try with PHP and Oracle .. | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-42727@lists.php.net to get a copy of this message | ||
Matthias Bareuther wrote:
Hello everybody, I'd like to connect to OracleDB using AdoDB. Here's my sourcecode so far : <?php error_reporting(E_ALL); include '/srv/www/htdocs/adodb/adodb.inc.php'; $conn = &ADONewConnection('oracle'); $conn->debug = true; $conn->PConnect($host,$user, $pass, $dbase); ?> When I load the site, it alway sais : 'MyServer-IP': Missing extension for nativeThe AdoDB software is written in PHP and connects to your Oracle database using PHP's oci8 library calls. You can get AdoDB's "Missing extension" error when oci8 is not enabled in PHP. There are lots of installation documents that show how to configure PHP with oci8 enabled. One is at: http://www.oracle.com/technology/tech/php/pdf/underground-php-oracle-manual.pdf Chris -- Christopher Jones, Oracle Email: Christopher.Jones@oracle.com Tel: +1 650 506 8630 Blog: http://blogs.oracle.com/opal/