From: Georg Richter Date: Thu, 5 May 2005 12:22:48 +0000 (+0000) Subject: fix for bug #32947 (Incorrect option for mysqli default password) X-Git-Tag: php-5.0.1b1~320 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5c9956361542a858044cb9dc77ddb8b019d2df75;p=php fix for bug #32947 (Incorrect option for mysqli default password) --- diff --git a/php.ini-dist b/php.ini-dist index bcec02634b..ed3c5301d5 100644 --- a/php.ini-dist +++ b/php.ini-dist @@ -726,10 +726,10 @@ mysqli.default_user = ; Default password for mysqli_connect() (doesn't apply in safe mode). ; Note that this is generally a *bad* idea to store passwords in this file. -; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_password") +; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw") ; and reveal this password! And of course, any users with read access to this ; file will be able to reveal the password as well. -mysqli.default_password = +mysqli.default_pw = ; Allow or prevent reconnect mysqli.reconnect = Off diff --git a/php.ini-recommended b/php.ini-recommended index 6a98158e2c..a7718ebb66 100644 --- a/php.ini-recommended +++ b/php.ini-recommended @@ -784,10 +784,10 @@ mysqli.default_user = ; Default password for mysqli_connect() (doesn't apply in safe mode). ; Note that this is generally a *bad* idea to store passwords in this file. -; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_password") +; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw") ; and reveal this password! And of course, any users with read access to this ; file will be able to reveal the password as well. -mysqli.default_password = +mysqli.default_pw = ; Allow or prevent reconnect mysqli.reconnect = Off