{"id":3781,"date":"2026-07-22T15:57:11","date_gmt":"2026-07-22T15:57:11","guid":{"rendered":"https:\/\/disoh.com\/support\/how-do-i-change-my-websites-php-version-in-directadmin\/"},"modified":"2026-07-22T15:57:11","modified_gmt":"2026-07-22T15:57:11","password":"","slug":"how-do-i-change-my-websites-php-version-in-directadmin","status":"publish","type":"docs","link":"https:\/\/disoh.com\/no\/support\/how-do-i-change-my-websites-php-version-in-directadmin\/","title":{"rendered":"How do I change my website&#8217;s PHP version in DirectAdmin?"},"content":{"rendered":"<p>Different applications need different PHP versions. WordPress and most modern software run best on a recent, supported version. DirectAdmin lets you switch the PHP version for your site in a few clicks. Here is how.<\/p>\n<h2>Why the PHP version matters<\/h2>\n<ul>\n<li>Newer versions are faster and more secure.<\/li>\n<li>Some plugins or scripts require a minimum version.<\/li>\n<li>Very old versions may no longer receive security updates.<\/li>\n<\/ul>\n<h2>Step-by-step: change your PHP version<\/h2>\n<ol>\n<li>Log in to DirectAdmin (usually <em>yourdomain.com:2222<\/em>).<\/li>\n<li>Go to <strong>Account Manager<\/strong> and click <strong>Select PHP Version<\/strong> (sometimes under &#8220;PHP Selector&#8221; or &#8220;Domain Setup&#8221;).<\/li>\n<li>Choose the domain if you have more than one.<\/li>\n<li>Select the PHP version you want from the dropdown.<\/li>\n<li>Click <strong>Save<\/strong> or <strong>Set as current<\/strong>.<\/li>\n<\/ol>\n<h2>Enabling PHP extensions<\/h2>\n<p>After choosing a version you can often enable extra modules:<\/p>\n<ul>\n<li>Look for a list of extensions on the same page.<\/li>\n<li>Tick the ones your application needs (for example, <em>mbstring<\/em> or <em>curl<\/em>).<\/li>\n<li>Save your changes.<\/li>\n<\/ul>\n<h2>Checking the active version<\/h2>\n<ul>\n<li>Create a PHP info page, or<\/li>\n<li>In WordPress, go to <strong>Tools &gt; Site Health &gt; Info &gt; Server<\/strong> to see the PHP version.<\/li>\n<\/ul>\n<h2>Troubleshooting<\/h2>\n<ul>\n<li><strong>Site breaks after switching:<\/strong> revert to the previous version, then update your software before trying again.<\/li>\n<li><strong>A plugin needs an extension:<\/strong> enable it in the PHP settings.<\/li>\n<li><strong>Change not applied:<\/strong> clear any caching and reload.<\/li>\n<\/ul>\n<h2>Recommended approach<\/h2>\n<ul>\n<li>Back up your site first.<\/li>\n<li>Move up one version at a time if you are on something very old.<\/li>\n<li>Test key pages and forms after each change.<\/li>\n<\/ul>\n<h2>Need help?<\/h2>\n<p>If you are not sure which version your site needs, our support team can advise you on live chat.<\/p>","protected":false},"excerpt":{"rendered":"<p>Different applications need different PHP versions. WordPress and most modern software run best on a recent, supported version. DirectAdmin lets you switch the PHP version for your site in a few clicks. Here is how. Why the PHP version matters Newer versions are faster and more secure. Some plugins or scripts require a minimum version. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[12],"doc_tag":[],"class_list":["post-3781","docs","type-docs","status-publish","hentry","doc_category-webhosting"],"year_month":"2026-09","word_count":266,"total_views":"154","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Jorn","author_nicename":"jorn","author_url":"https:\/\/disoh.com\/no\/author\/jorn\/"},"doc_category_info":[{"term_name":"Webhosting","term_url":"https:\/\/disoh.com\/no\/docs-category\/webhosting\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How do I change my website&#039;s PHP version in DirectAdmin? &#8211; Disoh<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/disoh.com\/no\/support\/how-do-i-change-my-websites-php-version-in-directadmin\/\" \/>\n<meta property=\"og:locale\" content=\"nb_NO\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How do I change my website&#039;s PHP version in DirectAdmin? &#8211; Disoh\" \/>\n<meta property=\"og:description\" content=\"Different applications need different PHP versions. WordPress and most modern software run best on a recent, supported version. DirectAdmin lets you switch the PHP version for your site in a few clicks. Here is how. Why the PHP version matters Newer versions are faster and more secure. Some plugins or scripts require a minimum version. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/disoh.com\/no\/support\/how-do-i-change-my-websites-php-version-in-directadmin\/\" \/>\n<meta property=\"og:site_name\" content=\"Disoh\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/disohhosting\" \/>\n<meta property=\"og:image\" content=\"https:\/\/disoh.com\/wp-content\/uploads\/2025\/07\/disoh_about.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1536\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Ansl. lesetid\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minutt\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/disoh.com\\\/nl\\\/steun\\\/hoe-kan-ik-de-php-versie-van-mijn-website-wijzigen-in-directadmin\\\/\",\"url\":\"https:\\\/\\\/disoh.com\\\/nl\\\/steun\\\/hoe-kan-ik-de-php-versie-van-mijn-website-wijzigen-in-directadmin\\\/\",\"name\":\"How do I change my website's PHP version in DirectAdmin? &#8211; Disoh\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/fi\\\/#website\"},\"datePublished\":\"2026-07-22T15:57:11+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/nl\\\/steun\\\/hoe-kan-ik-de-php-versie-van-mijn-website-wijzigen-in-directadmin\\\/#breadcrumb\"},\"inLanguage\":\"nb-NO\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/disoh.com\\\/nl\\\/steun\\\/hoe-kan-ik-de-php-versie-van-mijn-website-wijzigen-in-directadmin\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/disoh.com\\\/nl\\\/steun\\\/hoe-kan-ik-de-php-versie-van-mijn-website-wijzigen-in-directadmin\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/disoh.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How do I change my website&#8217;s PHP version in DirectAdmin?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/disoh.com\\\/fi\\\/#website\",\"url\":\"https:\\\/\\\/disoh.com\\\/fi\\\/\",\"name\":\"Disoh\",\"description\":\"Digital Solutions Hosting\",\"publisher\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/fi\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/disoh.com\\\/fi\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"nb-NO\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/disoh.com\\\/fi\\\/#organization\",\"name\":\"Disoh LLC\",\"url\":\"https:\\\/\\\/disoh.com\\\/fi\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"nb-NO\",\"@id\":\"https:\\\/\\\/disoh.com\\\/fi\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/disoh.com\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/favicon_1.svg\",\"contentUrl\":\"https:\\\/\\\/disoh.com\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/favicon_1.svg\",\"width\":615,\"height\":615,\"caption\":\"Disoh LLC\"},\"image\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/fi\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/disohhosting\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How do I change my website's PHP version in DirectAdmin? &#8211; Disoh","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:\/\/disoh.com\/no\/support\/how-do-i-change-my-websites-php-version-in-directadmin\/","og_locale":"nb_NO","og_type":"article","og_title":"How do I change my website's PHP version in DirectAdmin? &#8211; Disoh","og_description":"Different applications need different PHP versions. WordPress and most modern software run best on a recent, supported version. DirectAdmin lets you switch the PHP version for your site in a few clicks. Here is how. Why the PHP version matters Newer versions are faster and more secure. Some plugins or scripts require a minimum version. [&hellip;]","og_url":"https:\/\/disoh.com\/no\/support\/how-do-i-change-my-websites-php-version-in-directadmin\/","og_site_name":"Disoh","article_publisher":"https:\/\/www.facebook.com\/disohhosting","og_image":[{"width":1536,"height":1024,"url":"https:\/\/disoh.com\/wp-content\/uploads\/2025\/07\/disoh_about.webp","type":"image\/webp"}],"twitter_card":"summary_large_image","twitter_misc":{"Ansl. lesetid":"1 minutt"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/disoh.com\/nl\/steun\/hoe-kan-ik-de-php-versie-van-mijn-website-wijzigen-in-directadmin\/","url":"https:\/\/disoh.com\/nl\/steun\/hoe-kan-ik-de-php-versie-van-mijn-website-wijzigen-in-directadmin\/","name":"How do I change my website's PHP version in DirectAdmin? &#8211; Disoh","isPartOf":{"@id":"https:\/\/disoh.com\/fi\/#website"},"datePublished":"2026-07-22T15:57:11+00:00","breadcrumb":{"@id":"https:\/\/disoh.com\/nl\/steun\/hoe-kan-ik-de-php-versie-van-mijn-website-wijzigen-in-directadmin\/#breadcrumb"},"inLanguage":"nb-NO","potentialAction":[{"@type":"ReadAction","target":["https:\/\/disoh.com\/nl\/steun\/hoe-kan-ik-de-php-versie-van-mijn-website-wijzigen-in-directadmin\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/disoh.com\/nl\/steun\/hoe-kan-ik-de-php-versie-van-mijn-website-wijzigen-in-directadmin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/disoh.com\/"},{"@type":"ListItem","position":2,"name":"How do I change my website&#8217;s PHP version in DirectAdmin?"}]},{"@type":"WebSite","@id":"https:\/\/disoh.com\/fi\/#website","url":"https:\/\/disoh.com\/fi\/","name":"Disoh","description":"Hosting av digitale l\u00f8sninger","publisher":{"@id":"https:\/\/disoh.com\/fi\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/disoh.com\/fi\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"nb-NO"},{"@type":"Organization","@id":"https:\/\/disoh.com\/fi\/#organization","name":"Disoh LLC","url":"https:\/\/disoh.com\/fi\/","logo":{"@type":"ImageObject","inLanguage":"nb-NO","@id":"https:\/\/disoh.com\/fi\/#\/schema\/logo\/image\/","url":"https:\/\/disoh.com\/wp-content\/uploads\/2025\/06\/favicon_1.svg","contentUrl":"https:\/\/disoh.com\/wp-content\/uploads\/2025\/06\/favicon_1.svg","width":615,"height":615,"caption":"Disoh LLC"},"image":{"@id":"https:\/\/disoh.com\/fi\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/disohhosting"]}]}},"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/disoh.com\/no\/wp-json\/wp\/v2\/docs\/3781","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/disoh.com\/no\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/disoh.com\/no\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/disoh.com\/no\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/disoh.com\/no\/wp-json\/wp\/v2\/comments?post=3781"}],"version-history":[{"count":0,"href":"https:\/\/disoh.com\/no\/wp-json\/wp\/v2\/docs\/3781\/revisions"}],"wp:attachment":[{"href":"https:\/\/disoh.com\/no\/wp-json\/wp\/v2\/media?parent=3781"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/disoh.com\/no\/wp-json\/wp\/v2\/doc_category?post=3781"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/disoh.com\/no\/wp-json\/wp\/v2\/doc_tag?post=3781"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}