|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Oracle 8 not connecting to PHP on windows
I have php 4 working, Apache working, PHP and Apache talking.
I also have Oracle 8.1.7 working and can log into SQL Plus and see all files in the DB. So everything is setup and working I just can get php to connect to the DB I have tryed everything possible!!!!!!! Created evviroment variables to load in windows. ORACLE_HOME TNS_ADMIN created in conntect script PutEnv('ORACLE_HOME=E:\oracle\ora81'); PutEnv('TNS_ADMIN=E:\oracle\ora81\network\admin'); PutEnv('ORACLE_SID=svw2'); Aslo tryed without using PutEnv Aslo tryed if (!connection=OCILogon("user", "pass", "sid"); AND if (!connection=OCILogon("user", "pass", "(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SID=svw2))")); NO LUCK!!! Have uncommented the php extension oci.dll in php ini. I have done everything I know to do and evrything you can find on the web. I still get ocilogon error. Need help ASAP!!!!!!!!!!!!!!!!! |
![]() |
| Viewing: Dev Shed Forums > Databases > Oracle Development > Oracle 8 not connecting to PHP on windows |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|