certify
08-17-2001, 07:38 PM
How do i turn off PHP safe_mode ?
This is the current status.
safe_mode On Off
The reason I want to turn off this is so that vbulletin board can use the avatar feature.
This is controlled in the servers php.ini file and is usually set by the system administrator.
safe_mode = Off
Safe_mode=on will restrict/disable quite a few Php functions. It's basically a band-aid to handle security issues and causes quite a few problems for users when in effect but does stop quite a few malicious php scripts.
Hope this helps ..
Originally posted by certify
How do i turn off PHP safe_mode ?
certify
08-17-2001, 08:50 PM
Thanks. :)
But where is php.ini located?
Originally posted by certify
Thanks. :)
But where is php.ini located?
Login as root, and type
locate php.ini
certify
08-17-2001, 09:21 PM
Do I have to reboot the server after this changes?
Just restart Apache ..
Originally posted by certify
Do I have to reboot the server after this changes?
Originally posted by certify
Do I have to reboot the server after this changes?
No, just restart Apache:
/etc/rc.d/init.d/httpd restart