#33636 [NEW]: max_execution_time from php.ini ignored

From: Date: Sun, 10 Jul 2005 20:13:26 +0000
Subject: #33636 [NEW]: max_execution_time from php.ini ignored
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-81643@lists.php.net to get a copy of this message
From: kfiadeg at wp dot pl Operating system: Gentoo, Windows 2000 PHP version: 4.3.11 PHP Bug Type: *Configuration Issues Bug description: max_execution_time from php.ini ignored Description: ------------ I'm trying to convert images to gallery using GD library - it takes time, no matter how fast machine you run your server on. I keep getting "Fatal error: Maximum execution time of 10 seconds exceeded in..." on every server (Linux/Gentoo, Windows), while default setting of php.ini is 30 seconds... I've tried to run latest CVS version, but it does not work either. Configuration: - Apache/2.0.52, 2.0.54 (Gentoo/Linux), (Win32) - PHP4.3.11/0.2.7 or 4.4.0RC3-dev - configure line (from gentoo): './configure' '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--with-apxs2=/usr/sbin/apxs2' '--with-ndbm=/usr' '--with-db4=/usr' '--with-mcrypt=/usr' '--with-mhash=/usr' '--without-interbase' '--with-ming=/usr' '--with-swf=/usr' '--with-sybase=/usr' '--with-gdbm=/usr' '--without-fdftk' '--with-java=/opt/sun-jdk-1.4.2.07' '--without-mcal' '--with-unixODBC=/usr' '--with-pgsql=/usr' '--without-snmp' '--without-gmp' '--with-mssql=/usr' '--with-pdflib=/usr' '--with-gd' '--enable-gd-native-ttf' '--with-png=/usr' '--with-png-dir=/usr' '--with-jpeg=/usr' '--with-jpeg-dir=/usr' '--enable-exif' '--with-tiff=/usr' '--with-tiff-dir=/usr' '--with-mysql=/usr' '--with-mysql-sock=/var/run/mysqld/mysqld.sock' '--with-freetype-dir=/usr' '--with-ttf=/usr' '--with-t1lib=/usr' '--with-gettext' '--without-qtdom' '--with-pspell=/usr' '--with-openssl=/usr' '--without-imap' '--with-ldap=/usr' '--with-dom=/usr' '--with-dom-xslt=/usr' '--with-dom-exslt=/usr' '--without-kerberos' '--with-pam' '--disable-memory-limit' '--enable-ipv6' '--without-yaz' '--disable-debug' '--with-curlwrappers' '--with-curl=/usr' '--enable-dbx' '--with-zlib=/usr' '--with-zlib-dir=/usr' '--with-sablot=/usr' '--enable-xslt' '--with-xslt-sablot' '--with-xmlrpc' '--enable-wddx' '--with-xml' '--enable-mbstring=all' '--enable-mbregex' '--with-bz2=/usr' '--with-crack=/usr' '--with-cdb' '--enable-pcntl' '--enable-bcmath' '--enable-calendar' '--enable-dbase' '--enable-filepro' '--enable-ftp' '--with-mime-magic=/usr/share/misc/file/magic.mime' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--with-iconv' '--enable-shmop' '--enable-dio' '--enable-yp' '--without-ncurses' '--without-readline' '--enable-inline-optimization' '--enable-track-vars' '--enable-trans-sid' '--enable-versioning' '--with-config-file-path=/etc/php/apache2-php4' '--libdir=/usr/lib/php' '--without-pear' - php as a module (mod4apache2.dll or php4_module (libphp4.so)) - a part of php.ini: ;;;;;;;;;;;;;;;;;;; ; Resource Limits ; ;;;;;;;;;;;;;;;;;;; max_execution_time = 300 ; Maximum execution time of each script, in seconds max_input_time = 600 ; Maximum amount of time each script may spend parsing request data memory_limit = 8M ; Maximum amount of memory a script may consume (8MB) No matter what I put as a values of these variables - effect is always the same - 10 seconds exceeded. -- Edit bug report at http://bugs.php.net/?id=33636&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33636&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33636&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33636&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=33636&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=33636&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33636&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33636&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33636&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33636&r=support Expected behavior: http://bugs.php.net/fix.php?id=33636&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33636&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33636&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=33636&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33636&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=33636&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33636&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33636&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33636&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33636&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33636&r=mysqlcfg

« previous php.bugs (#81643) next »