I have a PHP script that allows the upload and conversion of photos to jpeg and works fine on one server but not on another.
I have VPS hosting and wanted to know if there is a setting I can change via cPanel/WHM
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 3168 bytes) in /home/mywebsite/public_html/admin/add_upd_item.php on line 111
$tempFile = $_FILES['image1']['tmp_name'];
line 111---> $image = imagecreatefromjpeg($tempFile);