We have an application that runs OK on one server but is slow & sometimes does not end correctly.
We are trying to move it to another server, we get a 500 Server Error.
The application processes images, sometimes large images, depending upon the images the customer uploads.
My co-developer thinks it is because of php memory limit. I have put a php.ini into the server folder upping memory to 128MB. It still fails.
My co-developer did a simple script to test for failuse, it is in the code below.
You can try the test script at a server that fails (www.rkassoc.net/ybads/test.php
. You will get a Server 500 error.
You can try it at a server where it works, www.rkassociates.com/ybads/test.php
What is the problem?
$i_resized = imagecreatetruecolor(2825, 2620);