Re: My first try with PHP and Oracle ..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 native

The 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@xxxxxxxxxx    Tel: +1 650 506 8630
Blog:  http://blogs.oracle.com/opal/

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux