PDA

View Full Version : ImageMagick exec function


brewhound
14th of December 2003 (Sun), 17:52
Bonjour,

Can anyone tell me how to enable "exec function in PHP"? I'm running the 1.5 b4 edition on my own server. ImageMagick seems to have loaded, but during the test - a box appears with the RED X and then disappears?

There's no error messages or path problems.

Thanks

Pekka
14th of December 2003 (Sun), 17:58
In your php.ini

change

safe_mode = On

to

safe_mode = Off

OR change

safe_mode_exec_dir =

to

safe_mode_exec_dir = PATH/TO/YOUR/IMAGEMAGICK/BINARIES


Check also that

disable_functions =

is empty