Search found 3 matches
- 2012-01-03T09:51:21-07:00
- Forum: Users
- Topic: Command line use from php fails
- Replies: 4
- Views: 8680
Re: Command line use from php fails
Additional information: If I execute my php file by invoking php from the command line everything works. It seems to be an issue with the IIS environment. Extracting from your suggested code, system("convert -version") returns an empty string when run via IIS, but using the full pathname for convert ...
- 2012-01-03T07:30:01-07:00
- Forum: Users
- Topic: Command line use from php fails
- Replies: 4
- Views: 8680
Re: Command line use from php fails
Not sure what you mean by "what code are you running?". The machine is running php 5.0.3. The test harness I am using is just: <html> <head> <? $copy = "\"C:\\Program Files\\ImageMagick-6.7.4-Q16\\convert.exe\" F:\\BIG\\kitty1.jpg -rotate 90 -resize 80 F:\\BIG\\smallkitty.jpg 2>&1"; ?> </head> <body ...
- 2012-01-02T16:01:11-07:00
- Forum: Users
- Topic: Command line use from php fails
- Replies: 4
- Views: 8680
Command line use from php fails
I have installed ImageMagick 6.7.4 Q16 on a machine running Windows Server 2003. I can use it successfully from the command line to resize & rotate images. If I try to use it from a php web page on the machine's Default Web Site via shell_exec() call it fails with the error message: convert.exe: no ...