{"id":3114,"date":"2026-12-04T07:44:28","date_gmt":"2026-12-04T06:44:28","guid":{"rendered":"https:\/\/www.drechthosting.nl\/kennisdatabase\/hoe-pas-ik-de-php-versie-aan-in-cpanel\/"},"modified":"2026-12-04T07:44:28","modified_gmt":"2026-12-04T06:44:28","slug":"hoe-pas-ik-de-php-versie-aan-in-cpanel","status":"publish","type":"dh_kb_article","link":"https:\/\/www.drechthosting.nl\/en\/kennisdatabase\/hoe-pas-ik-de-php-versie-aan-in-cpanel\/","title":{"rendered":"How do I change the PHP version in cPanel?"},"content":{"rendered":"<p>Wil je PHP naar een nieuwere versie zetten? Kies de nieuwste <strong>stabiele, beschikbare \u00e9n compatibele<\/strong> versie. Controleer eerst je website, maak een herstelbare back-up en test de overstap. Wijzig niet zomaar de live omgeving omdat er een hoger versienummer in het menu staat.<\/p>\n<h2>1. Noteer je huidige versie<\/h2>\n<p>Bekijk de actieve PHP-versie voor het juiste domein in cPanel. Bij WordPress kun je deze ook controleren via <strong>Gereedschap \u2192 Sitediagnose \u2192 Informatie \u2192 Server<\/strong>. Bewaar deze informatie voor je terugvalplan.<\/p>\n<h2>2. Controleer software en back-up<\/h2>\n<p>Controleer of je CMS, plugins, thema en maatwerk de gekozen versie ondersteunen. Werk verouderde onderdelen gecontroleerd bij. Maak een back-up van bestanden \u00e9n database en controleer hoe je terugzet. Lees <a href=\"https:\/\/www.drechthosting.nl\/en\/kennisdatabase\/wat-is-php-en-waarom-moet-je-het-updaten\/\">waarom een ondersteunde PHP-versie belangrijk is<\/a>.<\/p>\n<h2>3. Test op een afgeschermde kopie<\/h2>\n<p>Zet je testomgeving op de nieuwe versie en doorloop belangrijke functies. Gebruik testgegevens en voorkom echte betalingen of onbedoelde e-mails. Blokkeer indexering en ongewenste toegang tot de testkopie.<\/p>\n<h2>4. Wijzig de versie voor het juiste domein<\/h2>\n<p>Open de PHP-versiebeheerfunctie in jouw cPanel. Als <strong>MultiPHP Manager<\/strong> beschikbaar is, selecteer je het domein, kies je de gewenste versie bij PHP Version en klik je op Apply. Een omgeving met <strong>Select PHP Version<\/strong> kan andere knoppen en instellingen hebben. Gebruik de beschikbare beheerfunctie van jouw account en pas niet twee verschillende PHP-beheerders tegelijk aan.<\/p>\n<p>Ontbreekt de gewenste versie? Vraag support welke stabiele versies beschikbaar zijn. Bij een overge\u00ebrfde instelling kan een serverstandaard worden gebruikt. Controleer na het opslaan de werkelijk gebruikte versie.<\/p>\n<h2>5. Controleer je live website uitgebreid<\/h2>\n<p>Leeg relevante caches en test als bezoeker \u00e9n beheerder. Controleer pagina\u2019s, inloggen, formulieren, e-mailverzending en eventuele webshopfuncties. Bekijk ook foutlogs en geplande taken. Gebruik hiervoor de <a href=\"https:\/\/www.drechthosting.nl\/en\/kennisdatabase\/website-controleren-na-een-php-update\/\">controlelijst na een PHP-update<\/a>.<\/p>\n<h2>Wat als er fouten optreden?<\/h2>\n<p>Noteer het tijdstip en de foutmelding. Herstel waar mogelijk de eerder werkende PHP-instelling of vraag support om hulp. Onderzoek daarna de incompatibele plugin, het thema, een ontbrekende extensie of maatwerk. Terugschakelen is een tijdelijke herstelstap; plan een structurele oplossing met een ondersteunde versie. Zet fouten en geheime gegevens niet openbaar op je website.<\/p>\n<p>Zie ook de <a href=\"https:\/\/docs.cpanel.net\/cpanel\/software\/multiphp-manager-for-cpanel\/\" target=\"_blank\" rel=\"noopener\">offici\u00eble MultiPHP Manager-handleiding<\/a>. Wil je hulp bij het onderhoud van WordPress? <a href=\"https:\/\/www.drechthosting.nl\/en\/wordpress-onderhoud\/\">Bekijk WordPress Onderhoud<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Wil je PHP naar een nieuwere versie zetten? Kies de nieuwste stabiele, beschikbare \u00e9n compatibele versie. Controleer eerst je website, maak een herstelbare back-up en test de overstap. Wijzig niet zomaar de\u2026<\/p>","protected":false},"featured_media":258,"template":"","meta":{"dh_seo_title":"Hoe pas ik de PHP-versie aan in cPanel? | Drechthosting","dh_seo_title_en":"How do I change the PHP version in cPanel? | Drechthosting","dh_seo_description":"PHP bijwerken in cPanel? Controleer compatibiliteit, maak een back-up, test een kopie en controleer websitefuncties voordat je de wijziging afrondt.","dh_seo_description_en":"Update PHP in cPanel safely: check compatibility, make a recoverable backup, test staging and verify important website functions after switching.","dh_kb_title_en":"How do I change the PHP version in cPanel?","dh_kb_content_en":"<p>Choose the latest <strong>stable, available and compatible<\/strong> PHP version. Do not switch your live website solely because a higher version number is offered.<\/p><h2>Prepare before changing PHP<\/h2><ol><li>Record the active PHP version for the correct domain. In WordPress, check Tools \u2192 Site Health \u2192 Info \u2192 Server.<\/li><li>Check compatibility of your CMS, plugins, theme and custom code.<\/li><li>Back up files and database and confirm how to restore them.<\/li><li>Test the new runtime on a private staging copy, using test data.<\/li><\/ol><h2>Change the version in cPanel<\/h2><p>If MultiPHP Manager is available, select the domain, choose the PHP Version and click Apply. A Select PHP Version interface may have different controls. Use the PHP management tool provided for your account; do not adjust competing tools at the same time.<\/p><p>If the version you need is missing, ask support which stable versions are available. Check the actual active version after saving, including any inherited setting.<\/p><h2>Verify and recover if needed<\/h2><p>Clear relevant caches. Test pages, login, forms, email, checkout and background tasks, and inspect error logs. Follow the <a href=\"https:\/\/www.drechthosting.nl\/en\/kennisdatabase\/website-controleren-na-een-php-update\/\">post-update checklist<\/a>.<\/p><p>If the site fails, record the error and restore the previous working setting where possible, or ask support. Investigate the incompatible component and plan a supported long-term solution.<\/p><p>See the <a href=\"https:\/\/docs.cpanel.net\/cpanel\/software\/multiphp-manager-for-cpanel\/\" target=\"_blank\" rel=\"noopener\">official MultiPHP Manager guide<\/a> and <a href=\"https:\/\/www.drechthosting.nl\/en\/wordpress-onderhoud\/\">WordPress maintenance<\/a>.<\/p>","footnotes":""},"class_list":["post-3114","dh_kb_article","type-dh_kb_article","status-publish","has-post-thumbnail","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Hoe pas ik de PHP-versie aan in cPanel? | Drechthosting<\/title>\n<meta name=\"description\" content=\"PHP bijwerken in cPanel? Controleer compatibiliteit, maak een back-up, test een kopie en controleer websitefuncties voordat je de wijziging afrondt.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.drechthosting.nl\/en\/kennisdatabase\/hoe-pas-ik-de-php-versie-aan-in-cpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"De PHP-versie aanpassen in cPanel | Drechthosting\" \/>\n<meta property=\"og:description\" content=\"De PHP-versie in cPanel aanpassen? Controleer welke versie je website ondersteunt en test bestanden, formulieren en functies na het wijzigen.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.drechthosting.nl\/en\/kennisdatabase\/hoe-pas-ik-de-php-versie-aan-in-cpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"Drechthosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DrechtHosting\/\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.drechthosting.nl\/wp-content\/uploads\/2026\/10\/servers-cinematic.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1448\" \/>\n\t<meta property=\"og:image:height\" content=\"1086\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"De PHP-versie aanpassen in cPanel | Drechthosting\" \/>\n<meta name=\"twitter:description\" content=\"De PHP-versie in cPanel aanpassen? Controleer welke versie je website ondersteunt en test bestanden, formulieren en functies na het wijzigen.\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.drechthosting.nl\/wp-content\/uploads\/2026\/10\/servers-cinematic.webp\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.drechthosting.nl\\\/kennisdatabase\\\/hoe-pas-ik-de-php-versie-aan-in-cpanel\\\/\",\"url\":\"https:\\\/\\\/www.drechthosting.nl\\\/kennisdatabase\\\/hoe-pas-ik-de-php-versie-aan-in-cpanel\\\/\",\"name\":\"Hoe pas ik de PHP-versie aan in cPanel? | Drechthosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.drechthosting.nl\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.drechthosting.nl\\\/kennisdatabase\\\/hoe-pas-ik-de-php-versie-aan-in-cpanel\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.drechthosting.nl\\\/kennisdatabase\\\/hoe-pas-ik-de-php-versie-aan-in-cpanel\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.drechthosting.nl\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/servers-cinematic.webp\",\"datePublished\":\"2026-12-04T06:44:28+00:00\",\"description\":\"PHP bijwerken in cPanel? Controleer compatibiliteit, maak een back-up, test een kopie en controleer websitefuncties voordat je de wijziging afrondt.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.drechthosting.nl\\\/kennisdatabase\\\/hoe-pas-ik-de-php-versie-aan-in-cpanel\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.drechthosting.nl\\\/kennisdatabase\\\/hoe-pas-ik-de-php-versie-aan-in-cpanel\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.drechthosting.nl\\\/kennisdatabase\\\/hoe-pas-ik-de-php-versie-aan-in-cpanel\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.drechthosting.nl\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/servers-cinematic.webp\",\"contentUrl\":\"https:\\\/\\\/www.drechthosting.nl\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/servers-cinematic.webp\",\"width\":1448,\"height\":1086,\"caption\":\"Illustratief datacenter met moderne serverkasten en warm licht\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.drechthosting.nl\\\/kennisdatabase\\\/hoe-pas-ik-de-php-versie-aan-in-cpanel\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.drechthosting.nl\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Hoe pas ik de PHP-versie aan in cPanel?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.drechthosting.nl\\\/#website\",\"url\":\"https:\\\/\\\/www.drechthosting.nl\\\/\",\"name\":\"Drechthosting\",\"description\":\"Betrouwbare Webhosting &amp; Domeinnamen\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.drechthosting.nl\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.drechthosting.nl\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":[\"Organization\",\"LocalBusiness\"],\"@id\":\"https:\\\/\\\/www.drechthosting.nl\\\/#organization\",\"name\":\"Drechthosting\",\"url\":\"https:\\\/\\\/www.drechthosting.nl\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.drechthosting.nl\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.drechthosting.nl\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/drechthosting-organisatielogo-google.jpg\",\"contentUrl\":\"https:\\\/\\\/www.drechthosting.nl\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/drechthosting-organisatielogo-google.jpg\",\"width\":1254,\"height\":1254,\"caption\":\"Drechthosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.drechthosting.nl\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/DrechtHosting\\\/\",\"https:\\\/\\\/www.instagram.com\\\/drechthosting\\\/\"],\"telephone\":\"+31787200872\",\"email\":\"info@drechthosting.nl\",\"address\":{\"@type\":\"PostalAddress\",\"streetAddress\":\"Stellingmolen 400\",\"postalCode\":\"3352 BT\",\"addressLocality\":\"Papendrecht\",\"addressCountry\":\"NL\"},\"areaServed\":[{\"@type\":\"Country\",\"name\":\"Netherlands\"},{\"@type\":\"Place\",\"name\":\"Drechtsteden\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Hoe pas ik de PHP-versie aan in cPanel? | Drechthosting","description":"PHP bijwerken in cPanel? Controleer compatibiliteit, maak een back-up, test een kopie en controleer websitefuncties voordat je de wijziging afrondt.","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:\/\/www.drechthosting.nl\/en\/kennisdatabase\/hoe-pas-ik-de-php-versie-aan-in-cpanel\/","og_locale":"en_GB","og_type":"article","og_title":"De PHP-versie aanpassen in cPanel | Drechthosting","og_description":"De PHP-versie in cPanel aanpassen? Controleer welke versie je website ondersteunt en test bestanden, formulieren en functies na het wijzigen.","og_url":"https:\/\/www.drechthosting.nl\/en\/kennisdatabase\/hoe-pas-ik-de-php-versie-aan-in-cpanel\/","og_site_name":"Drechthosting","article_publisher":"https:\/\/www.facebook.com\/DrechtHosting\/","og_image":[{"width":1448,"height":1086,"url":"https:\/\/www.drechthosting.nl\/wp-content\/uploads\/2026\/10\/servers-cinematic.webp","type":"image\/webp"}],"twitter_card":"summary_large_image","twitter_title":"De PHP-versie aanpassen in cPanel | Drechthosting","twitter_description":"De PHP-versie in cPanel aanpassen? Controleer welke versie je website ondersteunt en test bestanden, formulieren en functies na het wijzigen.","twitter_image":"https:\/\/www.drechthosting.nl\/wp-content\/uploads\/2026\/10\/servers-cinematic.webp","twitter_misc":{"Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.drechthosting.nl\/kennisdatabase\/hoe-pas-ik-de-php-versie-aan-in-cpanel\/","url":"https:\/\/www.drechthosting.nl\/kennisdatabase\/hoe-pas-ik-de-php-versie-aan-in-cpanel\/","name":"Hoe pas ik de PHP-versie aan in cPanel? | Drechthosting","isPartOf":{"@id":"https:\/\/www.drechthosting.nl\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.drechthosting.nl\/kennisdatabase\/hoe-pas-ik-de-php-versie-aan-in-cpanel\/#primaryimage"},"image":{"@id":"https:\/\/www.drechthosting.nl\/kennisdatabase\/hoe-pas-ik-de-php-versie-aan-in-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.drechthosting.nl\/wp-content\/uploads\/2026\/10\/servers-cinematic.webp","datePublished":"2026-12-04T06:44:28+00:00","description":"PHP bijwerken in cPanel? Controleer compatibiliteit, maak een back-up, test een kopie en controleer websitefuncties voordat je de wijziging afrondt.","breadcrumb":{"@id":"https:\/\/www.drechthosting.nl\/kennisdatabase\/hoe-pas-ik-de-php-versie-aan-in-cpanel\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.drechthosting.nl\/kennisdatabase\/hoe-pas-ik-de-php-versie-aan-in-cpanel\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.drechthosting.nl\/kennisdatabase\/hoe-pas-ik-de-php-versie-aan-in-cpanel\/#primaryimage","url":"https:\/\/www.drechthosting.nl\/wp-content\/uploads\/2026\/10\/servers-cinematic.webp","contentUrl":"https:\/\/www.drechthosting.nl\/wp-content\/uploads\/2026\/10\/servers-cinematic.webp","width":1448,"height":1086,"caption":"Illustratief datacenter met moderne serverkasten en warm licht"},{"@type":"BreadcrumbList","@id":"https:\/\/www.drechthosting.nl\/kennisdatabase\/hoe-pas-ik-de-php-versie-aan-in-cpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.drechthosting.nl\/"},{"@type":"ListItem","position":2,"name":"Hoe pas ik de PHP-versie aan in cPanel?"}]},{"@type":"WebSite","@id":"https:\/\/www.drechthosting.nl\/#website","url":"https:\/\/www.drechthosting.nl\/","name":"Drechthosting","description":"Betrouwbare Webhosting &amp; Domeinnamen","publisher":{"@id":"https:\/\/www.drechthosting.nl\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.drechthosting.nl\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":["Organization","LocalBusiness"],"@id":"https:\/\/www.drechthosting.nl\/#organization","name":"Drechthosting","url":"https:\/\/www.drechthosting.nl\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.drechthosting.nl\/#\/schema\/logo\/image\/","url":"https:\/\/www.drechthosting.nl\/wp-content\/uploads\/2026\/10\/drechthosting-organisatielogo-google.jpg","contentUrl":"https:\/\/www.drechthosting.nl\/wp-content\/uploads\/2026\/10\/drechthosting-organisatielogo-google.jpg","width":1254,"height":1254,"caption":"Drechthosting"},"image":{"@id":"https:\/\/www.drechthosting.nl\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DrechtHosting\/","https:\/\/www.instagram.com\/drechthosting\/"],"telephone":"+31787200872","email":"info@drechthosting.nl","address":{"@type":"PostalAddress","streetAddress":"Stellingmolen 400","postalCode":"3352 BT","addressLocality":"Papendrecht","addressCountry":"NL"},"areaServed":[{"@type":"Country","name":"Netherlands"},{"@type":"Place","name":"Drechtsteden"}]}]}},"_links":{"self":[{"href":"https:\/\/www.drechthosting.nl\/en\/wp-json\/wp\/v2\/kennisbankartikelen\/3114","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.drechthosting.nl\/en\/wp-json\/wp\/v2\/kennisbankartikelen"}],"about":[{"href":"https:\/\/www.drechthosting.nl\/en\/wp-json\/wp\/v2\/types\/dh_kb_article"}],"version-history":[{"count":468,"href":"https:\/\/www.drechthosting.nl\/en\/wp-json\/wp\/v2\/kennisbankartikelen\/3114\/revisions"}],"predecessor-version":[{"id":4276,"href":"https:\/\/www.drechthosting.nl\/en\/wp-json\/wp\/v2\/kennisbankartikelen\/3114\/revisions\/4276"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.drechthosting.nl\/en\/wp-json\/wp\/v2\/media\/258"}],"wp:attachment":[{"href":"https:\/\/www.drechthosting.nl\/en\/wp-json\/wp\/v2\/media?parent=3114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}