Roost3r
05-14-2004, 06:22 AM
In my php upload script if i upload a file larger than x; then i get this error
Fatal error: Allowed memory size of 8388608 bytes exhausted at (null):0 (tried to allocate 1600 bytes) in /var/www/html/images/screenshots/addfile.php on line 53
on line 53 in that file i have this:
$src_img=ImageCreateFromJPEG("/var/www/html/images/screenshots/".$thisid.".".$extension);
it works with small files; i dunno if theres a variable in the php.ini that i need to make larger or something related to apache?
tia
Fatal error: Allowed memory size of 8388608 bytes exhausted at (null):0 (tried to allocate 1600 bytes) in /var/www/html/images/screenshots/addfile.php on line 53
on line 53 in that file i have this:
$src_img=ImageCreateFromJPEG("/var/www/html/images/screenshots/".$thisid.".".$extension);
it works with small files; i dunno if theres a variable in the php.ini that i need to make larger or something related to apache?
tia