Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Problem connecting to Oracle from PHP script.
I have a solaris server that has apache and php and Oracle 7 installed on it (all within a localhost)
Problem connecting to Oracle with PHP,
Return Error:
The Php module on the hosts apache was configutured with Oracle support:
'--with-oracle'
$ORACLE_HOME = /opt/oracle/app/oracle/product/733 which is correct
PHP script function:
Ora_Logon open an Oracle connection
int ora_logon (string user, string password); /*I have an db account and I put the right user and pass in*/