{"id":7823,"date":"2020-11-03T09:01:22","date_gmt":"2020-11-03T08:01:22","guid":{"rendered":"https:\/\/assistance.groupemagiconline.com\/?post_type=ht_kb&#038;p=7823"},"modified":"2022-09-28T14:28:26","modified_gmt":"2022-09-28T12:28:26","slug":"gerer-la-version-php-de-mon-wordpress","status":"publish","type":"ht_kb","link":"https:\/\/assistance.groupemagiconline.com\/en\/knowledge-base\/gerer-la-version-php-de-mon-wordpress\/","title":{"rendered":"Manage the PHP version of my WordPress"},"content":{"rendered":"<h2>Change the PHP version<\/h2>\n<p>Any new installation of a WordPress site will always have the latest version of PHP.<\/p>\n<p>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.<\/p>\n<p>As a reminder, as of December 01, 2019:<\/p>\n<ul>\n<li>The PHP 7.4 version is already available,<\/li>\n<li>PHP 7.3 is entering its second year of support,<\/li>\n<li>PHP 7.2 is only supported for security patches,<\/li>\n<li>PHP 7.1 is no longer supported,<\/li>\n<li>PHP 7.0 is no longer supported.<\/li>\n<\/ul>\n<p>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).<\/p>\n<pre><a href=\"https:\/\/assistance.groupemagiconline.com\/wp-content\/uploads\/2020\/11\/gerer-la-version-php-de-mon-wordpress-1.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-7832\" src=\"https:\/\/assistance.groupemagiconline.com\/wp-content\/uploads\/2020\/11\/gerer-la-version-php-de-mon-wordpress-1.png\" alt=\"\" width=\"1189\" height=\"309\" srcset=\"https:\/\/assistance.groupemagiconline.com\/wp-content\/uploads\/2020\/11\/gerer-la-version-php-de-mon-wordpress-1.png 1189w, https:\/\/assistance.groupemagiconline.com\/wp-content\/uploads\/2020\/11\/gerer-la-version-php-de-mon-wordpress-1-300x78.png 300w, https:\/\/assistance.groupemagiconline.com\/wp-content\/uploads\/2020\/11\/gerer-la-version-php-de-mon-wordpress-1-1024x266.png 1024w, https:\/\/assistance.groupemagiconline.com\/wp-content\/uploads\/2020\/11\/gerer-la-version-php-de-mon-wordpress-1-768x200.png 768w, https:\/\/assistance.groupemagiconline.com\/wp-content\/uploads\/2020\/11\/gerer-la-version-php-de-mon-wordpress-1-50x13.png 50w, https:\/\/assistance.groupemagiconline.com\/wp-content\/uploads\/2020\/11\/gerer-la-version-php-de-mon-wordpress-1-60x16.png 60w, https:\/\/assistance.groupemagiconline.com\/wp-content\/uploads\/2020\/11\/gerer-la-version-php-de-mon-wordpress-1-100x26.png 100w\" sizes=\"(max-width: 1189px) 100vw, 1189px\" \/><\/a><\/pre>\n<p>If you have any problems, go back to the previous version.<\/p>\n<h2>Change PHP parameters<\/h2>\n<p>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 <strong>PHP parameters<\/strong> .<\/p>\n<pre><a href=\"https:\/\/assistance.groupemagiconline.com\/wp-content\/uploads\/2020\/11\/gerer-la-version-php-de-mon-wordpress-2.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-7833\" src=\"https:\/\/assistance.groupemagiconline.com\/wp-content\/uploads\/2020\/11\/gerer-la-version-php-de-mon-wordpress-2.png\" alt=\"\" width=\"1219\" height=\"377\" srcset=\"https:\/\/assistance.groupemagiconline.com\/wp-content\/uploads\/2020\/11\/gerer-la-version-php-de-mon-wordpress-2.png 1219w, https:\/\/assistance.groupemagiconline.com\/wp-content\/uploads\/2020\/11\/gerer-la-version-php-de-mon-wordpress-2-300x93.png 300w, https:\/\/assistance.groupemagiconline.com\/wp-content\/uploads\/2020\/11\/gerer-la-version-php-de-mon-wordpress-2-1024x317.png 1024w, https:\/\/assistance.groupemagiconline.com\/wp-content\/uploads\/2020\/11\/gerer-la-version-php-de-mon-wordpress-2-768x238.png 768w, https:\/\/assistance.groupemagiconline.com\/wp-content\/uploads\/2020\/11\/gerer-la-version-php-de-mon-wordpress-2-50x15.png 50w, https:\/\/assistance.groupemagiconline.com\/wp-content\/uploads\/2020\/11\/gerer-la-version-php-de-mon-wordpress-2-60x19.png 60w, https:\/\/assistance.groupemagiconline.com\/wp-content\/uploads\/2020\/11\/gerer-la-version-php-de-mon-wordpress-2-100x31.png 100w\" sizes=\"(max-width: 1219px) 100vw, 1219px\" \/><\/a><\/pre>\n<p>Below, the most commonly used functions, just choose the desired value and click on the button <strong>Edit<\/strong>.<\/p>\n<pre><a href=\"https:\/\/assistance.groupemagiconline.com\/wp-content\/uploads\/2020\/11\/gerer-la-version-php-de-mon-wordpress-3.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-7834\" src=\"https:\/\/assistance.groupemagiconline.com\/wp-content\/uploads\/2020\/11\/gerer-la-version-php-de-mon-wordpress-3.png\" alt=\"\" width=\"789\" height=\"607\" srcset=\"https:\/\/assistance.groupemagiconline.com\/wp-content\/uploads\/2020\/11\/gerer-la-version-php-de-mon-wordpress-3.png 789w, https:\/\/assistance.groupemagiconline.com\/wp-content\/uploads\/2020\/11\/gerer-la-version-php-de-mon-wordpress-3-300x231.png 300w, https:\/\/assistance.groupemagiconline.com\/wp-content\/uploads\/2020\/11\/gerer-la-version-php-de-mon-wordpress-3-768x591.png 768w, https:\/\/assistance.groupemagiconline.com\/wp-content\/uploads\/2020\/11\/gerer-la-version-php-de-mon-wordpress-3-50x38.png 50w, https:\/\/assistance.groupemagiconline.com\/wp-content\/uploads\/2020\/11\/gerer-la-version-php-de-mon-wordpress-3-60x46.png 60w, https:\/\/assistance.groupemagiconline.com\/wp-content\/uploads\/2020\/11\/gerer-la-version-php-de-mon-wordpress-3-100x77.png 100w\" sizes=\"(max-width: 789px) 100vw, 789px\" \/><\/a><\/pre>\n    \t\t<div class=\"hts-messages hts-messages--info  hts-messages--withtitle\"   >\r\n    \t\t\t<span class=\"hts-messages__title\"><strong>allow_url_fopen<\/strong><\/span>    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tThis setting allows you to pass or block remote files. For security reasons, we strongly recommend to leave it Off (see Note 1).    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n    \t\t<div class=\"hts-messages hts-messages--info  hts-messages--withtitle\"   >\r\n    \t\t\t<span class=\"hts-messages__title\"><strong>upload_max_filesize<\/strong><\/span>    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tDefines the maximum file upload size on WordPress.    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n    \t\t<div class=\"hts-messages hts-messages--info  hts-messages--withtitle\"   >\r\n    \t\t\t<span class=\"hts-messages__title\"><strong>post_max_size<\/strong><\/span>    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tSets 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.    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n    \t\t<div class=\"hts-messages hts-messages--info  hts-messages--withtitle\"   >\r\n    \t\t\t<span class=\"hts-messages__title\"><strong>max_input_vars<\/strong><\/span>    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tDefines the maximum number of variables the server can use for a single function. Some themes\/plugins require a higher value.    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n    \t\t<div class=\"hts-messages hts-messages--info  hts-messages--withtitle\"   >\r\n    \t\t\t<span class=\"hts-messages__title\"><strong>max_execution_time<\/strong><\/span>    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tDefines the maximum time during which a PHP script is allowed to run. After this time, the script stops and an error may occur.    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n    \t\t<div class=\"hts-messages hts-messages--info  hts-messages--withtitle\"   >\r\n    \t\t\t<span class=\"hts-messages__title\"><strong>max_input_time<\/strong><\/span>    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tSets the maximum time a script is allowed to parse input data from POST and GET requests.    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n    \t\t<div class=\"hts-messages hts-messages--alert  hts-messages--withtitle hts-messages--withicon\"   >\r\n    \t\t\t<span class=\"hts-messages__title\"><strong>Note 1<\/strong><\/span>    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tIf the allow_url_fopen function is set to <strong>We<\/strong>then you will not be able to claim our guarantee in case your site is hacked.    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n    \t\t<div class=\"hts-messages hts-messages--alert  hts-messages--withtitle hts-messages--withicon\"   >\r\n    \t\t\t<span class=\"hts-messages__title\">Note 2<\/span>    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tThe 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.    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->","protected":false},"excerpt":{"rendered":"<p>Changing 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 department and not by the subscriber. It is possible to change the version...<\/p>","protected":false},"author":52,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[],"ht-kb-tag":[],"class_list":["post-7823","ht_kb","type-ht_kb","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/assistance.groupemagiconline.com\/en\/wp-json\/wp\/v2\/ht-kb\/7823","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/assistance.groupemagiconline.com\/en\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/assistance.groupemagiconline.com\/en\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/assistance.groupemagiconline.com\/en\/wp-json\/wp\/v2\/users\/52"}],"replies":[{"embeddable":true,"href":"https:\/\/assistance.groupemagiconline.com\/en\/wp-json\/wp\/v2\/comments?post=7823"}],"version-history":[{"count":1,"href":"https:\/\/assistance.groupemagiconline.com\/en\/wp-json\/wp\/v2\/ht-kb\/7823\/revisions"}],"predecessor-version":[{"id":11049,"href":"https:\/\/assistance.groupemagiconline.com\/en\/wp-json\/wp\/v2\/ht-kb\/7823\/revisions\/11049"}],"wp:attachment":[{"href":"https:\/\/assistance.groupemagiconline.com\/en\/wp-json\/wp\/v2\/media?parent=7823"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/assistance.groupemagiconline.com\/en\/wp-json\/wp\/v2\/ht-kb-category?post=7823"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/assistance.groupemagiconline.com\/en\/wp-json\/wp\/v2\/ht-kb-tag?post=7823"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}