ID: 30665 Updated by: [EMAIL PROTECTED] Reported By: udovdh at yahoo dot com -Status: Open +Status: Feedback Bug Type: Unknown/Other Function Operating System: FC2/Linux 2.6.10-rc1 PHP Version: 4.3.8 New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [2004-11-03 09:35:25] 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-03 08:55:16] [EMAIL PROTECTED] You can't pass parameters to commands called with system() in safe_mode. ------------------------------------------------------------------------ [2004-11-03 07:51:28] 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-02 18:29:51] [EMAIL PROTECTED] 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. . ------------------------------------------------------------------------ [2004-11-02 17:18:40] udovdh at yahoo dot com Description: ------------ 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: <html> <head> <title>Uptime records for this host</title> </head> <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! <p> Here are the uptime records for this system: <p> <pre> <? system("/usr/bin/uprecords -a"); ?> </pre> <p> Cool eh? <p> You can now <a href="/index.html">go back to the main page</a> of my site. </body> </html> 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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30665&edit=1