Our website is in Dutch; support is available in English.

Change PHP settings in DirectAdmin

Change a PHP setting for your website with an override in DirectAdmin.

Updated 1 minute read

Contents of this article
  1. Adding an override
  2. Know what you're changing
  3. If it doesn't work

If your website runs on PHP, like WordPress, you may need to change a PHP setting. A common example: you get a blank page and want to see the error message for a moment. In DirectAdmin you do this with an override: you pick a setting and the value you want. The screenshots show a demo domain.

Adding an override

  1. Open PHP Settings

    Open DirectAdmin from the control panel (see Log in to DirectAdmin) and choose Account Manager > PHP Settings (1).

    The PHP Settings page with Add New Override, the Setting and Value drop-downs and the Add button
  2. Choose the setting

    Under Add New Override, choose the setting you want to change in Setting (2), for example display_errors.

  3. Choose the value

    Choose the new value in Value (3), for example On.

  4. Add the override

    Click Add (4). Then reload your website to see the effect.

This page only offers the settings in the list. Contact support if you need a different PHP version.

Know what you're changing

Only change a setting if you know what it's for, for example because the documentation of your CMS or plugin asks for it. Write down what you change so you can undo it later. If your website stops working properly after a change, set the value back.

If it doesn't work

If the setting you need isn't in the list, or nothing changes after adding it, email support@hostage.nl with your domain, the setting and value you need, and any error message exactly as shown. See also Upload files with File Manager and Make and restore a backup.

Was this article helpful?

Still stuck?

Send us a message. We will help you, usually within one working day.