ID: 34254 Updated by: [EMAIL PROTECTED] Reported By: inet2024 at hotmail dot com -Status: Open +Status: Bogus Bug Type: OCI8 related Operating System: win2kas PHP Version: 5.0.4 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2005-08-25 18:38:27] inet2024 at hotmail dot com Description: ------------ I am trying to get Oracle 10g to work with php5 on win2kas running IIS5. I have successfully installed all components and tested each. I have also installed oracle client, tested sqlplus and 3rd party products and ora-connect and ODBC are all working. I have set environment variables ORACLE_HOME, ORACLE_SID, ORACLE_BASE and TNS_ADMIN, and verified (printed) these from within a php program. The php_oci8.dll loaded successfully. The tnsnames.ora, sqlnet.ora and listener.ora are all configured and contain the correct SID and naming. I have tried to connect (see below) using both TNSNAMES and EZCONNECT methods, neither work. I have read and read and read on how to set this up, and all looks fine on my end - but no connect. Reproduce code: --------------- $db_connoci = ocilogon("username", "password", $db_db); where $db_db = ORACLE_SID (which has been verified correctly). also tried with $db_db = "\\hostname\Oracle_SID" (for EZCONNECT) Expected result: ---------------- Connection to Oracle Actual result: -------------- ORA-12154 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34254&edit=1
