PHP Version Selection


 

All our servers currently support (i.e. are capable of running) multiple versions of PHP.

The default version is 7.2.x but you can follow the directions below to use a different PHP version instead.

Before switching, be aware of backwards compatibility issues with scripts: Older PHP coding may not be compatible with newer versions of PHP or vice versa.

 

How to Enable

Follow the directions below for any shared or reseller hosting plan you have.

Enhanced Skin:

  1. Login to your DirectAdmin control panel
  2. Click on Domain Setup, which can be found on the top left.
  3. Select the domain you wish to change the PHP settings for
  4. On the bottom of the next screen, under the header PHP Version Selector Set your desired PHP version on the First PHP pulldown
  5. Click the Save button

 

Evolution Skin:

  1. Login to your DirectAdmin control panel
  2. Click on Account Manager > Domain Setup
  3. Select the domain you wish to change the PHP settings for
  4. On the top right click the link to PHP Version Selector
  5. Select your desired PHP version and click save

 



 

Please note that a PHP version change requires a restart of the webserver. This process is automatic but may take up to 30 seconds to complete.

The php version selector does not make use of .htaccess files, so there is no need to create or edit your .htaccess files to enable PHP version selection.

  • 5 Users Found This Useful
Was this answer helpful?

Related Articles

Subdomains

This document provides information about subdomains. Topics include creating subdomains, removing...

How Do I Create an autoresponder?

  Autoresponders are e-mail robots that reply to all incoming messages with a standard outgoing...

How to make a backup of your website

This section covers choosing what to save, creating backups, storing backups, and restoring your...

Install and generate a Private Key for SSL Certificates with DirectAdmin

This section covers: Certificate installation requirements How to use the server's shared...

.htaccess tutorial

  Part 1 - Introduction In this guide you will find out about the .htaccess file and the power...