Can I set a default PHP version for my packages?
Yes, you can set the PHP version you'd like your different package types to be provisioned with.
If you are a hosting reseller you might want to set a default PHP version for certain packages you offer to your customers.
Why set a default PHP version?
As a web developer, agency or owner of multiple websites setting a default PHP version can bring benefits in managing your projects.
With each new version of PHP, there are often changes to the language and new features introduced, which can affect how websites and applications function.
Having a default PHP version simplifies the process of managing different versions of PHP. It allows administrators and developers to easily switch between versions when necessary, without having to modify configuration files for every website or application you manage.
It also helps to prevent compatibility issues with plug-ins or themes if you are hosting WordPress websites.
How to set the default PHP version
To set this, firstly head to Manage Services > Configure Types. You can set the default PHP version on a per-package type basis, just select Options > Edit on the package type you'd like to set the PHP version on.
Head to the section (near the bottom) entitled Default PHP Version. Select the default PHP version you'd like to be used on this package type and select Save Changes.
When a new package is created using the package type you've edited the default PHP version will be what you've just set.