ID: 20863 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Filesystem function related Operating System: SuSE 7.3 Pro PHP Version: 4CVS-2002-12-06 (stable) New Comment:
I added error_reporting(E_ALL) and got no errors or warnings. I actually do not get anything but the expected output... /home/webdev/$dir/$file : $md5 ...unless I change the md5 calculation to that of the binary one here: http://www.php.net/manual/en/function.md5-file.php. Then I get a FATAL: emalloc() Could not allocate xxxxx bytes. But this is not how I run this script. I always use the md5_file() or exec() functions to calc. the MD5 of the file. Other than the expected output, with or without E_ALL set, I get nothing, hanging after about 20 or so md5 calculations. Can you reproduce this when you copy+paste this and run it? Previous Comments: ------------------------------------------------------------------------ [2002-12-06 11:45:50] [EMAIL PROTECTED] Could you please remove the @ from your script, which block error message and set error repoting level to E_ALL. Please include any warning messages in your reply. ------------------------------------------------------------------------ [2002-12-06 11:41:52] [EMAIL PROTECTED] I also tried adding ini_set("max_execution_time", "180") to the script and it changed nothing. Just to make sure it was not hitting this limit too. ------------------------------------------------------------------------ [2002-12-06 11:38:07] [EMAIL PROTECTED] I do not have this enabled. My configure line looks like so: ./configure --enable-ftp --with-ldap=/usr/local/openldap --with-mysql=/usr --with-openssl=/usr/local/openssl I thought for the memory_limit directive to take effect would mean I would to have had to add --enable-momory-limit to the configuration. Has this changed recently (i.e. >= 4.2.1)? ------------------------------------------------------------------------ [2002-12-06 11:06:46] [EMAIL PROTECTED] Does your PHP have a memory limit? ------------------------------------------------------------------------ [2002-12-06 10:44:55] [EMAIL PROTECTED] BTW, The files I am examining are all text. ------------------------------------------------------------------------ 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/20863 -- Edit this bug report at http://bugs.php.net/?id=20863&edit=1
