Hello,
I have searched this forum all other php forums, google and other net resources for sum help on this..
I have PHP 4.3.8 running on IIS with Oracle 9i running on the same machine. All i am trying to do is connect to an oracle database through PHP but i am having no luck at all.. This is beginning to really fustrate me now.
Please could someone help and tell me how to configure my system to get this to work??
All i find on the net is disjointed information on how php connects to oracle but no clear tutorials..
The php script i am trying to run is
if ($c=OCILogon("SCOTT", "tiger", "PRACTICE")) {
echo "Successfully connected to Oracle.\n";
OCILogoff($c);
} else {
$err = OCIError();
echo "Oracle Connect Error " . $err[text];
}
The error i am getting is
Fatal error: Call to undefined function: ocilogon() in c:\inetpub\wwwroot\test.php on line 2
PHP Warning: Unknown(): Unable to load dynamic library './php_oci8.dll' - The specified module could not be found. in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library './php_oracle.dll' - The specified module could not be found. in Unknown on line 0
I have un-commented the dll files from php.ini.. this is as far as i can get up to now...
Please Please Plaase can sumone give me a clear tutorial on how to configure php and oracle to work together..