ID: 47500 Updated by: [email protected] Reported By: snovak7 at gmail dot com -Status: Open +Status: Bogus Bug Type: OCI8 related Operating System: Fedora Linux 9 PHP Version: 5.2.8 New Comment:
OCI8 returns an error when the password has expired. Normal error checking can be used to handle the situation - you can reconnect and change the password in one shot with oci_password_change(). (There are various examples around, including in the free Underground PHP & Oracle Manual) Connection during password expiry grace time succeeds without an error message. Previous Comments: ------------------------------------------------------------------------ [2009-02-25 01:32:03] snovak7 at gmail dot com Description: ------------ There are cases when your password in oracle is about to expire, in my sqlplus experience, it throws you out an error immediatelly when you connect to server. And here is where to problem arises, it is where also your scripts die, and you cant figure out why, there are no logs, not a message which would tell you that ERROR happened when you connected. Expected result: ---------------- I actually managed to solve a problem by re-setting a password, which then wouldn't throw error at connect. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=47500&edit=1
