ID: 25127 Updated by: [EMAIL PROTECTED] Reported By: henrik dot gebauer at web dot de -Status: Assigned +Status: Closed Bug Type: GD related Operating System: Mandrake 9.1 PHP Version: 4.3.3RC5-dev, 5.0.0b2-dev Assigned To: iliaa New Comment:
This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2003-08-22 13:13:11] scott at lenderlab dot com Our company is developing a new network to handle the increase in files, and database queries. our existing server is running PHP 4.3.0 while our new server is running 4.3.2. We are having issue after issue with our new server in doing MySQL queries, wether its 30,000, 3000, or 300 records, it exceeds the memory limit. but when doing the same query on our old server it can return back 40,000 records no problem. the PHP configurations are the same and the version of MySQL is the same. Both are running Red Hat 9. any suggestions? could it be the PHP version? ------------------------------------------------------------------------ [2003-08-22 10:46:09] mpaesold at gmx dot at The same problem exists in PHP 4.3.2. Regards, Michael ------------------------------------------------------------------------ [2003-08-19 07:06:58] [EMAIL PROTECTED] [EMAIL PROTECTED] jani]$ php -dmemory_limit=9388608 -r 'imagecreatefromjpeg("p1010025.jpg");' Fatal error: Allowed memory size of 9388608 bytes exhausted (tried to allocate 7936 bytes) in Command line code on line 1 /usr/src/web/php/php4_3/main/streams.c(392) : Stream of type 'STDIO' 0x085CAF2C (path:p1010025.jpg) was not closed ------------------------------------------------------------------------ [2003-08-19 06:25:00] henrik dot gebauer at web dot de My configure line: './configure' \ '--with-apxs2=/usr/local/apache2/bin/apxs' \ '--with-config-file-path=/etc' \ '--with-zlib' \ '--with-gd' \ '--with-mysql=/usr/src/mysql-4.0.14/include/' \ '--enable-sockets' \ '--enable-memory-limit' \ '--enable-trans-sid' \ '--with-jpeg-dir=/usr/src/jpeg-6b' \ '--with-png-dir=/usr/src/libpng' The error does not occur with images with a smaller file size. Try this picture to reproduce it: http://www.henrikgebauer.de.vu/bilder/klassenfahrt_kanu2003/p1010025.jpg ------------------------------------------------------------------------ [2003-08-19 04:42:17] [EMAIL PROTECTED] What was the configure line you used to configure PHP? (config.nice) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/25127 -- Edit this bug report at http://bugs.php.net/?id=25127&edit=1
