• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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