• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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