Click to See Complete Forum and Search --> : Oracle Extensions Instal


Anon
05-02-2001, 03:24 AM
Hi All!
I instaled Apache 1.3.14 with PHP 4.04 on Win 98. Evything is OK, and pages like
<? echo(\"Hello World\"); ?>
going OK, but i have to connect to Oracle, and I have to ON php_oci8.dll
and I wrote in php.ini
extension_dir=\"c:/!apache/php/extensions\"
and
extension=php_oci8.dll
then I restarted Apache and when I start pages like
<? OCILogOn (...); ?>
the browser thinking and thinking and tinking and nothing happend

what is wrong
Thanks for help

Anon
05-02-2001, 06:51 AM
It sounds like the Oracle client libraries that PHP is calling are taking a long time to resolve the database service name into an actual machine to connect to. It should eventually time out and return an error message (example: ORA-12154 - Could not resolve service name).

Can you connect to the Oracle database using 'sqlplus username/password@servicename' from that userID on that machine?

Also try running your PHP script from the command line so that you can see any other errors when PHP might be encountering.

-- Michael
Darkstreak Consulting
www.darkstreak.com