Jump to content

PHP connection to Oracle...


blee1222

Recommended Posts

So I am trying to connect to Oracle via Pear in PHP.  I get the following error when I try to execute the connection...

 

MDB2 Error: not found, [Error message: extension oci8 is not compiled into PHP] **

 

The PHP version is 5.2.6 and the WAMP version is 2.0.  I have the php_oci8 extension enabled.  The oracle version is 9.2.  I am running the PHP app on Windows XP. \MDB2\Driver\oci8.php is part of the included files.

 

I am just looking for some other options to try and trouble shoot this.  Has anyone else been able to connect to Oracle through WAMP using PHP and Oracle?  I am just looking for any other options I can look at, or if any one has any ideas on what I am going wrong.

 

I do not believe the error is a syntax error.

 

$dsn = 'oci8://wasabi:*********@bplex_db:1521/DATABASENAME';

 

Any suggestions would be most helpful.

 

Thanks in advance.

 

B

Link to comment
https://forums.phpfreaks.com/topic/118123-php-connection-to-oracle/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.