{"id":4825,"date":"2026-10-23T14:03:58","date_gmt":"2026-10-23T12:03:58","guid":{"rendered":"https:\/\/studiolp.dk\/php-and-wordpress-why-your-websites-php-version-matters\/"},"modified":"2026-10-23T14:40:35","modified_gmt":"2026-10-23T12:40:35","slug":"php-and-wordpress-why-your-websites-php-version-matters","status":"publish","type":"post","link":"https:\/\/studiolp.dk\/en\/php-and-wordpress-why-your-websites-php-version-matters\/","title":{"rendered":"PHP and WordPress: Why your website\u2019s PHP version matters"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">You keep WordPress up to date.<\/p>\n\n<p class=\"wp-block-paragraph\">Plugins are up to date.<\/p>\n\n<p class=\"wp-block-paragraph\">The theme is up to date.<\/p>\n\n<p class=\"wp-block-paragraph\">So the website must be technically up to date too, right?<\/p>\n\n<p class=\"wp-block-paragraph\">Not necessarily.<\/p>\n\n<p class=\"wp-block-paragraph\">But underneath WordPress there\u2019s another layer that most business owners rarely see:<\/p>\n\n<p class=\"wp-block-paragraph\"><strong>PHP.<\/strong><\/p>\n\n<p class=\"wp-block-paragraph\">PHP is part of the server environment that WordPress runs on. And just like WordPress and plugins, PHP is continuously updated with bug fixes, improvements, and security patches. <\/p>\n\n<p class=\"wp-block-paragraph\">That\u2019s why it\u2019s worth knowing which PHP version your website uses\u2014even if you never work directly with PHP yourself.<\/p>\n\n<h2 class=\"wp-block-heading\">What is PHP?<\/h2>\n\n<p class=\"wp-block-paragraph\">PHP is the programming language that a large part of WordPress is built with.<\/p>\n\n<p class=\"wp-block-paragraph\">When a visitor opens a WordPress page, PHP helps fetch information from the database, process it, and build the page that\u2019s sent to the browser.<\/p>\n\n<p class=\"wp-block-paragraph\">You don\u2019t need to know how to code in PHP to have a WordPress website.<\/p>\n\n<p class=\"wp-block-paragraph\">But WordPress depends on PHP working correctly on the server.<\/p>\n\n<p class=\"wp-block-paragraph\">Put simply:<\/p>\n\n<p class=\"wp-block-paragraph\"><strong>WordPress is the website you work in.<br\/>PHP is part of the engine underneath it.<\/strong><\/p>\n\n<h2 class=\"wp-block-heading\">Why does the PHP version matter?<\/h2>\n\n<p class=\"wp-block-paragraph\">PHP is continuously developed.<\/p>\n\n<p class=\"wp-block-paragraph\">Newer versions can include, among other things:<\/p>\n\n<ul class=\"wp-block-list\">\n<li>security patches<\/li>\n\n\n\n<li>bug fixes<\/li>\n\n\n\n<li>performance improvements<\/li>\n\n\n\n<li>new features<\/li>\n\n\n\n<li>changes that modern software expects<\/li>\n<\/ul>\n\n<p class=\"wp-block-paragraph\">Old PHP versions eventually stop being maintained.<\/p>\n\n<p class=\"wp-block-paragraph\">When a version reaches <em>end of life<\/em>, the PHP project no longer releases security patches for it.<\/p>\n\n<p class=\"wp-block-paragraph\">That doesn\u2019t mean the website stops working from one day to the next.<\/p>\n\n<p class=\"wp-block-paragraph\">But it will keep running on software where new security issues are no longer fixed.<\/p>\n\n<h2 class=\"wp-block-heading\">October 2026 made it very clear why this matters<\/h2>\n\n<p class=\"wp-block-paragraph\">In October 2026, the PHP project released an extraordinary security update after two critical vulnerabilities were found.<\/p>\n\n<p class=\"wp-block-paragraph\">In certain server configurations, they could allow an attacker to run code without first being logged in.<\/p>\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.php.net\/?=PHPE9568F35-D428-11d2-A769-00AA001ACF42\" target=\"_blank\" rel=\"noreferrer noopener\">Fixed versions of PHP 8.2, 8.3, 8.4, and 8.5 were therefore released, and the PHP project recommended that affected installations be updated immediately<\/a>.<\/p>\n\n<p class=\"wp-block-paragraph\">What was interesting for WordPress site owners was that the issue <a href=\"https:\/\/wordpress.org\/news\/2026\/10\/critical-php-security-release\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>wasn\u2019t in WordPress<\/strong>.<\/a><\/p>\n\n<p class=\"wp-block-paragraph\">So there wasn\u2019t a WordPress update that could fix it either.<\/p>\n\n<p class=\"wp-block-paragraph\">It was PHP on the server that needed to be updated.<\/p>\n\n<p class=\"wp-block-paragraph\">It\u2019s a good example of why it\u2019s not enough to only keep an eye on the WordPress dashboard.<\/p>\n\n<h2 class=\"wp-block-heading\">An up-to-date WordPress site can still be using old PHP<\/h2>\n\n<p class=\"wp-block-paragraph\">Yes.<\/p>\n\n<p class=\"wp-block-paragraph\">You can easily have:<\/p>\n\n<ul class=\"wp-block-list\">\n<li>the latest WordPress version<\/li>\n\n\n\n<li>up-to-date plugins<\/li>\n\n\n\n<li>an up-to-date theme<\/li>\n<\/ul>\n\n<p class=\"wp-block-paragraph\">and still be running an old PHP version on the server.<\/p>\n\n<p class=\"wp-block-paragraph\">PHP is usually managed through your hosting environment\u2014not through the regular WordPress updates screen.<\/p>\n\n<p class=\"wp-block-paragraph\">That\u2019s why it\u2019s often the hosting provider or the person managing the website who keeps an eye on that part.<\/p>\n\n<p class=\"wp-block-paragraph\"><strong>See also:  <a href=\"https:\/\/studiolp.dk\/en\/should-you-update-wordpress-heres-why-you-shouldnt-ignore-updates\/\" target=\"_blank\" data-type=\"post\" data-id=\"3264\" rel=\"noreferrer noopener\">Should You Update WordPress? Here&#8217;s Why You Shouldn&#8217;t Ignore Updates <\/a><\/strong><\/p>\n\n<h2 class=\"wp-block-heading\">How do you see which PHP version WordPress is using?<\/h2>\n\n<p class=\"wp-block-paragraph\">You can actually see it directly in WordPress.<\/p>\n\n<p class=\"wp-block-paragraph\">Go to:<\/p>\n\n<p class=\"wp-block-paragraph\"><strong><a href=\"https:\/\/wordpress.org\/news\/2026\/10\/critical-php-security-release\/\" target=\"_blank\" rel=\"noreferrer noopener\">Tools \u2192 Site Health \u2192 Info \u2192 Server<\/a><\/strong><\/p>\n\n<p class=\"wp-block-paragraph\">Here you can, among other things, see which PHP version the website is running.<\/p>\n\n<p class=\"wp-block-paragraph\">You can usually also find the information in your hosting provider\u2019s control panel.<\/p>\n\n<p class=\"wp-block-paragraph\">The most important thing isn\u2019t necessarily that you can assess all the version numbers yourself.<\/p>\n\n<p class=\"wp-block-paragraph\">But if the website is running a very old version, it\u2019s worth looking into why.<\/p>\n\n<h2 class=\"wp-block-heading\">So should you just choose the latest PHP version?<\/h2>\n\n<p class=\"wp-block-paragraph\">Not necessarily.<\/p>\n\n<p class=\"wp-block-paragraph\">It\u2019s much the same principle as with WordPress updates.<\/p>\n\n<p class=\"wp-block-paragraph\"><strong>Newer is good\u2014but changes should still be made in a controlled way.<\/strong><\/p>\n\n<p class=\"wp-block-paragraph\">An old plugin, a theme, or custom code may depend on functions that have changed in a newer PHP version.<\/p>\n\n<p class=\"wp-block-paragraph\">If you just switch PHP versions without checking compatibility, the result can be errors\u2014or, in the worst case, a website that no longer works properly.<\/p>\n\n<p class=\"wp-block-paragraph\">That\u2019s why I would usually:<\/p>\n\n<ul class=\"wp-block-list\">\n<li>make sure there\u2019s a usable backup<\/li>\n\n\n\n<li>check WordPress, theme, and plugins<\/li>\n\n\n\n<li>update what\u2019s necessary first<\/li>\n\n\n\n<li>switch PHP version<\/li>\n\n\n\n<li>test the website\u2019s most important functions afterwards<\/li>\n<\/ul>\n\n<p class=\"wp-block-paragraph\">On a webshop or other more complex solution, the testing should of course be more thorough.<\/p>\n\n<h2 class=\"wp-block-heading\">Old plugins can also hold PHP back<\/h2>\n\n<p class=\"wp-block-paragraph\">Sometimes the PHP version isn\u2019t old because someone forgot about it.<\/p>\n\n<p class=\"wp-block-paragraph\">It\u2019s old because the website <strong>can\u2019t be updated without issues<\/strong>.<\/p>\n\n<p class=\"wp-block-paragraph\">An old plugin or theme may not run on a newer PHP version.<\/p>\n\n<p class=\"wp-block-paragraph\">Then you get the classic situation:<\/p>\n\n<p class=\"wp-block-paragraph\">PHP should be updated.<\/p>\n\n<p class=\"wp-block-paragraph\">But something on the website breaks if you do.<\/p>\n\n<p class=\"wp-block-paragraph\">That\u2019s not a good argument for staying on old PHP forever.<\/p>\n\n<p class=\"wp-block-paragraph\">It\u2019s more a sign that the part of the website blocking the update should be investigated.<\/p>\n\n<h2 class=\"wp-block-heading\">What does PHP 8.2 mean right now?<\/h2>\n\n<p class=\"wp-block-paragraph\">PHP versions have a limited support period.<\/p>\n\n<p class=\"wp-block-paragraph\">At the time of this article, PHP 8.2 only receives security patches and reaches end of life on <a href=\"https:\/\/www.php.net\/supported-versions.php\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>31 December 2026<\/strong>.<\/a><\/p>\n\n<p class=\"wp-block-paragraph\">PHP 8.3, 8.4, and 8.5 have longer support remaining.<\/p>\n\n<p class=\"wp-block-paragraph\">That doesn\u2019t mean all websites necessarily need to jump straight to the highest version on the same day.<\/p>\n\n<p class=\"wp-block-paragraph\">But it does mean that websites on PHP 8.2 should have a plan to move on to a supported version.<\/p>\n\n<h2 class=\"wp-block-heading\">Hosting plays an important role<\/h2>\n\n<p class=\"wp-block-paragraph\">PHP is one of the reasons hosting isn\u2019t just about disk space.<\/p>\n\n<p class=\"wp-block-paragraph\">Among other things, the hosting environment needs to keep the server software up to date and make it possible to use supported PHP versions.<\/p>\n\n<p class=\"wp-block-paragraph\">In the case of critical security issues, the hosting provider may also be the party that needs to respond first.<\/p>\n\n<p class=\"wp-block-paragraph\">That\u2019s why it\u2019s worth knowing:<\/p>\n\n<ul class=\"wp-block-list\">\n<li>who manages the server<\/li>\n\n\n\n<li>who keeps PHP up to date<\/li>\n\n\n\n<li>how security updates are handled<\/li>\n\n\n\n<li>whether backups exist<\/li>\n\n\n\n<li>who responds if something goes wrong<\/li>\n<\/ul>\n\n<p class=\"wp-block-paragraph\"><strong>Also read: <a href=\"https:\/\/studiolp.dk\/en\/what-is-web-hosting-and-why-does-it-matter\/\" target=\"_blank\" data-type=\"post\" data-id=\"3271\" rel=\"noreferrer noopener\">What is web hosting\u2014and why does it matter?<\/a><\/strong><\/p>\n\n<h2 class=\"wp-block-heading\">You don\u2019t need to follow all PHP news<\/h2>\n\n<p class=\"wp-block-paragraph\">If you run a business, it\u2019s hardly realistic that you should follow every single PHP release and security announcement yourself.<\/p>\n\n<p class=\"wp-block-paragraph\">And you shouldn\u2019t have to.<\/p>\n\n<p class=\"wp-block-paragraph\">But someone needs to be responsible.<\/p>\n\n<p class=\"wp-block-paragraph\">That could be the hosting provider, your web partner, or the person in charge of technical operations.<\/p>\n\n<p class=\"wp-block-paragraph\">What matters is that PHP doesn\u2019t get forgotten just because it isn\u2019t visible in day-to-day use of the website.<\/p>\n\n<h2 class=\"wp-block-heading\">WordPress is more than what you see in the dashboard<\/h2>\n\n<p class=\"wp-block-paragraph\">A well-functioning WordPress website consists of several layers.<\/p>\n\n<p class=\"wp-block-paragraph\">WordPress.<\/p>\n\n<p class=\"wp-block-paragraph\">Plugins.<\/p>\n\n<p class=\"wp-block-paragraph\">Theme.<\/p>\n\n<p class=\"wp-block-paragraph\">Database.<\/p>\n\n<p class=\"wp-block-paragraph\">PHP.<\/p>\n\n<p class=\"wp-block-paragraph\">Hosting.<\/p>\n\n<p class=\"wp-block-paragraph\">Backups.<\/p>\n\n<p class=\"wp-block-paragraph\">Security.<\/p>\n\n<p class=\"wp-block-paragraph\">When all parts are kept reasonably up to date, the website becomes both easier to maintain and less vulnerable over time.<\/p>\n\n<p class=\"wp-block-paragraph\">So the next time the WordPress dashboard says:<\/p>\n\n<p class=\"wp-block-paragraph\"><strong>\u201cEverything is up to date.\u201d<\/strong><\/p>\n\n<p class=\"wp-block-paragraph\">it\u2019s worth remembering that it doesn\u2019t necessarily tell the whole story.<\/p>\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress can be fully up to date even if the server is running an old PHP version. Learn what PHP is, why the version matters, and how to check it. <\/p>\n","protected":false},"author":1,"featured_media":4827,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[47],"tags":[],"class_list":["post-4825","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-operations-support"],"acf":[],"_links":{"self":[{"href":"https:\/\/studiolp.dk\/en\/wp-json\/wp\/v2\/posts\/4825","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/studiolp.dk\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/studiolp.dk\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/studiolp.dk\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/studiolp.dk\/en\/wp-json\/wp\/v2\/comments?post=4825"}],"version-history":[{"count":3,"href":"https:\/\/studiolp.dk\/en\/wp-json\/wp\/v2\/posts\/4825\/revisions"}],"predecessor-version":[{"id":4830,"href":"https:\/\/studiolp.dk\/en\/wp-json\/wp\/v2\/posts\/4825\/revisions\/4830"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/studiolp.dk\/en\/wp-json\/wp\/v2\/media\/4827"}],"wp:attachment":[{"href":"https:\/\/studiolp.dk\/en\/wp-json\/wp\/v2\/media?parent=4825"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/studiolp.dk\/en\/wp-json\/wp\/v2\/categories?post=4825"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/studiolp.dk\/en\/wp-json\/wp\/v2\/tags?post=4825"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}