View Single Post
  #1  
Old 9th September 2010, 11:35
angela angela is offline
Junior Member
 
Join Date: Aug 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default PerlMagick aparently failing when called from Apache

I'm migrating some perl scripts to a new server.

Some perl routines manipulate images with PerlMagick. When I run these routines from the command line as root everything works; when I call them from a web page the routine seemingly completes (no error messages) but I get no image served.

Some perl routines serve an image without using PerlMagick and they work just fine. The problem, I'm beginning to think, lies with getting PerlMagick working with Apache. The technique I use is to first write the page header and then write the binary image data back to the requesting browser. There is no HTML as such.

All ImageMagick ownership and group is root with 644 chmod settings.

I compiled ImageMagick and PerlMagick from source. Is there some security mechanism in ISPConfig3 that is preventing these compiled binaries running under Apache? Apache had modules mime and mime-magic loaded as per original configuration.

All the routines run just fine on an old BlueQuartz CentOS 4 system.

Any help to stop this amateur web-coder pulling hair appreciated!
Reply With Quote
Sponsored Links