permission problems with PHP and imagemagic
Posted: 2009-08-12T13:17:15-07:00
I'm running a shell command through a PHP script.
convert -rotate +0 -background transparent "/var/www/html/uploadfiles/1250077554_66_927STEM-115.jpg" /var/www/html/temp/source1.png
I try this command line and it works. But source1.png isn't created when this is run through PHP. All the files and folders exist and have full write permissions. PHP has been tested and is able to create other files, just not files through command line with imagemagick.
Any help appreciated.
convert -rotate +0 -background transparent "/var/www/html/uploadfiles/1250077554_66_927STEM-115.jpg" /var/www/html/temp/source1.png
I try this command line and it works. But source1.png isn't created when this is run through PHP. All the files and folders exist and have full write permissions. PHP has been tested and is able to create other files, just not files through command line with imagemagick.
Any help appreciated.