ID: 26356 User updated by: my-junkmail at earthlink dot net Reported By: my-junkmail at earthlink dot net -Status: Feedback +Status: Closed Bug Type: *General Issues Operating System: Redhat Linux 9 -PHP Version: 5.0.0b2 (beta2) +PHP Version: 5.0.0b3-dev New Comment:
Built latest snapshot with a lot of the configuration options removed and the problem is solved. Previous Comments: ------------------------------------------------------------------------ [2003-11-21 22:05:31] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip Also, read the output of "./configure --help" once. Most of the options you use (some of them twice, with different values) are not used by PHP, do not exist or are NOT supposed to be used unless you really know what you're doing. These are the ones mostly causing problems, consider removing them altogether: --with-regex=system --enable-versioning (latter is totally useless to you) Also, you didn't mention what mpm you configured Apache2 to use. If you're using anything else but the 'prefork', you should reconfigure/compile it to use 'prefork'. ------------------------------------------------------------------------ [2003-11-21 19:49:33] my-junkmail at earthlink dot net update: This error occurs running a current version of phpmyadmin so I don't think it is filesystem-function related. ------------------------------------------------------------------------ [2003-11-21 17:21:23] my-junkmail at earthlink dot net Description: ------------ I recieve the following error slightly less than half the time when I try to access any script on the server in question: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate x bytes) in Unknown on line 0 (note x is variable but usually around 100) The only similarity I can note in the scripts that produce this error is most likely trivial: they all include lines that call fopen and fread, however the error can occur even when a script is run in such a way that control structures prevent the filesystem function lines from being reached. Furthermore, I have not tested with scripts that do not include filesystem functions. All the scripts in question ran fine under php < 5. By re-requesting any script several times I can usually get it to run. Since I can't track down the source of the error, I can't provide more detailed information...if there are specific questions about my configuration I will answer them. If someone smart thinks this could be an actual bug I might be coerced into reconfiguring --with-debug. php.ini is the dist version. Configuration line is: '--prefix=/usr/local/php' '--host=i386-redhat-linux' '--build=i386-redhat-linux' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-config-file-path=/etc' '--disable-debug' '--enable-pic' '--disable-rpath' '--enable-inline-optimization' '--with-curl' '--with-dom=/usr' '--with-exec-dir=/usr/bin' '--with-png-dir=/usr' '--with-gd' '--with-jpeg-dir=/usr/local/lib' '--enable-gd-native-ttf' '--with-ttf' '--with-gdbm' '--with-gettext' '--with-ncurses' '--with-gmp' '--with-iconv' '--with-openssl' '--with-png' '--with-regex=system' '--with-xml' '--with-expat-dir=/usr' '--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-discard-path' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--without-oci8' '--with-pear=/usr/share/pear' '--with-imap-ssl' '--with-kerberos=/usr/kerberos' '--with-ldap=shared' '--with-mysql=/usr' '--with-zip' '--enable-memory-limit' '--enable-bcmath' '--enable-shmop' '--enable-versioning' '--enable-calendar' '--enable-dio' '--enable-mcal' '--with-apxs2=/usr/local/apache2/bin/apxs' ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26356&edit=1
