Hitman
18-04-2009, 02:49 PM
Hey, well I'm running XAMPP on my laptop for personal use. Basically, I want to upload files in a script I'm using, and it works for files that are 1MB or 2MB... but files that are like 56MB it chucks up an error (the script if fine btw, it does work for smaller files and there are no limits in the script).
Fatal error: Allowed memory size of 62914560 bytes exhausted (tried to allocate 5767168 bytes) in C:\xampp\htdocs\site\load.php on line 12I've edited 'memory_limit' to 60M, no use. It still gives an error... I've tried 'ini_set("memory_limit","64M");' in the php file, it doesn't want to work.
Any help? I'm on the verge of pulling my hair out! :(
Thanks.
Fatal error: Allowed memory size of 62914560 bytes exhausted (tried to allocate 5767168 bytes) in C:\xampp\htdocs\site\load.php on line 12I've edited 'memory_limit' to 60M, no use. It still gives an error... I've tried 'ini_set("memory_limit","64M");' in the php file, it doesn't want to work.
Any help? I'm on the verge of pulling my hair out! :(
Thanks.