{"id":200,"date":"2026-06-01T23:03:54","date_gmt":"2026-06-02T06:03:54","guid":{"rendered":"https:\/\/hostandtech.com\/kb\/plesk-linux\/how-to-manage-php-versions-in-plesk\/"},"modified":"2026-06-01T23:03:54","modified_gmt":"2026-06-02T06:03:54","slug":"how-to-manage-php-versions-in-plesk","status":"publish","type":"post","link":"https:\/\/hostandtech.com\/kb\/plesk-linux\/how-to-manage-php-versions-in-plesk\/","title":{"rendered":"How to Manage PHP Versions in Plesk (Per Domain and Server-Wide)"},"content":{"rendered":"<h2>Overview<\/h2>\n<p>Plesk makes it possible to run different PHP versions on the same server \u2014 even on different domains hosted on the same account. This is one of the more useful things about Plesk compared to bare-server setups, but the options can be confusing if you haven&#8217;t configured them before.<\/p>\n<p>The Plesk PHP system has two layers: the PHP version itself (e.g. 8.1, 8.2, 8.3) and the PHP handler (how PHP actually runs \u2014 CGI, FastCGI, FPM, etc.). Getting the handler wrong is a very common cause of performance problems and permission errors that look unrelated to PHP. This article covers both layers.<\/p>\n<p>You&#8217;ll need this if you&#8217;re migrating a WordPress site from an older server, onboarding a legacy PHP app, preparing for a PHP end-of-life cutover, or just trying to figure out why one domain is behaving differently from another.<\/p>\n<h2>Prerequisites<\/h2>\n<ul>\n<li>Plesk Obsidian (18.0.x) or later \u2014 some UI elements differ on older versions<\/li>\n<li>Administrator access to Plesk, or reseller\/customer access with PHP version switching enabled by the admin<\/li>\n<li>At least one additional PHP version installed via Plesk&#8217;s PHP extensions manager (covered below if you don&#8217;t have it yet)<\/li>\n<li>SSH access recommended for troubleshooting \u2014 not required for basic version switching<\/li>\n<li>If you&#8217;re on a managed plan, confirm your host allows PHP handler changes \u2014 some managed environments lock this down<\/li>\n<\/ul>\n<h2>Step 1: Check Which PHP Versions Are Installed on the Server<\/h2>\n<p>Before you can assign a PHP version to a domain, it has to be installed. Log in to Plesk as an administrator and go to <strong>Tools &amp; Settings &gt; PHP Settings<\/strong>. You&#8217;ll see a list of every PHP version currently available, along with which handler types are registered for each.<\/p>\n<p>If a version you need isn&#8217;t listed, you&#8217;ll need to install it. On most Linux VPS setups running Plesk, this means adding it via the Plesk Installer:<\/p>\n<ol>\n<li>Go to <strong>Tools &amp; Settings &gt; Updates and Upgrades<\/strong><\/li>\n<li>Click <strong>Add\/Remove Components<\/strong><\/li>\n<li>Expand the <strong>PHP Interpreter<\/strong> section<\/li>\n<li>Check the versions you want to install (e.g. PHP 8.1, 8.2, 8.3)<\/li>\n<li>Click <strong>Continue<\/strong> and let the installer finish<\/li>\n<\/ol>\n<p>Alternatively, if you have SSH access, you can use the Plesk CLI:<\/p>\n<div class=\"ht-code-snippet\"><button class=\"ht-code-snippet__copy\" type=\"button\" aria-label=\"Copy code\"><\/button><span class=\"ht-code-snippet__feedback\">Copied to clipboard<\/span><\/p>\n<pre class=\"ht-code-snippet__code\" id=\"code-block-1\"><code class=\"\" data-line=\"\">plesk installer --select-release-current --install-component php8.2<\/code><\/pre>\n<\/div>\n<p>This installs PHP 8.2 with all handlers Plesk supports for that version. Replace <code class=\"\" data-line=\"\">php8.2<\/code> with the version you need.<\/p>\n<h2>Step 2: Set the PHP Version for a Specific Domain<\/h2>\n<p>This is the most common task \u2014 changing PHP for one domain without touching anything else on the server.<\/p>\n<ol>\n<li>In Plesk, go to <strong>Websites &amp; Domains<\/strong><\/li>\n<li>Find the domain you want to change and click <strong>PHP Settings<\/strong> (it&#8217;s listed directly under the domain name)<\/li>\n<li>In the <strong>PHP version<\/strong> dropdown, select the version you want<\/li>\n<li>Choose your <strong>PHP handler<\/strong> (see Step 3 below before doing this)<\/li>\n<li>Click <strong>OK<\/strong> to apply<\/li>\n<\/ol>\n<p>The change takes effect immediately. You don&#8217;t need to restart Apache or Nginx manually \u2014 Plesk handles the service reload.<\/p>\n<p>\ud83d\udcdd Note: If the PHP Settings link isn&#8217;t visible for a domain, the subscription plan may not have PHP version switching enabled. An admin needs to go to <strong>Service Plans<\/strong>, edit the relevant plan, and enable <strong>PHP version selection<\/strong> under the <strong>Hosting<\/strong> tab.<\/p>\n<h2>Step 3: Choose the Right PHP Handler<\/h2>\n<p>This is where a lot of people get tripped up. The PHP handler controls how your web server executes PHP code, and the wrong choice will cause real problems \u2014 slow sites, broken file permissions, or 500 errors that make no sense.<\/p>\n<p>Here&#8217;s a practical breakdown of the handlers you&#8217;ll see in Plesk:<\/p>\n<ul>\n<li><strong>PHP-FPM (FastCGI Process Manager)<\/strong> \u2014 this is what you want for almost everything. It runs PHP as a separate process pool per domain, which means better performance, proper file ownership, and process isolation. Use this on any modern VPS or dedicated server.<\/li>\n<li><strong>FastCGI<\/strong> \u2014 older than FPM, still works, but doesn&#8217;t give you per-domain process pools. Fine for low-traffic sites or legacy apps, but I&#8217;d recommend FPM if it&#8217;s available.<\/li>\n<li><strong>CGI<\/strong> \u2014 slowest option. Each PHP request spawns a new process. Only useful in very specific legacy situations.<\/li>\n<li><strong>mod_php (Apache module)<\/strong> \u2014 runs PHP inside the Apache process. Fastest raw execution, but PHP runs as the Apache user, not the domain user. This breaks file permission logic on shared-style setups and is a security concern on multi-tenant servers. Avoid it unless you have a specific reason.<\/li>\n<\/ul>\n<p>\u26a0 Warning: Switching from mod_php to PHP-FPM on a live site can change the effective user that PHP runs as. If your application writes files (uploads, cache, logs), those files may have been created as the Apache user (<code class=\"\" data-line=\"\">apache<\/code> or <code class=\"\" data-line=\"\">www-data<\/code>). After switching to FPM, your app will run as the domain system user and may not be able to write to those directories. Check file ownership with <code class=\"\" data-line=\"\">ls -la<\/code> in your web root and fix with <code class=\"\" data-line=\"\">chown<\/code> if needed.<\/p>\n<h2>Step 4: Change PHP Settings Globally (Server-Wide Default)<\/h2>\n<p>If you want all new domains to use a specific PHP version and handler by default, set it at the service plan level.<\/p>\n<ol>\n<li>Go to <strong>Service Plans<\/strong> (under the main menu)<\/li>\n<li>Click the plan you want to edit, or create a new one<\/li>\n<li>Go to the <strong>Hosting Parameters<\/strong> tab<\/li>\n<li>Set <strong>PHP version<\/strong> and <strong>PHP handler<\/strong> under the PHP section<\/li>\n<li>Click <strong>Update &amp; Sync<\/strong> \u2014 this applies the change to all existing subscriptions under that plan<\/li>\n<\/ol>\n<p>\ud83d\udcdd Note: &#8220;Update &amp; Sync&#8221; will override per-domain PHP settings for every subscription under that plan. If some domains are running a different version intentionally, sync them back individually after.<\/p>\n<h2>Step 5: Verify the Active PHP Version<\/h2>\n<p>Don&#8217;t trust the UI alone. Verify what PHP is actually running for a domain by creating a quick info file:<\/p>\n<div class=\"ht-code-snippet\"><button class=\"ht-code-snippet__copy\" type=\"button\" aria-label=\"Copy code\"><\/button><span class=\"ht-code-snippet__feedback\">Copied to clipboard<\/span><\/p>\n<pre class=\"ht-code-snippet__code\" id=\"code-block-2\"><code class=\"\" data-line=\"\"># SSH into the server and drop a phpinfo file in the domain&#039;s web root\necho &#039;&lt;?php phpinfo(); ?&gt;&#039; &gt; \/var\/www\/vhosts\/yourdomain.com\/httpdocs\/phpinfo.php<\/code><\/pre>\n<\/div>\n<p>Then visit <code class=\"\" data-line=\"\">https:\/\/yourdomain.com\/phpinfo.php<\/code> in a browser. You&#8217;ll see the exact PHP version and handler at the top of the page. Delete the file immediately after \u2014 leaving phpinfo exposed on a live site is a security issue.<\/p>\n<div class=\"ht-code-snippet\"><button class=\"ht-code-snippet__copy\" type=\"button\" aria-label=\"Copy code\"><\/button><span class=\"ht-code-snippet__feedback\">Copied to clipboard<\/span><\/p>\n<pre class=\"ht-code-snippet__code\" id=\"code-block-3\"><code class=\"\" data-line=\"\">rm \/var\/www\/vhosts\/yourdomain.com\/httpdocs\/phpinfo.php<\/code><\/pre>\n<\/div>\n<p>You can also check from the CLI without touching the web root:<\/p>\n<div class=\"ht-code-snippet\"><button class=\"ht-code-snippet__copy\" type=\"button\" aria-label=\"Copy code\"><\/button><span class=\"ht-code-snippet__feedback\">Copied to clipboard<\/span><\/p>\n<pre class=\"ht-code-snippet__code\" id=\"code-block-4\"><code class=\"\" data-line=\"\">plesk php --version<\/code><\/pre>\n<\/div>\n<p>This shows the CLI PHP version Plesk itself uses, not the per-domain version. For per-domain CLI execution, specify the full binary path, e.g. <code class=\"\" data-line=\"\">\/opt\/plesk\/php\/8.2\/bin\/php -v<\/code>.<\/p>\n<h2>Common Issues &amp; Troubleshooting<\/h2>\n<h3>PHP version dropdown is greyed out or missing<\/h3>\n<p>The customer doesn&#8217;t have permission to switch PHP versions. In Plesk admin, go to <strong>Service Plans &gt; [Plan Name] &gt; Hosting Parameters<\/strong> and make sure <strong>PHP version selection<\/strong> is set to <strong>Allowed<\/strong>. If the site is on a custom subscription rather than a plan, go directly to the subscription&#8217;s <strong>Permissions<\/strong> tab.<\/p>\n<h3>Site shows a 500 Internal Server Error after switching PHP versions<\/h3>\n<p>Usually caused by a PHP extension that&#8217;s available in the old version but not installed in the new one. Go to <strong>PHP Settings<\/strong> for the domain and check the <strong>Extensions<\/strong> tab \u2014 enable anything the app needs (e.g. <code class=\"\" data-line=\"\">mysqli<\/code>, <code class=\"\" data-line=\"\">gd<\/code>, <code class=\"\" data-line=\"\">intl<\/code>, <code class=\"\" data-line=\"\">zip<\/code>). You can also check the error log at <code class=\"\" data-line=\"\">\/var\/www\/vhosts\/yourdomain.com\/logs\/error_log<\/code> \u2014 it&#8217;ll usually name the missing extension directly.<\/p>\n<h3>PHP-FPM pool fails to start after enabling it<\/h3>\n<p>This annoyingly common issue usually comes down to a socket or port conflict, or the FPM config picking up a bad value from the domain settings. Check the FPM log:<\/p>\n<div class=\"ht-code-snippet\"><button class=\"ht-code-snippet__copy\" type=\"button\" aria-label=\"Copy code\"><\/button><span class=\"ht-code-snippet__feedback\">Copied to clipboard<\/span><\/p>\n<pre class=\"ht-code-snippet__code\" id=\"code-block-5\"><code class=\"\" data-line=\"\">journalctl -u plesk-php82-fpm --since &quot;10 minutes ago&quot;<\/code><\/pre>\n<\/div>\n<p>Replace <code class=\"\" data-line=\"\">82<\/code> with your version number. Common causes: a <code class=\"\" data-line=\"\">max_children<\/code> value set too high for available RAM, or a socket path that&#8217;s too long (Linux has a 108-character limit on Unix socket paths). Plesk generates socket paths based on the subscription ID, so this rarely happens \u2014 but it can on servers with unusual domain configurations.<\/p>\n<h3>WP-CLI or Composer is using the wrong PHP version<\/h3>\n<p>Command-line tools pick up the system&#8217;s default PHP, not the per-domain Plesk setting. Specify the exact binary when running CLI commands:<\/p>\n<div class=\"ht-code-snippet\"><button class=\"ht-code-snippet__copy\" type=\"button\" aria-label=\"Copy code\"><\/button><span class=\"ht-code-snippet__feedback\">Copied to clipboard<\/span><\/p>\n<pre class=\"ht-code-snippet__code\" id=\"code-block-6\"><code class=\"\" data-line=\"\">\/opt\/plesk\/php\/8.2\/bin\/php \/usr\/local\/bin\/wp --info --path=\/var\/www\/vhosts\/yourdomain.com\/httpdocs\n\/opt\/plesk\/php\/8.2\/bin\/php \/usr\/local\/bin\/composer install<\/code><\/pre>\n<\/div>\n<p>If you need this permanently for a domain&#8217;s cron jobs, set the full path in the cron command rather than relying on the system <code class=\"\" data-line=\"\">php<\/code> symlink.<\/p>\n<h3>PHP settings changes aren&#8217;t taking effect<\/h3>\n<p>Plesk caches PHP configuration. If you&#8217;ve changed a <code class=\"\" data-line=\"\">php.ini<\/code> value and it&#8217;s not reflecting, restart the relevant FPM service:<\/p>\n<div class=\"ht-code-snippet\"><button class=\"ht-code-snippet__copy\" type=\"button\" aria-label=\"Copy code\"><\/button><span class=\"ht-code-snippet__feedback\">Copied to clipboard<\/span><\/p>\n<pre class=\"ht-code-snippet__code\" id=\"code-block-7\"><code class=\"\" data-line=\"\">plesk repair web yourdomain.com -y<\/code><\/pre>\n<\/div>\n<p>This command reconfigures the web server and PHP handler for that domain, which is almost always faster than trying to track down which config file needs a manual reload.<\/p>\n<h2>A Note on PHP End-of-Life Versions<\/h2>\n<p>As of 2026, PHP 7.4 and 8.0 are both past end-of-life and no longer receive security patches. If any of your domains are still on those versions, you&#8217;ll see a warning badge in the Plesk PHP Settings panel. I&#8217;d recommend scheduling a migration to at least PHP 8.2 \u2014 it&#8217;s well-supported, faster than 7.x, and most major frameworks and CMS platforms have been compatible with it for years.<\/p>\n<p>If you&#8217;re managing multiple sites across different PHP versions and need more control over the underlying server, our <a href=\"https:\/\/www.hostandtech.com\/vps-ssd-servers\">VPS SSD Hosting<\/a> plans give you full root access alongside Plesk, so you&#8217;re not limited by shared environment restrictions when managing PHP stacks.<\/p>\n<div class=\"ht-faq-section\">\n<h2>Frequently Asked Questions<\/h2>\n<div class=\"ht-faq-item\">\n<h3 class=\"ht-faq-question\">Can I run PHP 7.4 and PHP 8.2 on the same Plesk server at the same time?<\/h3>\n<div class=\"ht-faq-answer\">\n<p>Yes, Plesk supports multiple PHP versions simultaneously on the same server. Each domain can be assigned its own version independently. Just make sure both versions are installed via the Plesk Installer or CLI before trying to assign them.<\/p>\n<\/div>\n<\/div>\n<div class=\"ht-faq-item\">\n<h3 class=\"ht-faq-question\">What is PHP-FPM and should I use it in Plesk?<\/h3>\n<div class=\"ht-faq-answer\">\n<p>PHP-FPM (FastCGI Process Manager) is a PHP handler that runs PHP as a dedicated process pool separate from your web server. It&#8217;s faster than CGI and more secure than mod_php on multi-domain servers because each domain can run under its own system user. For most modern setups \u2014 WordPress, Laravel, Magento \u2014 PHP-FPM is the right choice.<\/p>\n<\/div>\n<\/div>\n<div class=\"ht-faq-item\">\n<h3 class=\"ht-faq-question\">How do I change the PHP version for just one domain in Plesk without affecting others?<\/h3>\n<div class=\"ht-faq-answer\">\n<p>Go to Websites &amp; Domains, click PHP Settings under the domain you want to change, then select a different version from the dropdown and click OK. Changes are per-domain and won&#8217;t affect any other site on the server.<\/p>\n<\/div>\n<\/div>\n<div class=\"ht-faq-item\">\n<h3 class=\"ht-faq-question\">Where is the php.ini file for a specific domain in Plesk?<\/h3>\n<div class=\"ht-faq-answer\">\n<p>Plesk uses per-domain PHP configuration stored at <code class=\"\" data-line=\"\">\/var\/www\/vhosts\/yourdomain.com\/etc\/php.ini<\/code> (for CGI\/FastCGI modes) or applies settings through the Plesk PHP Settings panel for FPM. You can also manage php.ini values directly in Plesk under PHP Settings &gt; Additional directives, which is safer than editing the file manually.<\/p>\n<\/div>\n<\/div>\n<div class=\"ht-faq-item\">\n<h3 class=\"ht-faq-question\">Why does my PHP version change revert back after a service plan sync in Plesk?<\/h3>\n<div class=\"ht-faq-answer\">\n<p>When a Plesk admin runs Update &amp; Sync on a service plan, all subscriptions under that plan inherit the plan&#8217;s PHP settings, overriding any per-domain customisations. To keep a domain on a specific version, either set it back manually after the sync or move that domain to a separate plan that has the correct PHP version set as the default.<\/p>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Running multiple sites on Plesk often means juggling different PHP versions \u2014 one app needs PHP 7.4, another needs 8.2. Here&#8217;s exactly how to manage that without breaking anything.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[61],"tags":[53,495,496,62,156,497,4,10],"class_list":["post-200","post","type-post","status-publish","format-standard","hentry","category-plesk-linux","tag-php","tag-php-handler","tag-php-fpm","tag-plesk","tag-plesk-linux","tag-plesk-php-versions","tag-vps-hosting","tag-web-hosting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Manage PHP Versions in Plesk (Per Domain and Server-Wide)<\/title>\n<meta name=\"description\" content=\"Learn how to manage Plesk PHP versions per domain or server-wide, switch PHP handlers, and fix common PHP configuration issues on Linux VPS and dedicated servers.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hostandtech.com\/kb\/plesk-linux\/how-to-manage-php-versions-in-plesk\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Manage PHP Versions in Plesk (Per Domain and Server-Wide)\" \/>\n<meta property=\"og:description\" content=\"Learn how to manage Plesk PHP versions per domain or server-wide, switch PHP handlers, and fix common PHP configuration issues on Linux VPS and dedicated servers.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hostandtech.com\/kb\/plesk-linux\/how-to-manage-php-versions-in-plesk\/\" \/>\n<meta property=\"og:site_name\" content=\"Host And Tech knowledge base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/stshostandtech\" \/>\n<meta property=\"article:published_time\" content=\"2026-06-02T06:03:54+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@stshostandtech\" \/>\n<meta name=\"twitter:site\" content=\"@stshostandtech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/plesk-linux\\\/how-to-manage-php-versions-in-plesk\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/plesk-linux\\\/how-to-manage-php-versions-in-plesk\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#\\\/schema\\\/person\\\/b6fa79c48ddaba71af32e395c5b017ee\"},\"headline\":\"How to Manage PHP Versions in Plesk (Per Domain and Server-Wide)\",\"datePublished\":\"2026-06-02T06:03:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/plesk-linux\\\/how-to-manage-php-versions-in-plesk\\\/\"},\"wordCount\":1789,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#organization\"},\"keywords\":[\"PHP\",\"php handler\",\"php-fpm\",\"plesk\",\"plesk linux\",\"Plesk PHP versions\",\"VPS hosting\",\"web hosting\"],\"articleSection\":[\"Plesk on Linux\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/hostandtech.com\\\/kb\\\/plesk-linux\\\/how-to-manage-php-versions-in-plesk\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/plesk-linux\\\/how-to-manage-php-versions-in-plesk\\\/\",\"url\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/plesk-linux\\\/how-to-manage-php-versions-in-plesk\\\/\",\"name\":\"How to Manage PHP Versions in Plesk (Per Domain and Server-Wide)\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#website\"},\"datePublished\":\"2026-06-02T06:03:54+00:00\",\"description\":\"Learn how to manage Plesk PHP versions per domain or server-wide, switch PHP handlers, and fix common PHP configuration issues on Linux VPS and dedicated servers.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/plesk-linux\\\/how-to-manage-php-versions-in-plesk\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/hostandtech.com\\\/kb\\\/plesk-linux\\\/how-to-manage-php-versions-in-plesk\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/plesk-linux\\\/how-to-manage-php-versions-in-plesk\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Manage PHP Versions in Plesk (Per Domain and Server-Wide)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/\",\"name\":\"Host And Tech knowledge base\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#organization\",\"name\":\"Host And Tech knowledge base\",\"url\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/logo-dark.png\",\"contentUrl\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/logo-dark.png\",\"width\":1134,\"height\":395,\"caption\":\"Host And Tech knowledge base\"},\"image\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/stshostandtech\",\"https:\\\/\\\/x.com\\\/stshostandtech\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#\\\/schema\\\/person\\\/b6fa79c48ddaba71af32e395c5b017ee\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/aa1edac8bbadb442e059a5b65ad45a3b2e3ce689202373b96e3e567517ae4b39?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/aa1edac8bbadb442e059a5b65ad45a3b2e3ce689202373b96e3e567517ae4b39?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/aa1edac8bbadb442e059a5b65ad45a3b2e3ce689202373b96e3e567517ae4b39?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\\\/\\\/hostandtech.com\\\/kb\"],\"url\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/author\\\/admin_fjj7qydm\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Manage PHP Versions in Plesk (Per Domain and Server-Wide)","description":"Learn how to manage Plesk PHP versions per domain or server-wide, switch PHP handlers, and fix common PHP configuration issues on Linux VPS and dedicated servers.","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:\/\/hostandtech.com\/kb\/plesk-linux\/how-to-manage-php-versions-in-plesk\/","og_locale":"en_US","og_type":"article","og_title":"How to Manage PHP Versions in Plesk (Per Domain and Server-Wide)","og_description":"Learn how to manage Plesk PHP versions per domain or server-wide, switch PHP handlers, and fix common PHP configuration issues on Linux VPS and dedicated servers.","og_url":"https:\/\/hostandtech.com\/kb\/plesk-linux\/how-to-manage-php-versions-in-plesk\/","og_site_name":"Host And Tech knowledge base","article_publisher":"https:\/\/www.facebook.com\/stshostandtech","article_published_time":"2026-06-02T06:03:54+00:00","author":"admin","twitter_card":"summary_large_image","twitter_creator":"@stshostandtech","twitter_site":"@stshostandtech","twitter_misc":{"Written by":"admin","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hostandtech.com\/kb\/plesk-linux\/how-to-manage-php-versions-in-plesk\/#article","isPartOf":{"@id":"https:\/\/hostandtech.com\/kb\/plesk-linux\/how-to-manage-php-versions-in-plesk\/"},"author":{"name":"admin","@id":"https:\/\/hostandtech.com\/kb\/#\/schema\/person\/b6fa79c48ddaba71af32e395c5b017ee"},"headline":"How to Manage PHP Versions in Plesk (Per Domain and Server-Wide)","datePublished":"2026-06-02T06:03:54+00:00","mainEntityOfPage":{"@id":"https:\/\/hostandtech.com\/kb\/plesk-linux\/how-to-manage-php-versions-in-plesk\/"},"wordCount":1789,"commentCount":0,"publisher":{"@id":"https:\/\/hostandtech.com\/kb\/#organization"},"keywords":["PHP","php handler","php-fpm","plesk","plesk linux","Plesk PHP versions","VPS hosting","web hosting"],"articleSection":["Plesk on Linux"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hostandtech.com\/kb\/plesk-linux\/how-to-manage-php-versions-in-plesk\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hostandtech.com\/kb\/plesk-linux\/how-to-manage-php-versions-in-plesk\/","url":"https:\/\/hostandtech.com\/kb\/plesk-linux\/how-to-manage-php-versions-in-plesk\/","name":"How to Manage PHP Versions in Plesk (Per Domain and Server-Wide)","isPartOf":{"@id":"https:\/\/hostandtech.com\/kb\/#website"},"datePublished":"2026-06-02T06:03:54+00:00","description":"Learn how to manage Plesk PHP versions per domain or server-wide, switch PHP handlers, and fix common PHP configuration issues on Linux VPS and dedicated servers.","breadcrumb":{"@id":"https:\/\/hostandtech.com\/kb\/plesk-linux\/how-to-manage-php-versions-in-plesk\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hostandtech.com\/kb\/plesk-linux\/how-to-manage-php-versions-in-plesk\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/hostandtech.com\/kb\/plesk-linux\/how-to-manage-php-versions-in-plesk\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hostandtech.com\/kb\/"},{"@type":"ListItem","position":2,"name":"How to Manage PHP Versions in Plesk (Per Domain and Server-Wide)"}]},{"@type":"WebSite","@id":"https:\/\/hostandtech.com\/kb\/#website","url":"https:\/\/hostandtech.com\/kb\/","name":"Host And Tech knowledge base","description":"","publisher":{"@id":"https:\/\/hostandtech.com\/kb\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hostandtech.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/hostandtech.com\/kb\/#organization","name":"Host And Tech knowledge base","url":"https:\/\/hostandtech.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostandtech.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/hostandtech.com\/kb\/wp-content\/uploads\/2026\/05\/logo-dark.png","contentUrl":"https:\/\/hostandtech.com\/kb\/wp-content\/uploads\/2026\/05\/logo-dark.png","width":1134,"height":395,"caption":"Host And Tech knowledge base"},"image":{"@id":"https:\/\/hostandtech.com\/kb\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/stshostandtech","https:\/\/x.com\/stshostandtech"]},{"@type":"Person","@id":"https:\/\/hostandtech.com\/kb\/#\/schema\/person\/b6fa79c48ddaba71af32e395c5b017ee","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/aa1edac8bbadb442e059a5b65ad45a3b2e3ce689202373b96e3e567517ae4b39?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/aa1edac8bbadb442e059a5b65ad45a3b2e3ce689202373b96e3e567517ae4b39?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/aa1edac8bbadb442e059a5b65ad45a3b2e3ce689202373b96e3e567517ae4b39?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/hostandtech.com\/kb"],"url":"https:\/\/hostandtech.com\/kb\/author\/admin_fjj7qydm\/"}]}},"_links":{"self":[{"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/posts\/200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/comments?post=200"}],"version-history":[{"count":0,"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/posts\/200\/revisions"}],"wp:attachment":[{"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/media?parent=200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/categories?post=200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/tags?post=200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}