I have a problem when running a convert command through a php-script via Apache server on Arch Linux. It seems to be working fine when I run it in shell as myself. And there have been cases where I get this error and the output file is still created.
The php-script is run as user http which has write access to both folders involved.
One example of what I'm trying to run:
Code: Select all
convert -alpha Set -filter bessel -resize '200'x'200' -density '200'x'200' 'image.eps' -channel A -fx 'B' -negate '/var/im/4.png'
Code: Select all
convert: Error when saving the profile into a file '.' @ warning/opencl.c/autoSelectDevice/2303.
I only seem to find old posts where it has been posted that it will be solved in a later version.
Code: Select all
convert --version
Version: ImageMagick 6.8.9-0 Q16 x86_64 2014-04-13 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC HDRI Modules OpenCL OpenMP
Delegates: bzlib cairo fontconfig freetype gslib jng jpeg lcms lqr ltdl lzma openexr pangocairo png ps rsvg tiff webp wmf x xml zlib