#33636 [Fbk->Opn]: max_execution_time from php.ini ignored
| From: | kfiadeg at wp dot pl | Date: | Sun, 10 Jul 2005 22:44:16 +0000 |
| Subject: | #33636 [Fbk->Opn]: max_execution_time from php.ini ignored | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-81653@lists.php.net to get a copy of this message | ||
ID: 33636
User updated by: kfiadeg at wp dot pl
Reported By: kfiadeg at wp dot pl
-Status: Feedback
+Status: Open
Bug Type: *Configuration Issues
Operating System: Gentoo, Windows 2000
PHP Version: 4.3.11
New Comment:
my php.ini is located at:
1) linux: /etc/php/apache2-php4/php.ini
2) windows: C:\Program Files\PHP\php.ini
phpinfo() says everything correct about php.ini and max_execution_time
and max_input_time...
Apache's HTTP_KEEP_ALIVE is set to 300, I don't know what else could I
change to fix my problem...
Previous Comments:
------------------------------------------------------------------------
[2005-07-10 22:15:50] tony2001@php.net
Where is your php.ini and what does phpinfo() say about it's location
?
------------------------------------------------------------------------
[2005-07-10 22:13:23] kfiadeg at wp dot pl
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 this bug report at http://bugs.php.net/?id=33636&edit=1