How to Change Your PHP Version, Extensions and php.ini Settings
Change your website’s PHP version, turn PHP extensions on or off, edit php.ini settings such as memory_limit, read the PHP error log and restart PHP in the FREAKHOSTING Web Panel.
Every website has its own PHP settings in Developer tools. You can switch PHP version, turn optional extensions on, change php.ini values such as the memory limit, and read the PHP error log.
Some commercial PHP scripts need IonCube Loader. Turn it on with the IonCube loader toggle further down Developer tools. It isn’t available on PHP 8.0.
Largest file that can be uploaded through your website
post_max_size
64M
Largest form submission; set it at least as high as upload_max_filesize
max_execution_time
120
Seconds a script can run before it’s stopped
date.timezone
Europe/London
Time zone used by PHP
Changes apply within a few seconds, with no restart needed. They also apply to PHP scripts run by cron jobs. Server defaults you haven’t changed show an Inherited badge; the default time zone is Europe/Berlin.
To change a value later, click ⋮ → Edit on its row, enter the new value and click Save. Delete removes your setting and goes back to the server default.
The php-error.log box at the bottom of the PHP card shows recent PHP errors for this website, with the time it was last refreshed. Click the refresh icon to load new entries. If there are none, it says No PHP errors logged since restart.For WordPress, you can also turn on debug logging in the WordPress Toolkit.
Click Restart at the top right of the PHP card to restart PHP for this website. To restart everything, including SSH sessions and background processes, use Restart container under Quick links on the Home tab.
My site shows errors or a blank page after changing PHP version
A plugin, theme or script doesn’t support the new version. Switch back to the previous version, then update your software before trying again. Check the php-error.log box to see which file is causing the problem.
WordPress says the uploaded file exceeds upload_max_filesize
Add upload_max_filesize and post_max_size directives with larger values, for example 64M, then restart PHP.
Allowed memory size exhausted
Add or raise the memory_limit directive, for example to 256M or 512M.
Software says an extension is missing
Tick it under Configurable extensions. If it isn’t listed, open a ticket and tell us which extension you need.
Ready to upgrade your hosting? Use code KB20 at checkout for 20% off your first order!
Last Updated: October 2026
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"FREAKHOSTING","colors":{"primary":"#1a6fd1","light":"#4da3ff","dark":"#1a6fd1"},"favicon":"https://cdn.freakhosting.com/website/favicon.ico","appearance":{"default":"dark","strict":false},"background":{"color":{"light":"#ffffff","dark":"#0a0e17"}},"seo":{"metatags":{"og:image":"https://cdn.freakhosting.com/core/assets/heldesk-main.png","og:site_name":"FREAKHOSTING Help Center","og:locale":"en_GB","twitter:site":"@freakhosting","twitter:card":"summary_large_image","author":"FREAKHOSTING LTD","robots":"index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1","copyright":"Copyright 2018-2026 FREAKHOSTING LTD","theme-color":"#0a0e17","color-scheme":"light dark"},"organization":{"id":"https://freakhosting.com/#organization","name":"FREAKHOSTING","legalName":"FREAKHOSTING LTD","url":"https://freakhosting.com","logo":"https://cdn.freakhosting.com/core/assets/img/logo-footer.png","sameAs":["https://x.com/freakhosting","https://discord.gg/freakhosting","https://github.com/freakhosting"]},"indexing":"all"},"integrations":{"ga4":{"measurementId":"G-TSY6L544EM"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity",{"title":"Order a Server","description":"Browse our game server hosting plans","icon":"server","href":"https://freakhosting.com"},{"title":"Submit a Ticket","description":"Contact our 24/7 support team","icon":"ticket","href":"https://freakhosting.com/clientarea/submitticket.php"},{"title":"Join Discord","description":"Get community support and updates","icon":"discord","href":"https://discord.gg/freakhosting"}],"display":"header"},"interaction":{"drilldown":false},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"freakhostingltd","hasAudioNarration":false,"actualSubdomain":"freakhostingltd","customDomains":["help.freakhosting.com"],"gitSource":{"type":"github","owner":"freakhosting","repo":"help.freakhosting.com","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae4afc139bc6f1b8c505a0f","collectionId":"9bcadd92-279c-4eb1-beff-c5c16a998fef","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae4afc139bc6f1b8c505a0f"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ae8717f21b4422fadc75e7b","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"Games","count":556},{"language":"default","tag":"Popular Games","count":163},{"language":"default","tag":"Survival Games","count":153},{"language":"default","tag":"Game Panel guides","count":97},{"language":"default","tag":"Commands \u0026 settings","count":89},{"language":"default","tag":"Guides \u0026 tips","count":83},{"language":"default","tag":"Shooters","count":74},{"language":"default","tag":"Racing \u0026 Simulation","count":72},{"language":"default","tag":"Sandbox \u0026 Building","count":45},{"language":"default","tag":"Minecraft","count":45}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"portals/web-panel/how-to-change-php-version","slug":"/portals/web-panel/how-to-change-php-version","pageMetadata":{"title":"How to Change Your PHP Version, Extensions and php.ini Settings","sidebarTitle":"PHP Version \u0026 Settings","description":"Change your website's PHP version, turn PHP extensions on or off, edit php.ini settings such as memory_limit, read the PHP error log and restart PHP in the FREAKHOSTING Web Panel.","keywords":["FREAKHOSTING","web hosting","PHP version","change PHP","PHP extensions","php.ini","memory_limit","upload_max_filesize","PHP error log","IonCube"],"href":"/portals/web-panel/how-to-change-php-version"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Change your website’s PHP version, turn PHP extensions on or off, edit php.ini settings such as memory_limit, read the PHP error log and restart PHP in the FREAKHOSTING Web Panel.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,hr:`hr`,li:`li`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CardGroup,Frame,Heading,Note,OptimizedImage,Step,Steps,Table,Tip}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Every website has its own PHP settings in `,_jsx(_components.strong,{children:`Developer tools`}),`. You can switch PHP version, turn optional extensions on, change `,_jsx(_components.code,{children:`php.ini`}),` values such as the memory limit, and read the PHP error log.`]}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Difficulty`,icon:`gauge`,children:_jsx(_components.p,{children:`Intermediate`})}),_jsx(Card,{title:`Time`,icon:`clock`,children:_jsx(_components.p,{children:`5 minutes`})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`open-developer-tools`,children:`Open Developer tools`}),`\n`,_jsxs(_components.p,{children:[`Go to `,_jsx(_components.a,{href:`https://web.freakhosting.com/websites`,children:_jsx(_components.strong,{children:`Websites`})}),`, click your website, then open `,_jsx(_components.strong,{children:`Advanced`}),` → `,_jsx(_components.strong,{children:`Developer tools`}),`. You can also click `,_jsx(_components.strong,{children:`PHP version`}),` under `,_jsx(_components.strong,{children:`At a glance`}),` on your website’s `,_jsx(_components.strong,{children:`Home`}),` tab.`]}),`\n`,_jsx(Frame,{caption:`The PHP section of Developer tools`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/devtools-php.png?fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=5bf46571d6712a5364cae9589dd8997c`,alt:`Developer tools page showing the PHP card with a version drop-down, a Restart button, built-in and configurable extensions, and the php-error.log viewer`,\"data-og-width\":`1363`,width:`1363`,\"data-og-height\":`896`,height:`896`,\"data-path\":`images/web-panel/devtools-php.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/devtools-php.png?w=280\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=b6b593805e59d6c3f387b4c5b7092038 280w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/devtools-php.png?w=560\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=e8d8d5a05a10f9e3f64f4aaeb066b946 560w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/devtools-php.png?w=840\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=2a3ccfd825e609143abcf11dbc54c4b5 840w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/devtools-php.png?w=1100\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=f9eade4dfd86ef83426b376529fbb9d1 1100w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/devtools-php.png?w=1650\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=e682151cea405f667e6be19b414cb48c 1650w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/devtools-php.png?w=2500\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=5bdaf298aaf0d0ce40a9e349eacb483b 2500w`})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`change-the-php-version`,children:`Change the PHP version`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Back up first`,children:_jsxs(_components.p,{children:[`Check you have a recent backup on the `,_jsx(_components.a,{href:`/portals/web-panel/how-to-create-and-restore-backups`,children:_jsx(_components.strong,{children:`Backups`})}),` tab in case your site doesn’t work with the new version.`]})}),_jsxs(Step,{title:`Choose a version`,children:[_jsxs(_components.p,{children:[`Click the version drop-down on the `,_jsx(_components.strong,{children:`PHP`}),` card and pick a version.`]}),_jsx(Frame,{caption:`Available PHP versions`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/php-version-list.png?fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=716902f97799d984065b89853bd3294e`,alt:`PHP version drop-down listing 8.5 Latest, 8.4 LTS, 8.3 LTS, 8.2 LTS, 8.1, 8.0, 7.4, 7.3, 7.2, 7.1, 7.0 and 5.6`,\"data-og-width\":`1282`,width:`1282`,\"data-og-height\":`490`,height:`490`,\"data-path\":`images/web-panel/php-version-list.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/php-version-list.png?w=280\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=0a8a303d7cc9d270c6353f6701d4a0b4 280w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/php-version-list.png?w=560\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=5cea855fab30ed2fbd1b60264839c213 560w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/php-version-list.png?w=840\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=cdc2af0ffb7eaa6897d948f9c966de7f 840w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/php-version-list.png?w=1100\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=b86727afb19dcd6a8c7fbd9671d81a2c 1100w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/php-version-list.png?w=1650\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=3e06e814401aea614d185fab9e71ed6a 1650w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/php-version-list.png?w=2500\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=90c2d4b0270d81e09283895894386491 2500w`})})]}),_jsxs(Step,{title:`Confirm`,children:[_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Update PHP version`}),` box explains what will change. Click `,_jsx(_components.strong,{children:`Update`}),`. You’ll see `,_jsx(_components.em,{children:`PHP version updated`}),` within a few seconds.`]}),_jsx(Frame,{caption:`Confirm the change`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/php-update-confirm.png?fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=69706fb3ab900c023d345b4508d0c0ba`,alt:`Update PHP version confirmation box with Close and Update buttons`,\"data-og-width\":`621`,width:`621`,\"data-og-height\":`269`,height:`269`,\"data-path\":`images/web-panel/php-update-confirm.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/php-update-confirm.png?w=280\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=14907a13f22ba37a6135877d215923d3 280w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/php-update-confirm.png?w=560\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=d2f541786720087838b7aa83ef455e63 560w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/php-update-confirm.png?w=840\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=fa0d11db088644d19dfd106adf81878b 840w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/php-update-confirm.png?w=1100\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=09901ff8cc89aedf68600a82c36f4126 1100w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/php-update-confirm.png?w=1650\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=50e017900ce4b70511e93f6a44a389b4 1650w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/php-update-confirm.png?w=2500\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=6f503ed6b1ce7286b705b73f8c2833d0 2500w`})})]}),_jsx(Step,{title:`Check your website`,children:_jsx(_components.p,{children:`Open your website and click around. If something is broken, switch back to the previous version the same way.`})})]}),`\n`,_jsx(Heading,{level:`3`,id:`which-version-should-i-choose`,children:`Which version should I choose?`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Label`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Latest`})}),_jsx(_components.td,{children:`The newest PHP release (8.5). Fastest, but some older plugins may not support it yet`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`LTS`})}),_jsx(_components.td,{children:`8.4, 8.3 and 8.2. Supported for longer: the best choice for most websites`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`No label`}),_jsx(_components.td,{children:`8.1 down to 5.6. No longer supported by PHP. Only use these for old software that needs them`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`For WordPress, choose an `,_jsx(_components.strong,{children:`LTS`}),` version unless a plugin tells you otherwise.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`turn-php-extensions-on-or-off`,children:`Turn PHP extensions on or off`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`PHP`}),` card lists two kinds of extension:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Built-in extensions`}),` are greyed out. They’re always on and can’t be changed.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Configurable extensions`}),` have a checkbox. Tick one to turn it on straight away, for example `,_jsx(_components.em,{children:`‘apcu’ enabled`}),`. Untick it to turn it off.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Configurable extensions available: `,_jsx(_components.code,{children:`apcu`}),`, `,_jsx(_components.code,{children:`brotli`}),`, `,_jsx(_components.code,{children:`oauth`}),`, `,_jsx(_components.code,{children:`pdo_dblib`}),`, `,_jsx(_components.code,{children:`pdo_pgsql`}),`, `,_jsx(_components.code,{children:`pgsql`}),` and `,_jsx(_components.code,{children:`xmlrpc`}),`. Only turn on the ones your software asks for.`]}),`\n`,_jsx(Heading,{level:`3`,id:`ioncube-loader`,children:`IonCube Loader`}),`\n`,_jsxs(_components.p,{children:[`Some commercial PHP scripts need `,_jsx(_components.strong,{children:`IonCube Loader`}),`. Turn it on with the `,_jsx(_components.strong,{children:`IonCube loader`}),` toggle further down `,_jsx(_components.strong,{children:`Developer tools`}),`. It isn’t available on PHP 8.0.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`change-php-ini-settings`,children:`Change php.ini settings`}),`\n`,_jsxs(_components.p,{children:[`Use the `,_jsx(_components.strong,{children:`php.ini editor`}),` to change PHP limits and options for this website, for example to allow bigger uploads.`]}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Click Add directive`,children:_jsx(_components.p,{children:`A new row appears.`})}),_jsxs(Step,{title:`Enter the setting`,children:[_jsxs(_components.p,{children:[`Type the `,_jsx(_components.strong,{children:`Directive`}),` name (for example `,_jsx(_components.code,{children:`memory_limit`}),`), choose the `,_jsx(_components.strong,{children:`Value type`}),` (`,_jsx(_components.strong,{children:`Text`}),` or `,_jsx(_components.strong,{children:`Boolean`}),`), and enter the value (for example `,_jsx(_components.code,{children:`256M`}),`).`]}),_jsx(Frame,{caption:`Add a php.ini directive`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/phpini-add-directive.png?fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=816ccfc5628010868b506dcfb94e649d`,alt:`php.ini editor with a new row for the memory_limit directive, value type Text, value 256M, and Cancel and Create buttons`,\"data-og-width\":`1298`,width:`1298`,\"data-og-height\":`474`,height:`474`,\"data-path\":`images/web-panel/phpini-add-directive.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/phpini-add-directive.png?w=280\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=f7919de025615e13c42d2b7fe46a8bc8 280w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/phpini-add-directive.png?w=560\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=a2bd321b21f5b01830b262f24e269882 560w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/phpini-add-directive.png?w=840\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=51863793b10179e2bd1e97c9e7d361e6 840w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/phpini-add-directive.png?w=1100\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=292a10ad5059ed88558c23cc0dc525b4 1100w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/phpini-add-directive.png?w=1650\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=5d14f9b932d25d8c5ae89cf9d1e3f5b1 1650w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/phpini-add-directive.png?w=2500\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=2ceced8dc009e1e826513f5a45534b79 2500w`})})]}),_jsx(Step,{title:`Click Create`,children:_jsxs(_components.p,{children:[`You’ll see `,_jsx(_components.em,{children:`Directive added`}),`.`]})})]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`To change or remove one of your directives, click `,_jsx(_components.strong,{children:`⋮`}),` on its row and choose `,_jsx(_components.strong,{children:`Edit`}),` or `,_jsx(_components.strong,{children:`Delete`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Rows marked `,_jsx(_components.strong,{children:`Inherited`}),` are our server defaults. Add your own directive with the same name to override one.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`common-settings`,children:`Common settings`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Directive`}),_jsx(_components.th,{children:`Example value`}),_jsx(_components.th,{children:`What it does`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`memory_limit`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`256M`})}),_jsx(_components.td,{children:`Maximum memory one PHP script can use`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`upload_max_filesize`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`64M`})}),_jsx(_components.td,{children:`Largest file that can be uploaded through your website`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`post_max_size`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`64M`})}),_jsxs(_components.td,{children:[`Largest form submission; set it at least as high as `,_jsx(_components.code,{children:`upload_max_filesize`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`max_execution_time`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`120`})}),_jsx(_components.td,{children:`Seconds a script can run before it’s stopped`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`date.timezone`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Europe/London`})}),_jsx(_components.td,{children:`Time zone used by PHP`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Changes apply within a few seconds, with no restart needed. They also apply to PHP scripts run by `,_jsx(_components.a,{href:`/portals/web-panel/how-to-set-up-cron-jobs`,children:`cron jobs`}),`. Server defaults you haven’t changed show an `,_jsx(_components.strong,{children:`Inherited`}),` badge; the default time zone is `,_jsx(_components.code,{children:`Europe/Berlin`}),`.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`To change a value later, click `,_jsx(_components.strong,{children:`⋮`}),` → `,_jsx(_components.strong,{children:`Edit`}),` on its row, enter the new value and click `,_jsx(_components.strong,{children:`Save`}),`. `,_jsx(_components.strong,{children:`Delete`}),` removes your setting and goes back to the server default.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`read-the-php-error-log`,children:`Read the PHP error log`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`php-error.log`}),` box at the bottom of the PHP card shows recent PHP errors for this website, with the time it was last refreshed. Click the refresh icon to load new entries. If there are none, it says `,_jsx(_components.em,{children:`No PHP errors logged since restart`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`For WordPress, you can also turn on debug logging in the `,_jsx(_components.a,{href:`/portals/web-panel/how-to-manage-wordpress-with-the-toolkit`,children:`WordPress Toolkit`}),`.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`restart-php`,children:`Restart PHP`}),`\n`,_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Restart`}),` at the top right of the `,_jsx(_components.strong,{children:`PHP`}),` card to restart PHP for this website. To restart everything, including SSH sessions and background processes, use `,_jsx(_components.strong,{children:`Restart container`}),` under `,_jsx(_components.strong,{children:`Quick links`}),` on the `,_jsx(_components.strong,{children:`Home`}),` tab.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`My site shows errors or a blank page after changing PHP version`,id:`my-site-shows-errors-or-a-blank-page-after-changing-php-version`,children:_jsxs(_components.p,{children:[`A plugin, theme or script doesn’t support the new version. Switch back to the previous version, then update your software before trying again. Check the `,_jsx(_components.strong,{children:`php-error.log`}),` box to see which file is causing the problem.`]})}),_jsx(Accordion,{title:`WordPress says the uploaded file exceeds upload_max_filesize`,id:`wordpress-says-the-uploaded-file-exceeds-upload-max-filesize`,children:_jsxs(_components.p,{children:[`Add `,_jsx(_components.code,{children:`upload_max_filesize`}),` and `,_jsx(_components.code,{children:`post_max_size`}),` directives with larger values, for example `,_jsx(_components.code,{children:`64M`}),`, then restart PHP.`]})}),_jsx(Accordion,{title:`Allowed memory size exhausted`,id:`allowed-memory-size-exhausted`,children:_jsxs(_components.p,{children:[`Add or raise the `,_jsx(_components.code,{children:`memory_limit`}),` directive, for example to `,_jsx(_components.code,{children:`256M`}),` or `,_jsx(_components.code,{children:`512M`}),`.`]})}),_jsx(Accordion,{title:`Software says an extension is missing`,id:`software-says-an-extension-is-missing`,children:_jsxs(_components.p,{children:[`Tick it under `,_jsx(_components.strong,{children:`Configurable extensions`}),`. If it isn’t listed, `,_jsx(_components.a,{href:`https://freakhosting.com/clientarea/submitticket.php`,children:`open a ticket`}),` and tell us which extension you need.`]})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsxs(Note,{children:[_jsx(Heading,{level:`3`,id:`need-extra-help`,children:`Need Extra Help?`}),_jsx(_components.p,{children:`If you encounter any issues, our support team is ready to assist:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Live Chat:`}),` Quick assistance via our website.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Support Ticket:`}),` `,_jsx(_components.a,{href:`https://freakhosting.com/clientarea/submitticket.php`,children:`Open a Ticket`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Discord:`}),` `,_jsx(_components.a,{href:`https://discord.gg/freakhosting`,children:`Join our Community`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Email:`}),` `,_jsx(_components.a,{href:`mailto:support@freakhosting.com`,children:`support@freakhosting.com`})]}),`\n`]})]}),`\n`,_jsxs(Tip,{children:[_jsx(Heading,{level:`3`,id:`save-on-your-hosting`,children:`Save on Your Hosting`}),_jsxs(_components.p,{children:[`Ready to upgrade your hosting? Use code `,_jsx(_components.strong,{children:`KB20`}),` at checkout for `,_jsx(_components.strong,{children:`20% off`}),` your first order!`]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(`div`,{align:`center`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Last Updated:`}),` October 2026`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"How to Change Your PHP Version, Extensions and php.ini Settings","sidebarTitle":"PHP Version \u0026 Settings","description":"Change your website's PHP version, turn PHP extensions on or off, edit php.ini settings such as memory_limit, read the PHP error log and restart PHP in the FREAKHOSTING Web Panel.","keywords":["FREAKHOSTING","web hosting","PHP version","change PHP","PHP extensions","php.ini","memory_limit","upload_max_filesize","PHP error log","IonCube"],"href":"/portals/web-panel/how-to-change-php-version"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Open Developer tools","slug":"open-developer-tools","depth":2,"children":[]},{"title":"Change the PHP version","slug":"change-the-php-version","depth":2,"children":[{"title":"Which version should I choose?","slug":"which-version-should-i-choose","depth":3,"children":[]}]},{"title":"Turn PHP extensions on or off","slug":"turn-php-extensions-on-or-off","depth":2,"children":[{"title":"IonCube Loader","slug":"ioncube-loader","depth":3,"children":[]}]},{"title":"Change php.ini settings","slug":"change-php-ini-settings","depth":2,"children":[{"title":"Common settings","slug":"common-settings","depth":3,"children":[]}]},{"title":"Read the PHP error log","slug":"read-the-php-error-log","depth":2,"children":[]},{"title":"Restart PHP","slug":"restart-php","depth":2,"children":[]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[{"title":"Need Extra Help?","slug":"need-extra-help","depth":3,"children":[]},{"title":"Save on Your Hosting","slug":"save-on-your-hosting","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"freakhostingltd","siteName":"FREAKHOSTING","title":"How to Change Your PHP Version, Extensions and php.ini Settings - FREAKHOSTING","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-24T16:57:31.122Z","originalFileLocation":"portals/web-panel/how-to-change-php-version.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Change your website\u0026#x27;s PHP version, turn PHP extensions on or off, edit php.ini settings such as memory_limit, read the PHP error log and restart PHP in the FREAKHOSTING Web Panel.\">\u003cmeta data-mint-head name=\"application-name\" content=\"FREAKHOSTING\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/x-icon\" sizes=\"180x180\" href=\"https://cdn.freakhosting.com/website/favicon.ico\">\u003clink data-mint-head rel=\"icon\" type=\"image/x-icon\" sizes=\"32x32\" href=\"https://cdn.freakhosting.com/website/favicon.ico\">\u003clink data-mint-head rel=\"icon\" type=\"image/x-icon\" sizes=\"16x16\" href=\"https://cdn.freakhosting.com/website/favicon.ico\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://cdn.freakhosting.com/website/favicon.ico\">\u003cmeta data-mint-head property=\"og:title\" content=\"How to Change Your PHP Version, Extensions and php.ini Settings - FREAKHOSTING\">\u003cmeta data-mint-head property=\"og:description\" content=\"Change your website\u0026#x27;s PHP version, turn PHP extensions on or off, edit php.ini settings such as memory_limit, read the PHP error log and restart PHP in the FREAKHOSTING Web Panel.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"FREAKHOSTING Help Center\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://help.freakhosting.com/portals/web-panel/how-to-change-php-version\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cdn.freakhosting.com/core/assets/heldesk-main.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"How to Change Your PHP Version, Extensions and php.ini Settings - FREAKHOSTING\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Change your website\u0026#x27;s PHP version, turn PHP extensions on or off, edit php.ini settings such as memory_limit, read the PHP error log and restart PHP in the FREAKHOSTING Web Panel.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cdn.freakhosting.com/core/assets/heldesk-main.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/freakhostingltd/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"FREAKHOSTING\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1a6fd1\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_GB\">\u003cmeta data-mint-head name=\"author\" content=\"FREAKHOSTING LTD\">\u003cmeta data-mint-head name=\"copyright\" content=\"Copyright 2018-2026 FREAKHOSTING LTD\">\u003cmeta data-mint-head name=\"theme-color\" content=\"#0a0e17\">\u003cmeta data-mint-head name=\"color-scheme\" content=\"light dark\">\u003clink data-mint-head rel=\"canonical\" href=\"https://help.freakhosting.com/portals/web-panel/how-to-change-php-version\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/portals/web-panel/how-to-change-php-version.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://freakhosting.com/#organization\",\"name\":\"FREAKHOSTING\",\"legalName\":\"FREAKHOSTING LTD\",\"url\":\"https://freakhosting.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://cdn.freakhosting.com/core/assets/img/logo-footer.png\"},\"sameAs\":[\"https://x.com/freakhosting\",\"https://discord.gg/freakhosting\",\"https://github.com/freakhosting\"]},{\"@type\":\"WebSite\",\"@id\":\"https://help.freakhosting.com#website\",\"name\":\"FREAKHOSTING\",\"url\":\"https://help.freakhosting.com\",\"publisher\":{\"@id\":\"https://freakhosting.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://help.freakhosting.com/portals/web-panel/how-to-change-php-version#webpage\",\"url\":\"https://help.freakhosting.com/portals/web-panel/how-to-change-php-version\",\"name\":\"How to Change Your PHP Version, Extensions and php.ini Settings\",\"description\":\"Change your website's PHP version, turn PHP extensions on or off, edit php.ini settings such as memory_limit, read the PHP error log and restart PHP in the FREAKHOSTING Web Panel.\",\"dateModified\":\"2026-10-24T16:57:31.122Z\",\"isPartOf\":{\"@id\":\"https://help.freakhosting.com#website\"},\"breadcrumb\":{\"@id\":\"https://help.freakhosting.com/portals/web-panel/how-to-change-php-version#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://help.freakhosting.com/portals/web-panel/how-to-change-php-version#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Performance \u0026 PHP\",\"item\":\"https://help.freakhosting.com/portals/web-panel/how-to-optimize-website-performance\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Change Your PHP Version, Extensions and php.ini Settings\",\"item\":\"https://help.freakhosting.com/portals/web-panel/how-to-change-php-version\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://help.freakhosting.com/portals/web-panel/how-to-change-php-version#article\",\"headline\":\"How to Change Your PHP Version, Extensions and php.ini Settings\",\"name\":\"How to Change Your PHP Version, Extensions and php.ini Settings\",\"description\":\"Change your website's PHP version, turn PHP extensions on or off, edit php.ini settings such as memory_limit, read the PHP error log and restart PHP in the FREAKHOSTING Web Panel.\",\"url\":\"https://help.freakhosting.com/portals/web-panel/how-to-change-php-version\",\"mainEntityOfPage\":{\"@id\":\"https://help.freakhosting.com/portals/web-panel/how-to-change-php-version#webpage\"},\"image\":\"https://cdn.freakhosting.com/core/assets/heldesk-main.png\",\"dateModified\":\"2026-10-24T16:57:31.122Z\",\"keywords\":\"FREAKHOSTING, web hosting, PHP version, change PHP, PHP extensions, php.ini, memory_limit, upload_max_filesize, PHP error log, IonCube\",\"publisher\":{\"@id\":\"https://freakhosting.com/#organization\"},\"isPartOf\":{\"@id\":\"https://help.freakhosting.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"FREAKHOSTING\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"FREAKHOSTING","nav":{"global":null,"tabs":[{"tab":"Get Started","icon":"rocket","pages":[{"title":"Get Started","href":"/get-started/welcome"}]},{"tab":"Billing Area","icon":"credit-card","pages":[{"title":"Billing Area","href":"/portals/billing/how-to-login-and-access-the-billing-panel"}]},{"tab":"Game Panel","icon":"gamepad","pages":[{"title":"Game Panel","href":"/portals/game-panel/how-to-login-and-access-the-game-panel"}]},{"tab":"VPS Panel","icon":"server","pages":[{"title":"VPS Panel","href":"/portals/vps-panel/how-to-login-and-access-the-vps-control-panel"}]},{"tab":"Web Panel","icon":"globe","groups":[{"group":"Getting Started","pages":[{"title":"How to Find Your Way Around the Web Hosting Panel","sidebarTitle":"Panel Overview","href":"/portals/web-panel/web-panel-overview-and-dashboard"},{"title":"How to Add, Restart, Disable and Delete a Website","sidebarTitle":"Manage Websites","href":"/portals/web-panel/how-to-add-and-manage-websites"},{"title":"How to Install WordPress and Other Apps","sidebarTitle":"Install WordPress \u0026 Apps","href":"/portals/web-panel/how-to-install-wordpress-and-web-apps"},{"title":"How to Manage WordPress With the WordPress Toolkit","sidebarTitle":"WordPress Toolkit","href":"/portals/web-panel/how-to-manage-wordpress-with-the-toolkit"},{"title":"How to Give Someone Access to Your Websites","sidebarTitle":"Team \u0026 Collaborators","href":"/portals/web-panel/how-to-invite-team-members-and-collaborators"},{"title":"How to Manage Your Panel Account, Two-Factor Authentication and Plan Usage","sidebarTitle":"Account, 2FA \u0026 Usage","href":"/portals/web-panel/how-to-manage-your-account-and-two-factor-authentication"}]},{"group":"File Management","pages":[{"title":"How to Use the File Manager","sidebarTitle":"File Manager","href":"/portals/web-panel/how-to-use-the-file-manager"},{"title":"How to Create and Manage FTP Accounts","sidebarTitle":"FTP Accounts","href":"/portals/web-panel/how-to-create-and-manage-ftp-accounts"},{"title":"How to Connect to Your Website with SSH and SFTP","sidebarTitle":"SSH \u0026 SFTP Access","href":"/portals/web-panel/how-to-connect-with-ssh-and-sftp"}]},{"group":"Domains \u0026 DNS","pages":[{"title":"How to Point Your Domain and Manage Domains and Subdomains","sidebarTitle":"Domains \u0026 Subdomains","href":"/portals/web-panel/how-to-manage-domains-and-dns-records"},{"title":"How to Manage DNS Records and DNSSEC","sidebarTitle":"DNS Records \u0026 DNSSEC","href":"/portals/web-panel/how-to-manage-dns-records-and-dnssec"},{"title":"How to Set Up DKIM, Mail Routing and Gmail for Your Domain","sidebarTitle":"Email Authentication \u0026 Routing","href":"/portals/web-panel/how-to-configure-email-authentication-and-routing"},{"title":"How to Set Up URL Redirects","sidebarTitle":"URL Redirects","href":"/portals/web-panel/how-to-setup-url-redirects"},{"title":"How to Connect Cloudflare or Slack to Your Web Hosting","sidebarTitle":"Cloudflare \u0026 Slack","href":"/portals/web-panel/how-to-connect-cloudflare-and-slack-integrations"}]},{"group":"Databases","pages":[{"title":"How to Create and Manage MySQL Databases","sidebarTitle":"MySQL Databases","href":"/portals/web-panel/how-to-manage-mysql-databases"}]},{"group":"SSL \u0026 Security","pages":[{"title":"How to Get a Free SSL Certificate and Force HTTPS","sidebarTitle":"SSL \u0026 HTTPS","href":"/portals/web-panel/how-to-manage-ssl-certificates-and-https"},{"title":"How to Install a Custom SSL Certificate and Fix SSL Problems","sidebarTitle":"Custom SSL \u0026 Troubleshooting","href":"/portals/web-panel/how-to-install-custom-ssl-and-troubleshoot"}]},{"group":"Email Services","pages":[{"title":"How to Create and Manage Email Accounts","sidebarTitle":"Email Accounts","href":"/portals/web-panel/how-to-create-and-manage-email-accounts"},{"title":"How to Configure Spam Filtering, Forwarding and Auto-Replies","sidebarTitle":"Spam, Forwarding \u0026 Auto-Replies","href":"/portals/web-panel/how-to-configure-email-spam-and-forwarding"},{"title":"How to Use Webmail and Set Up Email on Your Computer or Phone","sidebarTitle":"Webmail \u0026 Email Apps","href":"/portals/web-panel/how-to-setup-email-clients-and-devices"}]},{"group":"Performance \u0026 PHP","pages":[{"title":"How to Speed Up Your Website","sidebarTitle":"Website Performance","description":"Make your FREAKHOSTING website faster with opcode caching, Redis, the LiteSpeed Cache plugin for WordPress and the latest PHP version.","href":"/portals/web-panel/how-to-optimize-website-performance"},{"title":"How to Change Your PHP Version, Extensions and php.ini Settings","sidebarTitle":"PHP Version \u0026 Settings","href":"/portals/web-panel/how-to-change-php-version"},{"title":"How to Run a Node.js App with Worker Processes","sidebarTitle":"Node.js \u0026 Worker Processes","description":"Run a Node.js, Laravel or other long-running application on your FREAKHOSTING web hosting with Worker processes, choose the Node.js version, and make it available on your domain.","href":"/portals/web-panel/how-to-deploy-nodejs-applications"},{"title":"How to Set Up Cron Jobs (Scheduled Tasks)","sidebarTitle":"Cron Jobs","href":"/portals/web-panel/how-to-set-up-cron-jobs"}]},{"group":"Backups \u0026 Analytics","pages":[{"title":"How to Restore Your Website From a Backup","sidebarTitle":"Backups \u0026 Restore","href":"/portals/web-panel/how-to-create-and-restore-backups"},{"title":"How to Check Your Website's Visitors and Bandwidth","sidebarTitle":"Analytics \u0026 Bandwidth","href":"/portals/web-panel/understanding-website-analytics-and-bandwidth"}]}]},{"tab":"Firewall Panel","icon":"shield","pages":[{"title":"Firewall Panel","href":"/portals/firewall/firewall-panel-overview"}]},{"tab":"Games","icon":"dice","pages":[{"title":"Games","href":"/games/getting-started"}]},{"tab":"Other","icon":"ellipsis","pages":[{"title":"Other","href":"/portals/other/how-to-connect-to-database-using-heidisql"}]}]},"basePath":"","title":"How to Change Your PHP Version, Extensions and php.ini Settings - FREAKHOSTING","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-DXXFP6nH.js","DynamicMarkdown-B54_zNBF.js","zoom-image-lightbox-BG6oD64b.js","lightbox-handle-r17bVUz3.js"]}