Skip to content
HostingSquad
To websitehostingsquad.nl
Search
EN

How do I set the PHP version of my web hosting package?

Updated on

Every web hosting package has a PHP Selector, which you use to choose the PHP version and adjust the PHP extensions and settings. You need it when your website or a plugin requires a different PHP version or setting. You find the PHP Selector in DirectAdmin under the name Select PHP version. The version you choose applies to your whole package.

Before you start

  • You need the login details of the website's DirectAdmin account.
  • DirectAdmin is in English by default, so the menus and buttons in this article are named as you see them on screen. If your DirectAdmin is set to Dutch, DirectAdmin may show the Dutch names, such as Extra Programma's instead of Extra Features, Accountbeheer instead of Account Manager and PHP Instellingen instead of PHP Settings. Select PHP version and everything in it have the same names in both languages.

Choose the PHP version

  1. Log in to DirectAdmin

  2. Open Select PHP version

    Under Extra Features, click Select PHP version. The PHP Selector page opens.

  3. Choose the PHP version

    Under PHP version, click the current version, marked (current), and choose the version you want.

  4. Save your choice

    Click Set as current.

  5. Turn extensions on or off if needed

    On the Extensions tab, you turn PHP extensions on or off. Reset PHP Extensions to default sets them back to the default.

Change PHP settings

  1. Log in to DirectAdmin

  2. Open Select PHP version

    Under Extra Features, click Select PHP version.

  3. Open the Options tab

    This shows the PHP settings, such as memory_limit and upload_max_filesize.

  4. Change the value

    Click the setting's value and choose the new value. It is saved straight away.

Not working?
  • Under Account Manager there is also PHP Settings. You do not choose a PHP version there; it is only a list of your own settings that take precedence. So choose the version in Select PHP version.
  • Not sure which version or settings suit your website best? Contact us (in Dutch).

Related articles