I use PHP in shellsripts. But now the Scripts stopps after 180s with an Error like this: Fatal error: Maximum execution time of 180 seconds exceeded in ... Ok, I set the max_execution_time in /etc/php/cli-php5/php.ini to 0. I check this in the console: # php -i | grep max_execution_time max_execution_time => 0 => 0 But alle Script stops after 180s furthermore. installed PHP-Version: dev-lang/php-5.1.4 -adabas -apache +apache2 +bcmath +berkdb -birdstep +bzip2 +calendar -cdb -cgi -cjk +cli +crypt +ctype +curl -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob +exif -fastbuild -fdftk -filepro -firebird +flatfile -force-cgi-redirect -frontbase +ftp +gd -gd-external +gdbm +gmp +hardenedphp -hash -hyperwave-api +iconv -imap -informix +inifile -interbase -iodbc -ipv6 -java-external -kerberos -ldap -libedit -mcve +memlimit +mhash -ming -msql -mssql +mysql -mysqli +ncurses +nls -oci8 -oci8-instant-client -odbc -pcntl +pcre -pdo -pdo-external +pic +posix -postgres -qdbm +readline -recode -reflection -sapdb -sasl +session -sharedext -sharedmem +simplexml -snmp -soap +sockets -solid -spell +spl -sqlite +ssl -sybase -sybase-ct -sysvipc -threads -tidy +tokenizer +truetype -unicode -vm-goto -vm-switch +wddx +xml -xmlreader -xmlrpc -xmlwriter -xpm +xsl -yaz -zip +zlib # emerge info Portage 2.0.54-r2 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.3.6-r3, 2.6.15-gentoo-r1 i686) ================================================================= System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ Gentoo Base System version 1.6.14 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 dev-python/pycrypto: [Not Present] dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" LINGUAS="de" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" USE="x86 3dnow 3dnowext X alsa apm arts asf audiofile avi berkdb bitmap-fonts browserplugin bzip2 cdr cli crypt css cups curl dga dri dvd dvdr dvdread eds emboss encode exif expat fam ffmpeg foomaticdb fortran gd gdbm gif gmp gstreamer i8x0 idn imlib isdnlog jabber java jpeg kde kqemu lcms libg++ libwww mad mhash mikmod mmx mmxext mng motif mozdevelop mozilla moznocompose moznoirc moznomail mp3 mpeg mplayer ncurses nls nptl nsplugin ogg oggvorbis on-the-fly-crypt opengl oss pam pcre pdf pdflib perl php pic png pppd python qt quicktime readline real reflection samba sdl session smime smp spl sse sse2 ssl svg svga tcpd theora tiff truetype truetype-fonts type1-fonts udev usb userlocales vcd vidix vorbis win32codecs xanim xine xml2 xmms xorg xv xvid xvmc zlib linguas_de userland_GNU kernel_linux elibc_glibc" Unset: CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Please don't restrict bugs unless you have a real reason to... Anyway, please try upgrading to dev-lang/php-5.1.4-r1, there was a bug in the CLI sapi (which is what you run the shellscripts under) that set the max_execution_time wrong, this should now be fixed... Best regards, CHTEKK.
(In reply to comment #1) > Please don't restrict bugs unless you have a real reason to... Thanks for this. I know what I mean, but my english is to bad to explain it correctly. In this cases I post a short summary and hope others will unterstand the problem. If you wish I should not post bugs (I think it is one) if they are not in finest english and understandable for anyone say it to me. But thanks, I will try an update.
ok, thanks, the update fix the problem.