• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/
  • On Plesk for Linux mod_status is disabled on upgrades to improve Apache security.
    This is a one-time operation that occurs during an upgrade. You can manually enable mod_status later if needed.

Enable safe_mode on a subdomain ?

J

JoaoCorreia

Guest
I tried to include in vhost.conf on the subdomain conf dir the:

php_admin_flag engine on
php_admin_flag safe_mode on


but I check in phpinfo and safe_mode is off.

The safe_mode is off for the domain but I wanted to enable to a subdomain.

SW-SOFT added safe_mode on/off to Plesk but not for the subdomains ! :(


Thanks
Joao Correia
 
There is not a separate configuration section for vhost.conf for subdomains. You have to specify your settings in the vhost.conf for the domain specifying the directory of the subdomain for this setting. It is possible, but it does take you specifying the exact same directories as you would be in the subdomain "vhost.conf" file, if one were to exist.

Hope that helps,
-John
 
Back
Top