|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-08-22 18:46 UTC] christopher dot jones at oracle dot com
[2011-11-24 15:16 UTC] asimileac at gmail dot com
[2011-11-24 15:23 UTC] asimileac at gmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 00:00:01 2025 UTC |
Description: ------------ Hello, I'm reporting this bug not to get a fix but more to let other people know about the issue and the workaround. I used PHP 5.2.9/oci8 1.3.5 (not possible to set an earlier version :() with $ORACLE_HOME to 10g client's libraries. After the database upgrade from 10g to 11gR2, it worked fine until a crash append (core dump with apache). The matter was a new 11g functionality: password expiration! As soon as I mentioned the new $ORACLE_HOME to 11gR2 client's library, I get this PHP Warning error: Warning: oci_connect() [function.oci-connect]: OCI_SUCCESS_WITH_INFO: ORA-28002: the password will expire within 6 days BTW, thx for this extension that works pretty well. (even if I don't know why DRCP doesn't work with RAC... surely an Oracle issue more than this driver !) Regards, Wilfried Reproduce code: --------------- <?php $co = oci_connect('user', 'pwd', 'db'); Expected result: ---------------- // with 11g $ORACLE_HOME Warning: oci_connect() [function.oci-connect]: OCI_SUCCESS_WITH_INFO: ORA-28002: the password will expire within 6 days Actual result: -------------- // with 10g $ORACLE_HOME => ORA-28002 is not supported => httpd goes into a core dump