Forum Moderators: coopster
Using Imagemagik this works:
exec("convert D:/www/image.bmp D:/www/image.gif")
But this doesn't:
exec("C:\\Programs\\ImageMagick\\convert.exe D:/www/image.bmp D:/www/image.gif")
A call to a batch file works on my 2000 home testing server running apache, but not on the 2003 server. I've tried various different ways of writing the file path to the executable but none have been successful.
I'm running a dedicated windows server using PHP in FastCGI mode, and have allowed the site permissions to cmd.exe and the files I'm trying to run. Can't see anything useful showing in PHP error logs or the event log on the server. Not a lot on the web either which makes me think I'm missing something simple.
Anyone any ideas for things to try?