#20758 [Opn->Bgs]: php_value without value causes apache to crash

From: Date: Mon, 02 Dec 2002 10:53:11 +0000
Subject: #20758 [Opn->Bgs]: php_value without value causes apache to crash
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-26385@lists.php.net to get a copy of this message
ID: 20758 Updated by: derick@php.net Reported By: uhlar@fantomas.sk -Status: Open +Status: Bogus Bug Type: Feature/Change Request PHP Version: 4.2.3 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. It's not a PHP thing, but an Apache requirement. Please leave the status to bogus, as it is not a bug. Previous Comments: ------------------------------------------------------------------------ [2002-12-02 04:50:51] uhlar@fantomas.sk The reason why I asked is php not to exit if no password is given for any reason. Let's say it different way - It would be nice if PHP would continue operations even if someone forgots to fill value. The directive should be ignored in that case. ------------------------------------------------------------------------ [2002-12-02 04:44:42] derick@php.net Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. Not a bug, use: php_value mysql.default_password none Derick ------------------------------------------------------------------------ [2002-12-02 04:37:22] uhlar@fantomas.sk Hopsa, maybe i usd wrong words. as 'crash' I meaned that apache exits: [Mon Dec 2 08:40:21 2002] [notice] SIGHUP received. Attempting to restart Syntax error on line 270 of /usr/local/etc/apache/httpd.conf: php_value takes two arguments, PHP Value Modifier No core is dumped. ------------------------------------------------------------------------ [2002-12-02 04:27:03] derick@php.net Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. ------------------------------------------------------------------------ [2002-12-02 04:20:10] uhlar@fantomas.sk i found out that if I pass php_value mysql.default_password without given password, it causes apache to crash Of course, the input is incorrect, but it should be ignored probably (or used as empty) and should not cause apache to crash. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20758&edit=1

« previous php.bugs (#26385) next »