1. Home
  2. Web Hosting
  3. Wordpress+
  4. Manage the PHP version of my WordPress

Manage the PHP version of my WordPress

Change the PHP version

Any new installation of a WordPress site will always have the latest version of PHP.

It is not possible to update the PHP version because it is a server managed by the technical service and not by the subscriber. It is only possible to change the PHP version.

As a reminder, as of December 01, 2019:

  • The PHP 7.4 version is already available,
  • PHP 7.3 is entering its second year of support,
  • PHP 7.2 is only supported for security patches,
  • PHP 7.1 is no longer supported,
  • PHP 7.0 is no longer supported.

Although the latest version will always be recommended, if for any reason (compatibility problem for example), you wish to change PHP version, just select the desired version and wait for the services to restart (about 20 seconds).

If you have any problems, go back to the previous version.

Change PHP parameters

Some themes or plugins require a specific PHP configuration. If you want to change the PHP settings, just log in to your console, manage the site in question, and click on the PHP parameters .

Below, the most commonly used functions, just choose the desired value and click on the button Edit.

allow_url_fopen

This setting allows you to pass or block remote files. For security reasons, we strongly recommend to leave it Off (see Note 1).

upload_max_filesize

Defines the maximum file upload size on WordPress.

post_max_size

Sets the maximum size allowed for post data. This setting also affects the upload of files to WordPress. To avoid any problems, upload_max_ filesize and post_max_size must have the same value.

max_input_vars

Defines the maximum number of variables the server can use for a single function. Some themes/plugins require a higher value.

max_execution_time

Defines the maximum time during which a PHP script is allowed to run. After this time, the script stops and an error may occur.

max_input_time

Sets the maximum time a script is allowed to parse input data from POST and GET requests.

Note 1

If the allow_url_fopen function is set to Wethen you will not be able to claim our guarantee in case your site is hacked.

Note 2

The functions max_input_vars, max_execution_time and max_input_time are likely to slow down your site under certain circumstances. This is why we have deliberately limited the values to those in the selection menu.

Updated on 28 September 2022

Related Articles