ID: 36321
Comment by: crescentfreshpot at yahoo dot com
Reported By: gwalschaerts at cg19 dot fr
Status: No Feedback
Bug Type: OCI8 related
Operating System: windows2003
PHP Version: 5.1.2
New Comment:
This 'bug'/issue seems to be gone in the latest 5.1.3RC2 win32 build.
statement resources and lob descriptors seem to all be freed
automagically.
Previous Comments:
[2006-04-06 03:27:22] crescentfreshpot at yahoo dot com
This is caused by not freeing the variable holding the resource
returned from ociparse after you're done with it.
Try:
$this->Requete_Id = OCIparse($this->Connect_Id, $Query);
// ...
OCIFreeStatement($this->Requete_Id);
Should fix the problem.
I believe this free-ing is *supposed* to happen automagically when the
variable falls out of scope or your script ends (it does in the
mysql(i) extension as well as pdo_oci) but is not happening in oci8
5.1.2 (obviously). Not sure if that is expected behaviour (should be
documented nonetheless).
[2006-02-15 01:00:04] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
[2006-02-07 16:46:03] [EMAIL PROTECTED]
Please try using this CVS snapshot:
http://snaps.php.net/php5.1-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.1-win32-latest.zip
[2006-02-07 16:44:05] gwalschaerts at cg19 dot fr
Description:
i have a crash when i script this
$this->Requete_Id = OCIparse($this->Connect_Id, $Query);
in php 5.1.1 it's run perfectly
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
--
Edit this bug report at http://bugs.php.net/?id=36321&edit=1