PHP Version Selection

       PHP Version Selector        Select the default PHP Version  and install Modules or modify initialization Settings. 

You can locate your PHP selector in your cPanel  PROGRAMMING section:


PHP is a popular web programming language that is constantly evolving and we offer versions 5.6,  7.1,  7.2,  7.3 and 7.4 , 8.1, 8.2 and we run hardened versions of PHP so even older versions reach end of life for official PHP support you can confidently run older applications knowing they are patched for security.

If you are running Application Scripts written in PHP programming language such as Wordpress or Drupal or Opencart  those application developers will specify minimum PHP "Version" and sometimes additional "Module" or "Option " requirements for their application to run properly.  It is up to you to keep your PHP settings updated and compatible for the applications you install  on your server. 

 

PHP VERSIONS:    By default your server will run native 5.6 or will display its current default verson.  You can click on the PHP version link to view Version Menu and once selected click the "Set as current" link to set it to the new default.

PHP EXTENSION MODULES:  Below each PHP Version will display all of the available Modules that you enable by clicking on the open checkbox or disable by clicking on checked box.   Some applications may require a specific Database Connector Module or a pdf generator Module or they will error.  We  load a default set of Modules that permit the majority of Applications to work but you may need to enable additional Modules depending on the requirements defined by your Application.  Note some older applications may require mbstring  to be enabled in order to run. Check with your specific Application provider for assistance.

https://lowesthosting.com/account/images/kbase/advanced/selector_version.png

 

PHP SETTING OPTIONS:  Each  PHP Version also allows you to modify its Option Settings such as error logging , max execution time, upload max file size or max post size  or to allow _url_fopen etc.   Click the "Switch to PHP options" button to view options mode.

 

 

 

 

These are advanced options must be controlled via the Selector that allow additional control and also preset to our defaults and will work out of the box in most cases.  Keep in mind some limits are set as Global Defaults and although you can set a lower value you will not be able to exceed the default value on our shared servers.

Every customer has different application requirements and as your application are updated you may eventually need to update your PHP version to keep them up to date and secure.  In most cases your script will provide an on screen error of what is missing  or you can check your error.php log in the application folder to gain additional insight.  Once common error we see is scripts that require mbstring module stop working if its not enabled or the wrong mysql connector is selected for the version being use.

Lowesthosting.com can only provide limited support for third party applications.  If you require assistance please open a support ticket and provide  the Application Name, Path to the Script, Script Version if known and Method used for testing ie:  i go to page  mydomain.com/store  and the date block in upper right is not working . or  I log into mydomain.com/store/admin  using login x and password but it displays missing mysql_pdo

If running the newer version of php causes an issue with your script you can revert it back using the same procedure.  Also remember to clear your browser file cache after each php version change.

  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

Server Side Includes (SSI)

SSI Server Side Includes Server Side Includes (SSI)  is an interpreted Perl like programming...

Apache .htaccess

Apache htaccess htaccess is a configuration file that begins with a period (.) that is read by...

File and Folder Permissions

File & Folder Permissions                     Changing file and folder...

Cron Jobs

Cron Job Manager Cron jobs Cron jobs are an advanced developer feature that allow you to...

Sub-Domains

Sub Domains Subdomains are used to generate separate URL's for different sections of your...