{"id":9258,"date":"2026-10-24T20:04:16","date_gmt":"2026-10-24T20:04:16","guid":{"rendered":"https:\/\/hosting4agency.com\/?p=9258"},"modified":"2026-10-24T21:39:01","modified_gmt":"2026-10-24T21:39:01","slug":"php2shell-what-happened-what-we-did","status":"publish","type":"post","link":"https:\/\/hosting4agency.com\/en\/safe-hosting\/php2shell-what-happened-what-we-did\/","title":{"rendered":"PHP2Shell: what happened and what we did on our servers"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Have you heard about PHP2Shell and you&#8217;re not sure your sites are safe? Here&#8217;s what happened, what we did hour by hour, and what you can check on your own.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What happened on 21 October<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">On 21 October PHP fixed two flaws in its core, CVE-2026-109618 and CVE-2026-109619, named <strong>PHP2Shell<\/strong>. They let anyone run code on the server remotely, without logging in. PHP rated them 9.2 out of 10; watchTowr, which analysed them, puts them at 10.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The fixed versions were released at 15:50 Italian time (13:50 UTC):<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>PHP <strong>8.5.12<\/strong><\/li>\n\n\n\n<li>PHP <strong>8.4.27<\/strong><\/li>\n\n\n\n<li>PHP <strong>8.3.36<\/strong><\/li>\n\n\n\n<li>PHP <strong>8.2.35<\/strong><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">For 8.1 and older there is <strong>no official release<\/strong>: there are only source-code fixes for 7.4, 8.0 and 8.1, which someone has to compile and install.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The flaws were found by Wiz, with the help of AI models. The same day some Wikipedia services and several government websites in the Netherlands and Finland were taken offline as a precaution.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What we did, hour by hour<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Times are Italian time.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>21 October, 11:08.<\/strong> Imunify360, the security suite on our Plesk servers, gets a rule for its web application firewall that blocks the known attack request. It&#8217;s protection while waiting for the patch, not a fix.<\/li>\n\n\n\n<li><strong>15:50.<\/strong> The fixed PHP versions are released.<\/li>\n\n\n\n<li><strong>A few minutes later.<\/strong> On the Plesk servers PHP updates itself: our licences include automatic updates, and we keep them on.<\/li>\n\n\n\n<li><strong>About two hours later.<\/strong> On the VPS we manage, we update PHP manually, with our updater: a script that checks backups, versions and services.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Why speed matters<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The time between a patch being published and the first attack attempts is now a matter of hours: for PHP2Shell the first ones arrived right after the announcement. Attackers read the fix, work out what was closed, and try it on the servers that haven&#8217;t installed it yet.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And finding a flaw costs less and less. Wiz says that work which used to take a team months was done by one researcher, with AI, in a week. If the time to find a flaw gets shorter, the time to update has to get shorter too.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Sites on old PHP<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If a site runs on PHP 7.4, 8.0 or 8.1, today there is no official package to install. The application firewall blocks the known attack request, but nobody knows the variants in advance. The only complete fix is moving to a supported version, 8.2 or later.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We know it isn&#8217;t always simple: an abandoned plugin, a theme written years ago, a management system nobody wants to touch. That&#8217;s exactly why it pays to do it now, calmly, rather than at the next flaw.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to check your site<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Your site&#8217;s PHP version.<\/strong> In Plesk you&#8217;ll find it in the domain&#8217;s PHP settings. In WordPress go to <em>Tools \u2192 Site Health \u2192 Info \u2192 Server<\/em>.<\/li>\n\n\n\n<li><strong>The number after the second dot.<\/strong> An 8.3 must be at least 8.3.36, an 8.4 at least 8.4.27, and so on with the list above.<\/li>\n\n\n\n<li><strong>If you have SSH access<\/strong>, <code>php -v<\/code> gives you the command-line version. The site may use a different one, so check point 1 too.<\/li>\n\n\n\n<li><strong>WordPress, themes and plugins up to date.<\/strong> The flaw is in PHP, but an old site usually has more than one open door.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">If your host hasn&#8217;t told you anything<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Ask them. There are three questions:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>when did you update PHP, and on which versions?<\/li>\n\n\n\n<li>what are you doing for sites on PHP 8.1 or older?<\/li>\n\n\n\n<li>is there an application firewall with rules updated to 21 October?<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">If the answer takes days, or never comes, you already have your answer.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Have you already updated PHP on your servers? If you need a hand, <strong>write to us: we&#8217;ll check it together, no strings attached<\/strong>. Or choose a hosting like ours, where updates are our job.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Read more:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/hosting4agency.com\/en\/custom-hosting\/\">Custom hosting<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/hosting4agency.com\/en\/wordpress-hosting\/php-8-5-what-really-changes-for-sites-developers-and-companies\/\">PHP 8.5: what really changes for sites, developers and companies<\/a><\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-7387b849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\"><script>\nvar gform;gform||(document.addEventListener(\"gform_main_scripts_loaded\",function(){gform.scriptsLoaded=!0}),document.addEventListener(\"gform\/theme\/scripts_loaded\",function(){gform.themeScriptsLoaded=!0}),window.addEventListener(\"DOMContentLoaded\",function(){gform.domLoaded=!0}),gform={domLoaded:!1,scriptsLoaded:!1,themeScriptsLoaded:!1,isFormEditor:()=>\"function\"==typeof InitializeEditor,callIfLoaded:function(o){return!(!gform.domLoaded||!gform.scriptsLoaded||!gform.themeScriptsLoaded&&!gform.isFormEditor()||(gform.isFormEditor()&&console.warn(\"The use of gform.initializeOnLoaded() is deprecated in the form editor context and will be removed in Gravity Forms 3.1.\"),o(),0))},initializeOnLoaded:function(o){gform.callIfLoaded(o)||(document.addEventListener(\"gform_main_scripts_loaded\",()=>{gform.scriptsLoaded=!0,gform.callIfLoaded(o)}),document.addEventListener(\"gform\/theme\/scripts_loaded\",()=>{gform.themeScriptsLoaded=!0,gform.callIfLoaded(o)}),window.addEventListener(\"DOMContentLoaded\",()=>{gform.domLoaded=!0,gform.callIfLoaded(o)}))},hooks:{action:{},filter:{}},addAction:function(o,r,e,t){gform.addHook(\"action\",o,r,e,t)},addFilter:function(o,r,e,t){gform.addHook(\"filter\",o,r,e,t)},doAction:function(o){gform.doHook(\"action\",o,arguments)},applyFilters:function(o){return gform.doHook(\"filter\",o,arguments)},removeAction:function(o,r){gform.removeHook(\"action\",o,r)},removeFilter:function(o,r,e){gform.removeHook(\"filter\",o,r,e)},addHook:function(o,r,e,t,n){null==gform.hooks[o][r]&&(gform.hooks[o][r]=[]);var d=gform.hooks[o][r];null==n&&(n=r+\"_\"+d.length),gform.hooks[o][r].push({tag:n,callable:e,priority:t=null==t?10:t})},doHook:function(r,o,e){var t;if(e=Array.prototype.slice.call(e,1),null!=gform.hooks[r][o]&&((o=gform.hooks[r][o]).sort(function(o,r){return o.priority-r.priority}),o.forEach(function(o){\"function\"!=typeof(t=o.callable)&&(t=window[t]),\"action\"==r?t.apply(null,e):e[0]=t.apply(null,e)})),\"filter\"==r)return e[0]},removeHook:function(o,r,t,n){var e;null!=gform.hooks[o][r]&&(e=(e=gform.hooks[o][r]).filter(function(o,r,e){return!!(null!=n&&n!=o.tag||null!=t&&t!=o.priority)}),gform.hooks[o][r]=e)}});\n<\/script>\n\n                <div class='gf_browser_gecko gform_wrapper gravity-theme gform-theme--no-framework' data-form-theme='gravity-theme' data-form-index='0' id='gform_wrapper_1' >\n                        <div class='gform_heading'>\n                            <h2 class=\"gform_title\">Contacts<\/h2>\n                            <p class='gform_description'><\/p>\n\t\t\t\t\t\t\t<p class='gform_required_legend'>&quot;<span class=\"gfield_required gfield_required_asterisk\">*<\/span>&quot; indicates required fields<\/p>\n                        <\/div><form method='post' enctype='multipart\/form-data'  id='gform_1'  action='\/en\/wp-json\/wp\/v2\/posts\/9258' data-formid='1' novalidate>\n                        <div class='gform-body gform_body'><div id='gform_fields_1' class='gform_fields top_label form_sublabel_below description_below validation_below' data-column-layout='fill'><div id=\"field_1_7\" class=\"gfield gfield--type-honeypot gform_validation_container field_sublabel_below gfield--has-description field_description_below field_validation_below gfield_visibility_visible\"><label id='gfield_label_1_7' class='gfield_label gform-field-label' for='input_1_7'><span class='gform-field-label__text'>X\/Twitter<\/span><\/label><div class='ginput_container'><input name='input_7' id='input_1_7' type='text' value='' autocomplete='new-password'\/><\/div><div class='gfield_description' id='gfield_description_1_7'>This field is for validation purposes and should be left unchanged.<\/div><\/div><fieldset id=\"field_1_1\" class=\"gfield gfield--type-name gfield--input-type-name gfield_contains_required field_sublabel_hidden_label gfield--no-description field_description_below hidden_label field_validation_below gfield_visibility_visible\" data-group-id=\"462a9457\" data-field-span=\"12\"><legend id='gfield_label_1_1' class='gfield_label gform-field-label gfield_label_before_complex' ><span class='gform-field-label__text'>Name<\/span><span class=\"gfield_required\"><span class=\"gfield_required gfield_required_asterisk\">*<\/span><\/span><\/legend><div class='ginput_complex ginput_container ginput_container--name no_prefix has_first_name no_middle_name has_last_name no_suffix gf_name_has_2 ginput_container_name gform-grid-row' id='input_1_1'>\n                            \n                            <span id='input_1_1_3_container' class='name_first gform-grid-col gform-grid-col--size-auto' >\n                                                    <input type='text' name='input_1.3' id='input_1_1_3' value=''   aria-required='true'   placeholder='Name'  aria-labelledby=\"input_1_1_3_label gfield_label_1_1\"\/>\n                                                    <label for='input_1_1_3' id='input_1_1_3_label' class='gform-field-label gform-field-label--type-sub hidden_sub_label screen-reader-text'>First<\/label>\n                                                <\/span>\n                            \n                            <span id='input_1_1_6_container' class='name_last gform-grid-col gform-grid-col--size-auto' >\n                                                    <input type='text' name='input_1.6' id='input_1_1_6' value=''   aria-required='true'   placeholder='Lastname'  \/>\n                                                    <label for='input_1_1_6' id='input_1_1_6_label' class='gform-field-label gform-field-label--type-sub hidden_sub_label screen-reader-text'>Last<\/label>\n                                                <\/span>\n                            \n                        <\/div><\/fieldset><div id=\"field_1_2\" class=\"gfield gfield--type-email gfield--input-type-email gfield_contains_required field_sublabel_below gfield--no-description field_description_below hidden_label field_validation_below gfield_visibility_visible\" data-group-id=\"d66f0443\" data-field-span=\"12\"><label id='gfield_label_1_2' class='gfield_label gform-field-label' for='input_1_2'><span class='gform-field-label__text'>Email<\/span><span class=\"gfield_required\"><span class=\"gfield_required gfield_required_asterisk\">*<\/span><\/span><\/label><div class='ginput_container ginput_container_email'>\n                            <input name='input_2' id='input_1_2' type='email' value='' class='large'   placeholder='Email*' aria-required=\"true\" aria-invalid=\"false\"  \/>\n                        <\/div><\/div><div id=\"field_1_3\" class=\"gfield gfield--type-phone gfield--input-type-phone gfield--phone-format-international field_sublabel_below gfield--no-description field_description_below hidden_label field_validation_below gfield_visibility_visible\" data-group-id=\"4d0ff916\" data-field-span=\"12\"><label id='gfield_label_1_3' class='gfield_label gform-field-label' for='input_1_3'><span class='gform-field-label__text'>Phone<\/span><\/label><div class='ginput_container ginput_container_phone'><input name='input_3' id='input_1_3' type='tel' value='' class='large'  placeholder='Telephone (optional)'  aria-invalid=\"false\"    \/><\/div><\/div><div id=\"field_1_4\" class=\"gfield gfield--type-textarea gfield--input-type-textarea gfield--width-full field_sublabel_below gfield--no-description field_description_below hidden_label field_validation_below gfield_visibility_visible\" data-group-id=\"207d3878\" data-field-span=\"12\"><label id='gfield_label_1_4' class='gfield_label gform-field-label' for='input_1_4'><span class='gform-field-label__text'>Message<\/span><\/label><div class='ginput_container ginput_container_textarea'><textarea name='input_4' id='input_1_4' class='textarea medium'    placeholder='Message'  aria-invalid=\"false\"   rows='10' cols='50'><\/textarea><\/div><\/div><fieldset id=\"field_1_5\" class=\"gfield gfield--type-consent gfield--type-choice gfield--input-type-consent gfield_contains_required field_sublabel_below gfield--no-description field_description_below hidden_label field_validation_below gfield_visibility_visible gfield--choice-align-vertical\" data-group-id=\"edd90936\" data-field-span=\"12\"><legend id='gfield_label_1_5' class='gfield_label gform-field-label gfield_label_before_complex' ><span class='gform-field-label__text'>Consent<\/span><span class=\"gfield_required\"><span class=\"gfield_required gfield_required_asterisk\">*<\/span><\/span><\/legend><div class='ginput_container ginput_container_consent'><input name='input_5.1' id='input_1_5_1' type='checkbox' value='1'   aria-labelledby=\"input_1_5_1_label gfield_label_1_5\" aria-required=\"true\" aria-invalid=\"false\"   \/> <label id='input_1_5_1_label' class=\"gform-field-label gform-field-label--type-inline gfield_consent_label\" for='input_1_5_1' ><span class='gform-field-label__text'><small style=\"color:#fff;\">I declare that I have read and accepted the <a style=\"color:#fff !important;\" href=\"https:\/\/hosting4agency.com\/en\/dichiarazione-sulla-privacy-ue\/\">Privacy Notice<\/a>.<\/small><\/span><span class=\"gfield_required gfield_required_asterisk\">*<\/span><\/label><input type='hidden' name='input_5.2' value='&lt;small style=&quot;color:#fff;&quot;&gt;I declare that I have read and accepted the &lt;a style=&quot;color:#fff !important;&quot; href=&quot;https:\/\/hosting4agency.com\/en\/dichiarazione-sulla-privacy-ue\/&quot;&gt;Privacy Notice&lt;\/a&gt;.&lt;\/small&gt;' class='gform_hidden' \/><input type='hidden' name='input_5.3' value='1' class='gform_hidden' \/><\/div><\/fieldset><div id=\"field_1_6\" class=\"gfield gfield--type-hidden gfield--input-type-hidden gform_hidden field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible\" data-group-id=\"16c9d82f\" data-field-span=\"12\"><div class='ginput_container ginput_container_text'><input name='input_6' id='input_1_6' type='hidden' class='gform_hidden'  aria-invalid=\"false\" value='SitoH4A-Form' \/><\/div><\/div><\/div><\/div>\n        <div class='gform-footer gform_footer top_label'> <button type='submit' id='gform_submit_button_1' class='gform_button button' onclick='gform.submission.handleButtonClick(this);' data-submission-type='submit' >Send<\/button> \n            <input type='hidden' class='gform_hidden' name='gform_submission_method' data-js='gform_submission_method_1' value='postback' \/>\n            <input type='hidden' class='gform_hidden' name='gform_theme' data-js='gform_theme_1' id='gform_theme_1' value='gravity-theme' \/>\n            <input type='hidden' class='gform_hidden' name='gform_style_settings' data-js='gform_style_settings_1' id='gform_style_settings_1' value='{&quot;inputPrimaryColor&quot;:&quot;#204ce5&quot;}' \/>\n            <input type='hidden' class='gform_hidden' name='is_submit_1' value='1' \/>\n            <input type='hidden' class='gform_hidden' name='gform_submit' value='1' \/>\n            \n            <input type='hidden' class='gform_hidden' name='gform_currency' data-currency='EUR' value='Z4nCxtG1SHaQ1j81hUqMatwDxoHzqjRtO3nQ6GjPF7emXrue90QgOEoGg+\/44wDsNTG78ck+Uu6m91NvcfcPDZrfu+\/DrwJIe1ZvsrI1OPk4f9E=' \/>\n            <input type='hidden' class='gform_hidden' name='gform_unique_id' value='' \/>\n            <input type='hidden' class='gform_hidden' name='state_1' value='WyJ7XCI1LjFcIjpcImIyZWUwNzlhOTlhZDlmNjcyNjUzNGQ1OGE4Y2FjNzU5XCIsXCI1LjJcIjpcIjJhYTRhY2IwZGIxNDU1ZmUyMTc1Nzc5NTUyZTA4MTc1XCIsXCI1LjNcIjpcImIyZWUwNzlhOTlhZDlmNjcyNjUzNGQ1OGE4Y2FjNzU5XCIsXCJnZm9ybV9zdWJtaXNzaW9uX21ldGhvZFwiOltcImZkZmMxZDUxM2VmZjk5N2Q0NWExMmRkMjJhNzhhNTU1XCIsXCI5ODJhYjY4MjdjNWNlOGFjYTFhNTgxYzk3ODkwMzRmN1wiXSxcImdmb3JtX3RoZW1lXCI6XCIwNzQwOWY4NDgwM2E4N2QxMzVhODE5MWQ5ZTIxMGUxN1wiLFwiZ2Zvcm1fc3R5bGVfc2V0dGluZ3NcIjpcIjA0ZTUwZTIyODBkZmRlNTk1NTFhYTM2MmRmZjY0Zjk4XCIsXCJmb3JtX2lkXCI6XCJiMmVlMDc5YTk5YWQ5ZjY3MjY1MzRkNThhOGNhYzc1OVwiLFwidXJsXCI6XCJkMWQwNmI3MjBlY2YyZDliNGU0YTIwN2M5ZGRiOTdhNlwiLFwic3RhdGVfdGltZXN0YW1wXCI6XCI4MWNhNTJjNjM0OGU0NTU3YmJlN2RlZjQwYWYzZWYwOFwifSIsImQ1NDJmNmZjMzJkMDQwNWQ1YTIwZWY2YWRhOGZkMzE3IiwxNzkyOTA2OTAzXQ==' \/>\n            <input type='hidden' autocomplete='off' class='gform_hidden' name='gform_target_page_number_1' id='gform_target_page_number_1' value='0' \/>\n            <input type='hidden' autocomplete='off' class='gform_hidden' name='gform_source_page_number_1' id='gform_source_page_number_1' value='1' \/>\n            <input type='hidden' name='gform_field_values' value='' \/>\n            \n        <\/div>\n                        <p style=\"display: none !important;\" class=\"akismet-fields-container\" data-prefix=\"ak_\"><label>&#916;<textarea name=\"ak_hp_textarea\" cols=\"45\" rows=\"8\" maxlength=\"100\"><\/textarea><\/label><input type=\"hidden\" id=\"ak_js_1\" name=\"ak_js\" value=\"148\"\/><script>\ndocument.getElementById( \"ak_js_1\" ).setAttribute( \"value\", ( new Date() ).getTime() );\n<\/script>\n<\/p><\/form>\n                        <\/div><\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<h2 class=\"wp-block-heading\">Your business, &#8220;Without Worries&#8221;<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">It&#8217;s time to take back control of your time. Focus on acquiring new customers, marketing strategies, and developing excellent code. At machines, performance, and IT security, we&#8217;ve got it covered.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Request today your free 30-day trial and unlock the potential of your agency!<\/p>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-7387b849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\"><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Discover what happened on 21 October, how we updated PHP on the Hosting4Agency servers and how to check in two minutes whether your site is safe.<\/p>\n","protected":false},"author":1,"featured_media":9257,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[115],"tags":[],"class_list":["post-9258","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-safe-hosting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>PHP2Shell: what happened and what we did - Hosting4Agency<\/title>\n<meta name=\"description\" content=\"PHP2Shell, the critical PHP flaw of 21 October: what happened, when we updated our servers and how to check your site in two minutes.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hosting4agency.com\/en\/safe-hosting\/php2shell-what-happened-what-we-did\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PHP2Shell: what happened and what we did - Hosting4Agency\" \/>\n<meta property=\"og:description\" content=\"PHP2Shell, the critical PHP flaw of 21 October: what happened, when we updated our servers and how to check your site in two minutes.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hosting4agency.com\/en\/safe-hosting\/php2shell-what-happened-what-we-did\/\" \/>\n<meta property=\"og:site_name\" content=\"Hosting4Agency\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hosting4agency\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-24T20:04:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-24T21:39:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hosting4agency.com\/wp-content\/uploads\/2026\/10\/php2shell-php-update-hosting.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1800\" \/>\n\t<meta property=\"og:image:height\" content=\"1200\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Hosting 4 Agency\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Hosting 4 Agency\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/hosting4agency.com\\\/en\\\/safe-hosting\\\/php2shell-what-happened-what-we-did\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hosting4agency.com\\\/en\\\/safe-hosting\\\/php2shell-what-happened-what-we-did\\\/\"},\"author\":{\"name\":\"Hosting 4 Agency\",\"@id\":\"https:\\\/\\\/hosting4agency.com\\\/en\\\/#\\\/schema\\\/person\\\/0973c5551c8bcc591a92709a381e1bed\"},\"headline\":\"PHP2Shell: what happened and what we did on our servers\",\"datePublished\":\"2026-10-24T20:04:16+00:00\",\"dateModified\":\"2026-10-24T21:39:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/hosting4agency.com\\\/en\\\/safe-hosting\\\/php2shell-what-happened-what-we-did\\\/\"},\"wordCount\":686,\"publisher\":{\"@id\":\"https:\\\/\\\/hosting4agency.com\\\/en\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/hosting4agency.com\\\/en\\\/safe-hosting\\\/php2shell-what-happened-what-we-did\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hosting4agency.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/php2shell-php-update-hosting.webp\",\"articleSection\":[\"Privacy and Security\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/hosting4agency.com\\\/en\\\/safe-hosting\\\/php2shell-what-happened-what-we-did\\\/\",\"url\":\"https:\\\/\\\/hosting4agency.com\\\/en\\\/safe-hosting\\\/php2shell-what-happened-what-we-did\\\/\",\"name\":\"PHP2Shell: what happened and what we did - Hosting4Agency\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hosting4agency.com\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/hosting4agency.com\\\/en\\\/safe-hosting\\\/php2shell-what-happened-what-we-did\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/hosting4agency.com\\\/en\\\/safe-hosting\\\/php2shell-what-happened-what-we-did\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hosting4agency.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/php2shell-php-update-hosting.webp\",\"datePublished\":\"2026-10-24T20:04:16+00:00\",\"dateModified\":\"2026-10-24T21:39:01+00:00\",\"description\":\"PHP2Shell, the critical PHP flaw of 21 October: what happened, when we updated our servers and how to check your site in two minutes.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/hosting4agency.com\\\/en\\\/safe-hosting\\\/php2shell-what-happened-what-we-did\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/hosting4agency.com\\\/en\\\/safe-hosting\\\/php2shell-what-happened-what-we-did\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hosting4agency.com\\\/en\\\/safe-hosting\\\/php2shell-what-happened-what-we-did\\\/#primaryimage\",\"url\":\"https:\\\/\\\/hosting4agency.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/php2shell-php-update-hosting.webp\",\"contentUrl\":\"https:\\\/\\\/hosting4agency.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/php2shell-php-update-hosting.webp\",\"width\":1800,\"height\":1200,\"caption\":\"Hosting4Agency: immagini che evidenziano controllo qualit\u00e0 e sicurezza hosting.\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/hosting4agency.com\\\/en\\\/safe-hosting\\\/php2shell-what-happened-what-we-did\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/hosting4agency.com\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PHP2Shell: what happened and what we did on our servers\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/hosting4agency.com\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/hosting4agency.com\\\/en\\\/\",\"name\":\"Hosting 4 Agency\",\"description\":\"Hosting B2B2B per Agenzie\",\"publisher\":{\"@id\":\"https:\\\/\\\/hosting4agency.com\\\/en\\\/#organization\"},\"alternateName\":\"H4A\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/hosting4agency.com\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/hosting4agency.com\\\/en\\\/#organization\",\"name\":\"Hosting 4 Agency\",\"url\":\"https:\\\/\\\/hosting4agency.com\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hosting4agency.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/hosting4agency.com\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/Logo-Ridotto-5.png\",\"contentUrl\":\"https:\\\/\\\/hosting4agency.com\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/Logo-Ridotto-5.png\",\"width\":512,\"height\":512,\"caption\":\"Hosting 4 Agency\"},\"image\":{\"@id\":\"https:\\\/\\\/hosting4agency.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hosting4agency\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/hosting4agency.com\\\/en\\\/#\\\/schema\\\/person\\\/0973c5551c8bcc591a92709a381e1bed\",\"name\":\"Hosting 4 Agency\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5ca6e046df97fda2d2ad39ad1d2a68842b251ad3d0d94627063cc12b7ca65579?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5ca6e046df97fda2d2ad39ad1d2a68842b251ad3d0d94627063cc12b7ca65579?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5ca6e046df97fda2d2ad39ad1d2a68842b251ad3d0d94627063cc12b7ca65579?s=96&d=mm&r=g\",\"caption\":\"Hosting 4 Agency\"},\"sameAs\":[\"https:\\\/\\\/hosting4agency.com\\\/new.hosting4agency.com\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PHP2Shell: what happened and what we did - Hosting4Agency","description":"PHP2Shell, the critical PHP flaw of 21 October: what happened, when we updated our servers and how to check your site in two minutes.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hosting4agency.com\/en\/safe-hosting\/php2shell-what-happened-what-we-did\/","og_locale":"en_US","og_type":"article","og_title":"PHP2Shell: what happened and what we did - Hosting4Agency","og_description":"PHP2Shell, the critical PHP flaw of 21 October: what happened, when we updated our servers and how to check your site in two minutes.","og_url":"https:\/\/hosting4agency.com\/en\/safe-hosting\/php2shell-what-happened-what-we-did\/","og_site_name":"Hosting4Agency","article_publisher":"https:\/\/www.facebook.com\/hosting4agency","article_published_time":"2026-10-24T20:04:16+00:00","article_modified_time":"2026-10-24T21:39:01+00:00","og_image":[{"width":1800,"height":1200,"url":"https:\/\/hosting4agency.com\/wp-content\/uploads\/2026\/10\/php2shell-php-update-hosting.webp","type":"image\/webp"}],"author":"Hosting 4 Agency","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Hosting 4 Agency","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hosting4agency.com\/en\/safe-hosting\/php2shell-what-happened-what-we-did\/#article","isPartOf":{"@id":"https:\/\/hosting4agency.com\/en\/safe-hosting\/php2shell-what-happened-what-we-did\/"},"author":{"name":"Hosting 4 Agency","@id":"https:\/\/hosting4agency.com\/en\/#\/schema\/person\/0973c5551c8bcc591a92709a381e1bed"},"headline":"PHP2Shell: what happened and what we did on our servers","datePublished":"2026-10-24T20:04:16+00:00","dateModified":"2026-10-24T21:39:01+00:00","mainEntityOfPage":{"@id":"https:\/\/hosting4agency.com\/en\/safe-hosting\/php2shell-what-happened-what-we-did\/"},"wordCount":686,"publisher":{"@id":"https:\/\/hosting4agency.com\/en\/#organization"},"image":{"@id":"https:\/\/hosting4agency.com\/en\/safe-hosting\/php2shell-what-happened-what-we-did\/#primaryimage"},"thumbnailUrl":"https:\/\/hosting4agency.com\/wp-content\/uploads\/2026\/10\/php2shell-php-update-hosting.webp","articleSection":["Privacy and Security"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/hosting4agency.com\/en\/safe-hosting\/php2shell-what-happened-what-we-did\/","url":"https:\/\/hosting4agency.com\/en\/safe-hosting\/php2shell-what-happened-what-we-did\/","name":"PHP2Shell: what happened and what we did - Hosting4Agency","isPartOf":{"@id":"https:\/\/hosting4agency.com\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hosting4agency.com\/en\/safe-hosting\/php2shell-what-happened-what-we-did\/#primaryimage"},"image":{"@id":"https:\/\/hosting4agency.com\/en\/safe-hosting\/php2shell-what-happened-what-we-did\/#primaryimage"},"thumbnailUrl":"https:\/\/hosting4agency.com\/wp-content\/uploads\/2026\/10\/php2shell-php-update-hosting.webp","datePublished":"2026-10-24T20:04:16+00:00","dateModified":"2026-10-24T21:39:01+00:00","description":"PHP2Shell, the critical PHP flaw of 21 October: what happened, when we updated our servers and how to check your site in two minutes.","breadcrumb":{"@id":"https:\/\/hosting4agency.com\/en\/safe-hosting\/php2shell-what-happened-what-we-did\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hosting4agency.com\/en\/safe-hosting\/php2shell-what-happened-what-we-did\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hosting4agency.com\/en\/safe-hosting\/php2shell-what-happened-what-we-did\/#primaryimage","url":"https:\/\/hosting4agency.com\/wp-content\/uploads\/2026\/10\/php2shell-php-update-hosting.webp","contentUrl":"https:\/\/hosting4agency.com\/wp-content\/uploads\/2026\/10\/php2shell-php-update-hosting.webp","width":1800,"height":1200,"caption":"Hosting4Agency: immagini che evidenziano controllo qualit\u00e0 e sicurezza hosting."},{"@type":"BreadcrumbList","@id":"https:\/\/hosting4agency.com\/en\/safe-hosting\/php2shell-what-happened-what-we-did\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hosting4agency.com\/en\/"},{"@type":"ListItem","position":2,"name":"PHP2Shell: what happened and what we did on our servers"}]},{"@type":"WebSite","@id":"https:\/\/hosting4agency.com\/en\/#website","url":"https:\/\/hosting4agency.com\/en\/","name":"Hosting 4 Agency","description":"Hosting B2B2B per Agenzie","publisher":{"@id":"https:\/\/hosting4agency.com\/en\/#organization"},"alternateName":"H4A","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hosting4agency.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/hosting4agency.com\/en\/#organization","name":"Hosting 4 Agency","url":"https:\/\/hosting4agency.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hosting4agency.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/hosting4agency.com\/wp-content\/uploads\/2025\/05\/Logo-Ridotto-5.png","contentUrl":"https:\/\/hosting4agency.com\/wp-content\/uploads\/2025\/05\/Logo-Ridotto-5.png","width":512,"height":512,"caption":"Hosting 4 Agency"},"image":{"@id":"https:\/\/hosting4agency.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hosting4agency"]},{"@type":"Person","@id":"https:\/\/hosting4agency.com\/en\/#\/schema\/person\/0973c5551c8bcc591a92709a381e1bed","name":"Hosting 4 Agency","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/5ca6e046df97fda2d2ad39ad1d2a68842b251ad3d0d94627063cc12b7ca65579?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/5ca6e046df97fda2d2ad39ad1d2a68842b251ad3d0d94627063cc12b7ca65579?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5ca6e046df97fda2d2ad39ad1d2a68842b251ad3d0d94627063cc12b7ca65579?s=96&d=mm&r=g","caption":"Hosting 4 Agency"},"sameAs":["https:\/\/hosting4agency.com\/new.hosting4agency.com\/"]}]}},"_links":{"self":[{"href":"https:\/\/hosting4agency.com\/en\/wp-json\/wp\/v2\/posts\/9258","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hosting4agency.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hosting4agency.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hosting4agency.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hosting4agency.com\/en\/wp-json\/wp\/v2\/comments?post=9258"}],"version-history":[{"count":3,"href":"https:\/\/hosting4agency.com\/en\/wp-json\/wp\/v2\/posts\/9258\/revisions"}],"predecessor-version":[{"id":9296,"href":"https:\/\/hosting4agency.com\/en\/wp-json\/wp\/v2\/posts\/9258\/revisions\/9296"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hosting4agency.com\/en\/wp-json\/wp\/v2\/media\/9257"}],"wp:attachment":[{"href":"https:\/\/hosting4agency.com\/en\/wp-json\/wp\/v2\/media?parent=9258"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hosting4agency.com\/en\/wp-json\/wp\/v2\/categories?post=9258"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hosting4agency.com\/en\/wp-json\/wp\/v2\/tags?post=9258"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}