#28457 [WFx]: PHP should be able to check certain conditions before invoking the script
| From: | floeff at arcor dot de | Date: | Thu, 20 May 2004 20:14:11 +0000 |
| Subject: | #28457 [WFx]: PHP should be able to check certain conditions before invoking the script | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-59812@lists.php.net to get a copy of this message | ||
ID: 28457
User updated by: floeff at arcor dot de
Reported By: floeff at arcor dot de
Status: Wont fix
Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 4.3.6
New Comment:
Having mod_php can be a security risk, too.
Previous Comments:
------------------------------------------------------------------------
[2004-05-20 20:42:43] derick@php.net
Having a windows box on the internet is a security risk too, and people
still do it even if they are warned.
------------------------------------------------------------------------
[2004-05-20 19:47:03] floeff at arcor dot de
You should at least provide some tips for stopping these problems, as I
consider this a security risk.
------------------------------------------------------------------------
[2004-05-20 18:55:03] derick@php.net
This is not something that PHP should implement, as it's not PHPs job
to make sure your system "doesn't overload". It's an operating systems
feature, or at most done by the webserver.
------------------------------------------------------------------------
[2004-05-20 17:14:22] floeff at arcor dot de
Description:
------------
PHP should be able to check certain conditions before invoking the
script. I
would like to be able to check
- number of already running PHP(-as-CGI) instances
- load average of the system
If some user-definable values are exceed, PHP should NOT invoke the
required
script, but instead printing out a "System overload, please try again
later"
message.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28457&edit=1