{"id":17087,"date":"2025-11-19T16:13:10","date_gmt":"2025-11-19T12:43:10","guid":{"rendered":"https:\/\/maralhost.com\/kb\/articles\/cloudlinux\/%d9%86%d8%ad%d9%88%d9%87-%d9%86%d8%b5%d8%a8-php-%d8%a8%d8%b1%d8%a7%db%8c-php-selector-%d8%a8%d8%a7-php-%d9%86%d8%b5%d8%a8-%d8%b4%d8%af%d9%87-%d8%a7%d8%b2-whm\/"},"modified":"2025-11-19T16:14:36","modified_gmt":"2025-11-19T12:44:36","slug":"php-selector","status":"publish","type":"docs","link":"https:\/\/maralhost.com\/kb\/docs\/cloudlinux\/php-selector\/","title":{"rendered":"\u0646\u062d\u0648\u0647 \u0646\u0635\u0628 PHP \u0628\u0631\u0627\u06cc PHP Selector \u0628\u0627 PHP \u0646\u0635\u0628 \u0634\u062f\u0647 \u0627\u0632 WHM"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">\ud83e\udde9 <strong>\u062a\u0639\u0627\u0631\u06cc\u0641 \u06a9\u0644\u06cc\u062f\u06cc \u0645\u0642\u0627\u0644\u0647<\/strong><\/h1>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>PHP Selector:<\/strong> \u0627\u0628\u0632\u0627\u0631 CloudLinux \u0628\u0631\u0627\u06cc \u0627\u0646\u062a\u062e\u0627\u0628 \u0646\u0633\u062e\u0647 PHP \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u06cc\u0627 \u062f\u0627\u0645\u0646\u0647\u200c\u0647\u0627.<\/li>\n\n\n\n<li><strong>EasyApache 4 (EA4):<\/strong> \u0633\u06cc\u0633\u062a\u0645 \u0645\u062f\u06cc\u0631\u06cc\u062a \u0648 \u0646\u0635\u0628 \u0646\u0633\u062e\u0647\u200c\u0647\u0627\u06cc PHP \u0648 \u0622\u067e\u0627\u0686\u06cc \u062f\u0631 cPanel\/WHM.<\/li>\n\n\n\n<li><strong>Alt-PHP:<\/strong> \u0646\u0633\u062e\u0647\u200c\u0647\u0627\u06cc PHP \u0627\u0631\u0627\u0626\u0647\u200c\u0634\u062f\u0647 \u062a\u0648\u0633\u0637 CloudLinux \u06a9\u0647 \u0628\u0627\u06cc\u062f \u062c\u062f\u0627 \u0627\u0632 EA4 \u0646\u0635\u0628 \u0634\u0648\u0646\u062f.<\/li>\n\n\n\n<li><strong>yum:<\/strong> \u0627\u0628\u0632\u0627\u0631 \u0645\u062f\u06cc\u0631\u06cc\u062a \u0628\u0633\u062a\u0647\u200c\u0647\u0627 \u062f\u0631 \u0633\u06cc\u0633\u062a\u0645\u200c\u0647\u0627\u06cc \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 RedHat\/CentOS\/CloudLinux \u0628\u0631\u0627\u06cc \u0646\u0635\u0628 \u0648 \u0628\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u0628\u0633\u062a\u0647\u200c\u0647\u0627.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\ud83d\udcdd <strong>\u0645\u0642\u062f\u0645\u0647<\/strong><\/h1>\n\n\n\n<p>\u06af\u0627\u0647\u06cc \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0646\u0633\u062e\u0647 PHP \u06a9\u0647 \u0627\u0632 \u0637\u0631\u06cc\u0642 <strong>EasyApache 4<\/strong> \u0646\u0635\u0628 \u0634\u062f\u0647 \u0627\u0633\u062a\u060c \u062f\u0631 <strong>PHP Selector<\/strong> \u0646\u0645\u0627\u06cc\u0634 \u062f\u0627\u062f\u0647 \u0646\u0634\u0648\u062f.<br>\u0639\u0644\u062a \u0627\u0635\u0644\u06cc \u0627\u06cc\u0646 \u0645\u0634\u06a9\u0644 \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 <strong>PHP Selector \u0627\u0632 Alt-PHP \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f<\/strong> \u0648 \u0646\u0633\u062e\u0647\u200c\u0647\u0627\u06cc \u0646\u0635\u0628\u200c\u0634\u062f\u0647 \u062a\u0648\u0633\u0637 EA4 \u0628\u0627 \u0646\u0633\u062e\u0647\u200c\u0647\u0627\u06cc Alt-PHP \u0645\u062a\u0641\u0627\u0648\u062a \u0647\u0633\u062a\u0646\u062f.<br>\u0628\u0631\u0627\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 PHP Selector \u0648 \u0627\u0646\u062a\u062e\u0627\u0628 \u0646\u0633\u062e\u0647 PHP \u062a\u0648\u0633\u0637 \u06a9\u0627\u0631\u0628\u0631\u060c \u0644\u0627\u0632\u0645 \u0627\u0633\u062a \u0646\u0633\u062e\u0647\u200c\u0647\u0627\u06cc Alt-PHP \u0631\u0627 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\u2757 <strong>\u0645\u0634\u06a9\u0644 (Issue)<\/strong><\/h1>\n\n\n\n<p>\u0647\u0646\u06af\u0627\u0645 \u0646\u0635\u0628 PHP 8.0 \u0627\u0632 \u0645\u0633\u06cc\u0631 <strong>WHM &gt; Software &gt; EasyApache 4<\/strong> \u0648 \u0645\u0631\u0627\u062c\u0639\u0647 \u0628\u0647 \u06af\u0632\u06cc\u0646\u0647\u200c\u0647\u0627\u06cc PHP Selector\u060c \u0646\u0633\u062e\u0647 PHP 8.0 \u0628\u0631\u0627\u06cc \u0627\u0646\u062a\u062e\u0627\u0628 \u0646\u0645\u0627\u06cc\u0634 \u062f\u0627\u062f\u0647 \u0646\u0645\u06cc\u200c\u0634\u0648\u062f.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\ud83c\udf10 <strong>\u0645\u062d\u06cc\u0637 (Environment)<\/strong><\/h1>\n\n\n\n<ul class=\"wp-block-list\">\n<li>CloudLinux<\/li>\n\n\n\n<li>cPanel<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\ud83d\udee0\ufe0f <strong>\u0631\u0627\u0647\u200c\u062d\u0644 (Solution)<\/strong><\/h1>\n\n\n\n<h3 class=\"wp-block-heading\">1\ufe0f\u20e3 \u0646\u0635\u0628 \u0646\u0633\u062e\u0647 PHP \u0645\u0648\u0631\u062f \u0646\u06cc\u0627\u0632 \u062a\u0648\u0633\u0637 Alt-PHP<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0628\u0631\u0627\u06cc \u0646\u0635\u0628 PHP 8.0:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>yum install alt-php80*\n<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u06cc\u0627 \u0646\u0635\u0628 \u0646\u0633\u062e\u0647\u200c\u0647\u0627\u06cc \u062f\u06cc\u06af\u0631 \u0645\u0627\u0646\u0646\u062f PHP 7.4 \u06cc\u0627 5.6:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>yum install alt-php74*\nyum install alt-php56*\n<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0646\u0635\u0628 \u0647\u0645\u0647 \u0646\u0633\u062e\u0647\u200c\u0647\u0627\u06cc Alt-PHP:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>yum install alt-php*\nyum groupinstall alt-php\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\u26a0\ufe0f <strong>\u0639\u0644\u062a (Cause)<\/strong><\/h1>\n\n\n\n<p>\u0646\u0633\u062e\u0647\u200c\u0647\u0627\u06cc PHP \u0646\u0635\u0628\u200c\u0634\u062f\u0647 \u062a\u0648\u0633\u0637 <strong>EasyApache 4<\/strong> \u0648 \u0646\u0633\u062e\u0647\u200c\u0647\u0627\u06cc \u0645\u0648\u062c\u0648\u062f \u062f\u0631 <strong>PHP Selector<\/strong> \u0645\u062a\u0641\u0627\u0648\u062a \u0647\u0633\u062a\u0646\u062f.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>EA-PHP \u0627\u0632 \u0637\u0631\u06cc\u0642 EasyApache 4 \u0646\u0635\u0628 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/li>\n\n\n\n<li>Alt-PHP \u0628\u0627\u06cc\u062f \u0628\u0647 \u0635\u0648\u0631\u062a \u062f\u0633\u062a\u06cc \u0646\u0635\u0628 \u0634\u0648\u062f \u062a\u0627 \u062f\u0631 PHP Selector \u0642\u0627\u0628\u0644 \u0627\u0646\u062a\u062e\u0627\u0628 \u0628\u0627\u0634\u062f.<\/li>\n<\/ul>\n\n\n\n<p>\u06a9\u06cc\u0627\u0646 \u067e\u0648\u0631<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ud83e\udde9 \u062a\u0639\u0627\u0631\u06cc\u0641 \u06a9\u0644\u06cc\u062f\u06cc \u0645\u0642\u0627\u0644\u0647 \ud83d\udcdd \u0645\u0642\u062f\u0645\u0647 \u06af\u0627\u0647\u06cc \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0646\u0633\u062e\u0647 PHP \u06a9\u0647 \u0627\u0632 \u0637\u0631\u06cc\u0642 EasyApache 4 \u0646\u0635\u0628 \u0634\u062f\u0647 \u0627\u0633\u062a\u060c \u062f\u0631 PHP Selector \u0646\u0645\u0627\u06cc\u0634 \u062f\u0627\u062f\u0647 \u0646\u0634\u0648\u062f.\u0639\u0644\u062a \u0627\u0635\u0644\u06cc \u0627\u06cc\u0646 \u0645\u0634\u06a9\u0644 \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 PHP Selector \u0627\u0632 Alt-PHP \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f \u0648 \u0646\u0633\u062e\u0647\u200c\u0647\u0627\u06cc \u0646\u0635\u0628\u200c\u0634\u062f\u0647 \u062a\u0648\u0633\u0637 EA4 \u0628\u0627 \u0646\u0633\u062e\u0647\u200c\u0647\u0627\u06cc Alt-PHP \u0645\u062a\u0641\u0627\u0648\u062a \u0647\u0633\u062a\u0646\u062f.\u0628\u0631\u0627\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 PHP Selector \u0648 \u0627\u0646\u062a\u062e\u0627\u0628 \u0646\u0633\u062e\u0647 PHP [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":16243,"menu_order":102,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-17087","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"acf":[],"author_avatar":"https:\/\/maralhost.com\/kb\/wp-content\/litespeed\/avatar\/c59fc140fa83b542ed78a005738a60da.jpg?ver=1778441380","author_name":"Shayan Kianpoor","_links":{"self":[{"href":"https:\/\/maralhost.com\/kb\/wp-json\/wp\/v2\/docs\/17087","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/maralhost.com\/kb\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/maralhost.com\/kb\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/maralhost.com\/kb\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/maralhost.com\/kb\/wp-json\/wp\/v2\/comments?post=17087"}],"version-history":[{"count":2,"href":"https:\/\/maralhost.com\/kb\/wp-json\/wp\/v2\/docs\/17087\/revisions"}],"predecessor-version":[{"id":17089,"href":"https:\/\/maralhost.com\/kb\/wp-json\/wp\/v2\/docs\/17087\/revisions\/17089"}],"up":[{"embeddable":true,"href":"https:\/\/maralhost.com\/kb\/wp-json\/wp\/v2\/docs\/16243"}],"wp:attachment":[{"href":"https:\/\/maralhost.com\/kb\/wp-json\/wp\/v2\/media?parent=17087"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/maralhost.com\/kb\/wp-json\/wp\/v2\/doc_tag?post=17087"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}