PHP (an acronym for PHP: Hypertext Preprocessor) is a scripting language that’s generally used in “server-side” web development.
Supported PHP versions
|PHP5.3||✕||Not developed since 2014||-|
|PHP5.4||✕||Not developed since 2015||-|
|PHP5.5||✕||Not developed since 2014||-|
|PHP5.6||✓||Deprecated, not developed since 2019, upgrade ASAP to 7.X||phpinfo|
|PHP7.0||✓||Deprecated, not developed since 2019, upgrade ASAP to 7.3 or higher||phpinfo|
|PHP7.1||✓||Deprecated, not developed since 2019, upgrade ASAP to 7.3 or higher||phpinfo|
|PHP7.2||✓||Deprecated, not developed since 2020, upgrade ASAP to 7.3 or higher||phpinfo|
|PHP7.3||✓||Recommended for production usage||phpinfo|
|PHP7.4||✓||Recommended for production usage||phpinfo|
|PHP8.0||✓||Recommended for production usage||phpinfo|
We highly suggest you to always using newest PHP version for your website. Besides permormance reasons (newer PHP version has much more higher performance and radically can speed-up your website loading time), its security reasons and support from developers. Older PHP versions are hard to carry on on newest operating systems with latest upgrades.
PHP versions 5.6, 7.0, 7.1 and 7.2 are obsolete and no (or security) updates are released. We do not recommend using them, instead use one of the newer versions.
(1)Not all values in the example phpinfo must match the production environment. Some values differ for VIP and Basic Membership.
All PHP versions are available on all servers at all web hostings. There is no need to ask us to activate or move to another server. All you have to do is switch the version in the Hosting Control Panel.
In the table, you can find a selection of some most-used PHP parameters configuration on our servers. The full list of all PHP directives can be found in phpinfo() function. Some values differ between Basic and VIP membership.
|PHP Directive||NH Basic Membership||NH VIP Membership|
|Number of PHP processes per domain||4||10|
The list of installed PHP extensions
- ionCube Loader
- mysqli, mysqlnd
- PDO (mysql, sqlite, pgsql)
- xmlreader, xmlwriter
You can also use the PEAR extensions. You can upload it to your web hosting. These are basically "normal" PHP files/scripts. You can upload them to the web hosting via FTP, or set the right path for automatic inclusion in your app.
How to change a PHP version for a website
Every hosting / website can use different PHP versions (within supported PHP versions). The change PHP version for a specific hosting you is simple fromHosting Control Panel.
In your Hosting Control Panel navigate to
Sites and click on the website where you want to change PHP version on. In the
PHP Version select a version you want to use and just click on the
Your website has to be prepared and support your chosen PHP. Eg. application made for PHP5.6 will not work with PHP7.3 probably. Before changing PHP version make sure your application is prepared.