imagemagick and safe mode

kyser

Verified User
Joined
Jul 22, 2010
Messages
6
from the directadmin through php safe mode I activated the safe mode on my website
I would like to allow the imagemagick mode when the safe_mode is activated
I modify the php.ini n /usr/local/Zend/etc/
I got the imagemaigick-8.2 folder in /usr/lib/
I am on centos 5

this is what I modified (in blue):

safe_mode = Off

; By default, Safe Mode does a UID compare check when
; opening files. If you want to relax this to a GID compare,
; then turn on safe_mode_gid.
safe_mode_gid = Off

; When safe_mode is on, UID/GID checks are bypassed when
; including files from this directory and its subdirectories.
; (directory must also be in include_path or full path must
; be used when including)
safe_mode_include_dir =

; When safe_mode is on, only executables located in the safe_mode_exec_dir
; will be allowed to be executed via the exec family of functions.
safe_mode_exec_dir = /usr/lib/


I restarted httpd
however I still does not activate the imagemagick module

any help will be appreciated

thanks
 
Last edited:
Back
Top