I have reseller space using a shared hosting solution from UnitedHosting.co.uk
I have started to use the ImageMagick command through exec() on one of my clients sites, here is a cut down simplified bit of code that I execute:
exec("/usr/bin/convert /var/www/html/demo/mysite/images/uploaded/example.jpg -resize 120x120 /var/www/html/demo/mysite/images/uploaded/small_example.jpg");
I want this code to get a file and then resize with the prefix 'small_' on it.
Thing I seem to be noticing though, is it will work one minute, but then may not work at all at other times. Do you reckon this could be a problem with the shared hosting? Is there usually queues on running exec() commands on a shared host? Has anyone else had this problem? Does anyone know how I can get round it?
Any ideas/experiences/views would be much appriciated!