blee1222 Posted August 4, 2008 Share Posted August 4, 2008 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 More sharing options...
lemmin Posted August 4, 2008 Share Posted August 4, 2008 I set up the connection to Oracle as an ODBC System DSN on the web server and just used the odbc functions. http://www.php.net/manual/en/ref.uodbc.php Link to comment https://forums.phpfreaks.com/topic/118123-php-connection-to-oracle/#findComment-607742 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.