CarbonCopy Posted August 25, 2009 Share Posted August 25, 2009 I just put apache in a chroot jail and installed imagick (Compiled from source). My php info file says Imagick has no supported filetypes, but Imagick command line (Via identify -list format) shows a crap load. Any files I should copy over? Link to comment https://forums.phpfreaks.com/topic/171837-imagick-broken-maybe-mod_chroot/ Share on other sites More sharing options...
CarbonCopy Posted August 27, 2009 Author Share Posted August 27, 2009 Anyone? Link to comment https://forums.phpfreaks.com/topic/171837-imagick-broken-maybe-mod_chroot/#findComment-907167 Share on other sites More sharing options...
CarbonCopy Posted August 27, 2009 Author Share Posted August 27, 2009 And when using php phpinfo.php as root, it shows all supported filetypes, so it is mod_chroot causing the issue. I tried using LoadFile to load all listed dependencies, but i had no luck. Link to comment https://forums.phpfreaks.com/topic/171837-imagick-broken-maybe-mod_chroot/#findComment-907281 Share on other sites More sharing options...
CarbonCopy Posted August 29, 2009 Author Share Posted August 29, 2009 Does anyone even know somewhere I can look for this info? Link to comment https://forums.phpfreaks.com/topic/171837-imagick-broken-maybe-mod_chroot/#findComment-908742 Share on other sites More sharing options...
CarbonCopy Posted August 29, 2009 Author Share Posted August 29, 2009 Well after hours of mucking around in the source code and other files, I discovered the solution. In /chroot I made the directory /chroot/usr/lib/ImageMagick-6.5.5/ and copied the files from /usr/lib/ImageMagick-6.5.5/ After restarting apache it works fine. Link to comment https://forums.phpfreaks.com/topic/171837-imagick-broken-maybe-mod_chroot/#findComment-909079 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.