|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30665 With safe_mod = On Maximum execution time of 30 seconds exceeded
Submitted: 2004-11-02 17:18 UTC Modified: 2004-11-19 01:00 UTC
Avg. Score:4.3 ± 0.9
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (50.0%)
From: udovdh at yahoo dot com Assigned:
Status: No Feedback Package: Unknown/Other Function
PHP Version: 4.3.8 OS: FC2/Linux 2.6.10-rc1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: udovdh at yahoo dot com
New email:
PHP Version: OS:


 [2004-11-02 17:18 UTC] udovdh at yahoo dot com
With safe_mode = On I get PHP Fatal error:  Maximum execution time of 30 seconds exceeded in Unknown on line 0 in the error_log  after each view of this PHP using IE6:

<title>Uptime records for this host</title>
<body bgcolor="#ffffff">
<h1>Uptime records for this host</h1>
This host runs a cool program called <b>uptimed</b> to log uptime records.
It comes with a nice program to examine the logs and display them in a
humane manner.<BR>
As you can see this program runs as php thingie as well as cgi!
Here are the uptime records for this system:
<? system("/usr/bin/uprecords -a"); ?>
Cool eh?
You can now <a href="/index.html">go back to the main page</a> of my site.

It's the stock Fedora Core 2 PHP RPM and the line appears every time after a view.

Expected result:
No error message, just a functioning and safe php.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-11-02 18:29 UTC]
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 as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

 [2004-11-03 07:51 UTC] udovdh at yahoo dot com
You wrote:
> Sorry, but your problem does not imply a bug in PHP itself.

Please explain. Please tell why older bug reports like this one were PHP related. Please tell what info you'd need to make it a PHP bug or a definite Apache bug.
 [2004-11-03 08:55 UTC]
You can't pass parameters to commands called with system() in safe_mode.
 [2004-11-03 09:35 UTC] udovdh at yahoo dot com
That measn that there is another BUG! (since the command works as implemented)
Also this does not explain the execution time message, the original complaint.
 [2004-11-11 13:45 UTC]
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try avoid embedding huge scripts into the report.

Please, provide a reproduce script, as we do not know what's 'uprecords' and how does it behave without '-a' option.
 [2004-11-19 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 21 09:01:29 2024 UTC