HostSEO Blog

Stories and News from IT Industry, Reviews & Tips | Technology Blog


How to change PHP version on Business servers

This guide will show you how to manage PHP settings on our Business servers (Stellar Business and old Business SSD plans).
 
For managing PHP settings on Shared servers (Stellar, Stellar Plus plans and old Value, Professional, Ultimate plans), please check this article.


Our Business servers are running with LiteSpeed module and have PHP 5.2 - 5.6, 7.0 - 7.4, 8.0 and 8.1 versions available. To change the PHP version for your domains, follow these steps:

 

 
 
How to manage PHP settings using the PHP Tweaks plugin

 

 

For cPanel Basic Theme:

 

1. Log into your cPanel.
 

2. Go to the Exclusive for Hostseo Customers section >> the PHP Tweaks menu:



3. You can select the domain from the corresponding drop-down menu and manage the following group of settings:



The PHP version section allows you to check the version which is currently used and set the required one.

NOTE: The list of the available modules varies depending on the PHP version you select.



The Loaders and Caches sections allow you to choose the PHP loader for your scripts and the PHP accelerator for caching the compiled bytecode of your PHP scripts.



The Others section provides you with the list of additional modules and extensions which can be enabled according to your needs:

 
PHP extensions enabled via PHP Tweaks are active for scripts processed by a web-server. In case you encounter any PHP related issues when you are working via a command line or installing scripts through Softacuous, please contact our Support team for further assistance.
 
NOTE: There are the following modules conflicts:
  • nd_mysql conflicts with mysql;
  • nd_mysqli conflicts with mysqli;
  • nd_pdo_mysql conflicts with pdo_mysql;
  • gmagick conflicts with imagick.


4. Should you need to reset PHP configuration you currently have, select the domain name and hit Reset Extensions. That will revert all the changes and roll your PHP settings for the domain in question back to the default state:

 

 

For cPanel Retro Theme:

 

1. Log into your cPanel.
 
2. Go to the Exclusive for Namecheap Customers section >> the PHP Tweaks menu:



3. You can select the domain from the corresponding drop-down menu and manage the following group of settings:



The PHP version section allows you to check the version which is currently used and set the required one.

NOTE: The list of the available modules varies depending on the PHP version you select.



The Loaders and Caches sections allow you to choose the PHP loader for your scripts and PHP accelerator for caching the compiled bytecode of your PHP scripts.



The Others section provides you with the list of additional modules and extensions which can be enabled according to your needs:

 
PHP extensions enabled via PHP Tweaks are active for scripts processed by a web-server. In case you encounter any PHP-related issues when you are working via a command line or installing scripts through Softacuous, please contact our Support team for further assistance.

NOTE: There are the following modules conflicts:
  • nd_mysql conflicts with mysql;
  • nd_mysqli conflicts with mysqli;
  • nd_pdo_mysql conflicts with pdo_mysql;
  • gmagick conflicts with imagick.

4. Should you need to reset PHP configuration you currently have, select the domain name and hit Reset Extensions. That will revert all the changes and roll your PHP settings for the domain in question back to the default state:



 



How to work with a php.ini file

Apart from the PHP Tweaks plugin, you may need to alter some of the settings using a php.ini file. One of the most common requests is to increase memory_limit, post_max_size, and upload_max_filesize limits which can be done with the help of a php.ini file. You may use this guide on how to edit the php.ini file.

That's it!

 

 

Need any help? Contact our HelpDesk

Subscribe Now

10,000 successful online businessmen like to have our content directly delivered to their inbox. Subscribe to our newsletter!

Archive Calendar

SatSunMonTueWedThuFri
 12
3456789
10111213141516
17181920212223
242526272829 

Born in 2004 ... Trusted By Clients n' Experts

SEO Stars

They never made me feel silly for asking questions. Help me understand how to attract more people and improve my search engine ranking.

Read More

Emily Schneller Manager at Sabre Inc
SEO Stars

Took advantage of Hostseo's superb tech support and I must say, it is a very perfect one. It is very fast, servers reliability is incredible.

Read More

Leena Mäkinen Creative producer
SEO Stars

We're operating a worldwide network of servers with high quality standards requirements, we’ve choose hostseo to be our perfect partner.

Read More

Ziff Davis CEO at Mashable
SEO Stars

It’s very comfortable to know I can rely about all technical issues on Hostseo and mostly that my website and emails are safe and secured here.

Read More

Isaac H. Entrepreneur
SEO Stars

With hostseo as a hosting partner we are more flexible and save money due to the better packages with great pricing, free SEO n' free SSL too!

Read More

Madeline E. Internet Professional