• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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