$c1 = oci_connect("scott", "tiger", $db);
Does anyone try that in windowsXP pro or linux?
My problem is it needs around 6 secs to connect. For example, I have a PHP script running on apache, and trying to connect the local oracle9i from the php script. Then, use the browser to view the php script.
Everything work fine, however php connects to the Oracle 9i slowly, and it takes few seconds to complete the connection to the database. I got no problem with mysql. It just take me less than a second to connect.
Does anyone know what happen to oracle 9i? Is it Oracle listener's problem or php_oci8.dll problem. Does this happening in linux?