From: [EMAIL PROTECTED] Operating system: Solaris x86 2.7 PHP version: 4.3.0RC3 PHP Bug Type: PHP options/info functions Bug description: max_execution_time ignored
I have max_execution_time set to 30 and safe_mode set to On in php.ini. The phpinfo() page shows them as such. When PHP 4.3.0RC3 is compiled as a module for Apache 2.0.43, a script that loops is never stopped e.g.: loop.php: cat loop.php <? while ( 1 ) { } ?> will loop forever. I have tested that max_execution_time value is correct by having a script use ini_get to get it and display it. PHP configured as: ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local --enable-memory-limit=yes --enable-track-vars --enable-debug=no --enable-sockets Apache configured as: CFLAGS="-DFD_SETSIZE=8128" ./configure --enable-so --enable-ssl --enable-include --enable-cgi --enable-rewrite --enable-status --enable-expires --enable-info --with-egd=/var/run/egd-pool --with-mpm=worker More checks done: PHP 4.3.0RC3 configured for Apache 1.3.26 static works normally. Same, with Apache 2.0.43 configured to use prefork (non-threaded) model instead of worker: works also. So it seems to be related to the Apache 2 threaded stuff. -- Edit bug report at http://bugs.php.net/?id=21040&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21040&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21040&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21040&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21040&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21040&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21040&r=support Expected behavior: http://bugs.php.net/fix.php?id=21040&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21040&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21040&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21040&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21040&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21040&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21040&r=isapi