Re: [PHP-DB] My first try with PHP and Oracle ..

2006-11-22 Thread Chris

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 list would be the best place to ask:

http://adodb.sourceforge.net/#mail

--
Postgresql  php tutorials
http://www.designmagick.com/

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



Re: [PHP-DB] My first try with PHP and Oracle ..

2006-11-22 Thread Christopher Jones

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: [EMAIL PROTECTED]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