P. 1
The Underground PHP and Oracle Manual

The Underground PHP and Oracle Manual

|Views: 38|Likes:
Published by silviupirvu

More info:

Published by: silviupirvu on Nov 18, 2010
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less






This parameter is the length in seconds that an Apache process maintains an idle persistent connection.
Setting this parameter to -1 (the default) means there is no timeout. If a connection has been expired, the
next time oci_pconnect() is called a new connection is created. It is not an asynchronous timer.
The expiry check happens whenever any PHP script finishes, regardless of whether OCI8 calls were
made. This is an unresolvable weakness with PHP: you want idle connections to be closed, but if PHP is
idle then no scripts execute and the timeout is not triggered. Luckily Oracle 11g connection pooling makes
this issue irrelevant.

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->