• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

How to turn Safe mode off

GGEder234

New Pleskian
I need help.

Safe mode was turned off on Admin panel: Home>Tools & Settings>Custom View Settings> PHP Settings
Safe mode was turned off on Domain : Home > Subscriptions > domain.com > Customizing Subscription Domain.com > PHP Settings

But on request over ssh: php -r 'phpinfo();' | grep safe_mode

Response:

[root@www ~]# php -r 'phpinfo();' | grep safe_mode
PHP Warning: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unkn own on line 0
safe_mode => On => On
safe_mode_exec_dir => no value => no value
safe_mode_gid => Off => Off
safe_mode_include_dir => no value => no value
sql.safe_mode => Off => Off
PHP Warning: phpinfo(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Helsinki' for 'EET/2.0/no DST' instead in Command line code on line 1
safe_mode_allowed_env_vars => PHP_ => PHP_
safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_LIBRARY_PATH
 
Hello,

Create the phpinfo page on your domain and check your php setting through browser. When you checked php info through command line it's showing server wide php setting(/etc/php.ini)
 
Back
Top