1/2/2024 0 Comments Cpanel php 8![]() ![]() The PHP Options tab allows you to easily change a number of the common php.ini settings, without having to edit the php.ini file. IonCube loader is required for WHMCS - you can enable that here. Selecting incompatible extensions can cause intermittent or permanent errors or performance degradation - for example, the APC extension should not be used with PHP 5.4 and above.Ĭonversely, failing to select PHP extensions that are required by your web application can cause server errors and prevent it from working at all. This functionality should be used with care. Selecting unnecessary PHP extensions to load at run-time can adversely affect the performance of your website because the server has to open more files in order to process your scripts. You'll see a notification box confirming your actions at the top of the screen. ![]() You can enable modules by ticking, disable by unticking - changes will automatically save. You can see them for PHP 7.3 in the screenshot above. If you attempt to use any of these functions without activating this extension then your pages will return an internal server error.įor example, Magento has a list of required PHP Extensions - external link opens in a new window listed including DOM, and SOAP, which may not be enabled by default.Įnabling and disabling a module/extensionĭepending on the PHP version you select you will see the PHP Extensions available, with the system default modules for that version selected. For example, the Imagick extension - external link opens in a new window provides a range of PHP functions relating to image manipulation. Changing PHP ExtensionsĪ PHP extension (sometimes also called PHP Module), as its name suggests, extends the PHP language with more functions. Whilst we would always recommend running the latest version of PHP possible (v7.x has significant performance improvements over v5.x - so you could get a 'free' website speed boost just by changing) - we do also offer hardened and security patch maintained older versions if your website requires them. ![]() To change the PHP version for this cPanel - click the current version and select the required version from the drop-down and then click Set as Current.Īfter changing the PHP version please ensure all required PHP Extensions are enabled and that your PHP Options settings are correct - checking and changing these are covered next in this guide. The current PHP version is shown at the top and indicated with (current). When you click Select PHP Version you will be presented with the PHP Selector page on the PHP Extensions tab. PHP settings are accessed via cPanel > Software > Select PHP Version Changing your PHP version See the section below on Checking your current PHP settings. Changes to any of these settings - PHP Version, Extensions & Options - take effect virtually instantly. You can switch back to a previous PHP version if there's a problem. So, if you have multiple sites running on different domains within the same account please be sure to test them all thoroughly when changing the PHP version or making other changes. PHP settings apply for the whole cPanel account - including any addon, alias and subdomains. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |