In the course of the life of a website, it may be necessary to change the PHP version or the php.ini settings for various reasons. Hosting platforms, as well as web software, are constantly being updated, and it is often necessary to adopt new functions for the security of your website. For example, enabling error logging, increasing the amount of memory available for PHP and much more.
To change a parameter in the php.ini, just follow the steps below:
2. Click on Select PHP Version
To change the PHP version, follow these steps in order:
The PHP version will now be modified
WARNING
By updating your PHP version, you will also update the list of functions supported by the servers. So make sure that the web software you use (WordPress, Joomla, etc.) is compatible with the PHP version you have chosen. Updating PHP with new versions may mean that your web software is no longer fully functional.
In order to change the server's directives, click on Options
Edit the directive you need by choosing from the menu or typing values into the corresponding fields. The changes will be applied within a few seconds.
HINTS
In order to be able to set different directives, without using the Cpanel GUI, you can insert the desired value directly into the .htaccess file of your site with the following directive:
php_value "valore"
php_flag "valore"
This allows you to enable all desired customisations except for system configurations.
Contact our experts, they will be happy to help!
Contact us