I'm using ImageAPI on Drupal, on my own Apache server everything works fine, but on other WASD server the images are not displayed. Looking at the php logs I get the error:

"PHP Warning: Unexpected character in input: ' in /.../imageapi.module on line..."

I'm currently using php 5.2.13, and GD2 wich is supported on this version. I've tried also to use Imagemagick and the problem is the same one.