Reply to comment

Defaulting PHP safe_mode to off in Plesk

When creating a domain in Plesk, PHP safe_mode is enabled by default. To change the default behavor do the following as the admin:

  • On the home screen in Plesk go to Event Manager
  • Click on Add New Event Handler
  • Fill in the form with the following values:
    Event: Physical Hosting Created
    Priority: default is fine
    User: root
    Command: /usr/local/psa/bin/domain -u <new_domain_name> -php_safe_mode false

 

Reply

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options