I\'m getting this error:
The connection to the server was reset while the page was loading.
This only occurs when I try to load an i
I just got the same error in my new server, if using PHP "new Imagick("$imagebath")"
the fix is:
set "php.ini" "memory_limit = 256M" (or more, it was 128, it's not enough), error log: "Out of memory in UB xxx: OOM killed process x (httpd)..." So the request was reset to browser.
There is similar problem: Imagick constructor crashes PHP/CGI
I've had the same issue today. You have to install version of Image Magick no higher than 6.6.4.0 - next builds are made using VC10 which seems to be incompatible with Apache VC9 + PHP5.3.x VC9.
Some comments on this: http://valokuva.org/?p=161#comment-20707
You can get older releases of Image Magick here: http://image_magick.veidrodis.com/image_magick/binaries/
And remember to reboot windows after installing Image Magick
In PHP 5 the file has to be php5.ini
Add these lines in php5.ini
post_max_size = 48M
file_uploads = On
upload_max_filesize = 192M
You can set the sizes to whatever you want.