My first try with PHP and Oracle ..
am 21.11.2006 16:23:01 von Matthias Bareuther
Hello everybody,
I'd like to connect to OracleDB using AdoDB.
Here's my sourcecode so far :
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
I asked google about this message, but the links I found didn't really
help me. :-(
Does anyone know, what's the meaning of this message? And how to solve
the problem?
Thank you .. in advance .. ,-)
Greetz
Matthias
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: My first try with PHP and Oracle ..
am 22.11.2006 22:14:09 von Chris
Matthias Bareuther wrote:
> Hello everybody,
>
> I'd like to connect to OracleDB using AdoDB.
>
> Here's my sourcecode so far :
>
>
> 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: My first try with PHP and Oracle ..
am 22.11.2006 22:52:02 von Christopher Jones
Matthias Bareuther wrote:
> Hello everybody,
>
> I'd like to connect to OracleDB using AdoDB.
>
> Here's my sourcecode so far :
>
>
> 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-ph p-oracle-manual.pdf
Chris
--
Christopher Jones, Oracle
Email: Christopher.Jones@oracle.com 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