{"id":1477,"date":"2022-06-14T11:14:03","date_gmt":"2022-06-14T11:14:03","guid":{"rendered":"https:\/\/pheonixsolutions.com\/knowledge-base\/?p=1477"},"modified":"2022-06-14T11:14:07","modified_gmt":"2022-06-14T11:14:07","slug":"how-to-enable-expose_php-extension-using-whm","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/14\/how-to-enable-expose_php-extension-using-whm\/","title":{"rendered":"How to enable expose_php extension using WHM"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Introduction<\/h3>\n\n\n\n<p>Below is the full instruction on how to enable expose_php by using WHM<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Procedure<\/h3>\n\n\n\n<p>1. Log into WHM as root&nbsp;<\/p>\n\n\n\n<p>2. Under Software, select &#8220;MUltiPHP INI Editor&#8221;<\/p>\n\n\n\n<p>3. Select &#8220;Editor Mode&#8221; tab<\/p>\n\n\n\n<p>4. Select the PHP version<\/p>\n\n\n\n<p>5. Search for &#8220;expose_PHP&#8221;<\/p>\n\n\n\n<p>6. Change from Off to &#8220;On&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"628\" src=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/image-12-1024x628.png\" alt=\"\" class=\"wp-image-1478\" srcset=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/image-12-1024x628.png 1024w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/image-12-300x184.png 300w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/image-12-768x471.png 768w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/image-12-150x92.png 150w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/image-12.png 1088w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>How to confirm if expose_php is enabled?<\/strong><\/p>\n\n\n\n<p>You can run the following command in SSH:<\/p>\n\n\n\n<p>curl -IL domaim.com<\/p>\n\n\n\n<p>If you do see the following line, starting with X-Powered-by, expose_php is working properly:<\/p>\n\n\n\n<p>#curl -IL domain.com\/info.php<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">HTTP\/1.1 200 OK<br>Date: Sun, 23 May 2021 12:49:22 GMT<br>Server: Apache<br>X-Powered-By: PHP\/7.3.27<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Below is the full instruction on how to enable expose_php by using WHM Procedure 1. Log into WHM as root&nbsp; 2. Under Software, select &#8220;MUltiPHP INI Editor&#8221; 3. Select &#8220;Editor Mode&#8221; tab 4. Select the PHP version 5. Search for &#8220;expose_PHP&#8221; 6. Change from Off to &#8220;On&#8221; How to confirm if expose_php is enabled? ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/14\/how-to-enable-expose_php-extension-using-whm\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1477","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to enable expose_php extension using WHM - PheonixSolutions Knowledge-Base<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/14\/how-to-enable-expose_php-extension-using-whm\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to enable expose_php extension using WHM - PheonixSolutions Knowledge-Base\" \/>\n<meta property=\"og:description\" content=\"Introduction Below is the full instruction on how to enable expose_php by using WHM Procedure 1. Log into WHM as root&nbsp; 2. Under Software, select &#8220;MUltiPHP INI Editor&#8221; 3. Select &#8220;Editor Mode&#8221; tab 4. Select the PHP version 5. Search for &#8220;expose_PHP&#8221; 6. Change from Off to &#8220;On&#8221; How to confirm if expose_php is enabled? ..Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/14\/how-to-enable-expose_php-extension-using-whm\/\" \/>\n<meta property=\"og:site_name\" content=\"PheonixSolutions Knowledge-Base\" \/>\n<meta property=\"article:published_time\" content=\"2022-06-14T11:14:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-14T11:14:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/image-12-1024x628.png\" \/>\n<meta name=\"author\" content=\"vijender\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"vijender\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/06\\\/14\\\/how-to-enable-expose_php-extension-using-whm\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/06\\\/14\\\/how-to-enable-expose_php-extension-using-whm\\\/\"},\"author\":{\"name\":\"vijender\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#\\\/schema\\\/person\\\/7e483f3adf4e0c18f959adcaf9ea3f3d\"},\"headline\":\"How to enable expose_php extension using WHM\",\"datePublished\":\"2022-06-14T11:14:03+00:00\",\"dateModified\":\"2022-06-14T11:14:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/06\\\/14\\\/how-to-enable-expose_php-extension-using-whm\\\/\"},\"wordCount\":94,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/06\\\/14\\\/how-to-enable-expose_php-extension-using-whm\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/image-12-1024x628.png\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/06\\\/14\\\/how-to-enable-expose_php-extension-using-whm\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/06\\\/14\\\/how-to-enable-expose_php-extension-using-whm\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/06\\\/14\\\/how-to-enable-expose_php-extension-using-whm\\\/\",\"name\":\"How to enable expose_php extension using WHM - PheonixSolutions Knowledge-Base\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/06\\\/14\\\/how-to-enable-expose_php-extension-using-whm\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/06\\\/14\\\/how-to-enable-expose_php-extension-using-whm\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/image-12-1024x628.png\",\"datePublished\":\"2022-06-14T11:14:03+00:00\",\"dateModified\":\"2022-06-14T11:14:07+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#\\\/schema\\\/person\\\/7e483f3adf4e0c18f959adcaf9ea3f3d\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/06\\\/14\\\/how-to-enable-expose_php-extension-using-whm\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/06\\\/14\\\/how-to-enable-expose_php-extension-using-whm\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/06\\\/14\\\/how-to-enable-expose_php-extension-using-whm\\\/#primaryimage\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/image-12.png\",\"contentUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/image-12.png\",\"width\":1088,\"height\":667},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/06\\\/14\\\/how-to-enable-expose_php-extension-using-whm\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to enable expose_php extension using WHM\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#website\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/\",\"name\":\"PheonixSolutions Knowledge-Base\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#\\\/schema\\\/person\\\/7e483f3adf4e0c18f959adcaf9ea3f3d\",\"name\":\"vijender\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/29c5aebbdf439bbeaeea52d1cf1a0166768889fd6238deb28b6851eebb2cfb32?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/29c5aebbdf439bbeaeea52d1cf1a0166768889fd6238deb28b6851eebb2cfb32?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/29c5aebbdf439bbeaeea52d1cf1a0166768889fd6238deb28b6851eebb2cfb32?s=96&d=mm&r=g\",\"caption\":\"vijender\"},\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/author\\\/vijender\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to enable expose_php extension using WHM - PheonixSolutions Knowledge-Base","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:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/14\/how-to-enable-expose_php-extension-using-whm\/","og_locale":"en_US","og_type":"article","og_title":"How to enable expose_php extension using WHM - PheonixSolutions Knowledge-Base","og_description":"Introduction Below is the full instruction on how to enable expose_php by using WHM Procedure 1. Log into WHM as root&nbsp; 2. Under Software, select &#8220;MUltiPHP INI Editor&#8221; 3. Select &#8220;Editor Mode&#8221; tab 4. Select the PHP version 5. Search for &#8220;expose_PHP&#8221; 6. Change from Off to &#8220;On&#8221; How to confirm if expose_php is enabled? ..Read more","og_url":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/14\/how-to-enable-expose_php-extension-using-whm\/","og_site_name":"PheonixSolutions Knowledge-Base","article_published_time":"2022-06-14T11:14:03+00:00","article_modified_time":"2022-06-14T11:14:07+00:00","og_image":[{"url":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/image-12-1024x628.png","type":"","width":"","height":""}],"author":"vijender","twitter_card":"summary_large_image","twitter_misc":{"Written by":"vijender","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/14\/how-to-enable-expose_php-extension-using-whm\/#article","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/14\/how-to-enable-expose_php-extension-using-whm\/"},"author":{"name":"vijender","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#\/schema\/person\/7e483f3adf4e0c18f959adcaf9ea3f3d"},"headline":"How to enable expose_php extension using WHM","datePublished":"2022-06-14T11:14:03+00:00","dateModified":"2022-06-14T11:14:07+00:00","mainEntityOfPage":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/14\/how-to-enable-expose_php-extension-using-whm\/"},"wordCount":94,"commentCount":0,"image":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/14\/how-to-enable-expose_php-extension-using-whm\/#primaryimage"},"thumbnailUrl":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/image-12-1024x628.png","inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/14\/how-to-enable-expose_php-extension-using-whm\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/14\/how-to-enable-expose_php-extension-using-whm\/","url":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/14\/how-to-enable-expose_php-extension-using-whm\/","name":"How to enable expose_php extension using WHM - PheonixSolutions Knowledge-Base","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#website"},"primaryImageOfPage":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/14\/how-to-enable-expose_php-extension-using-whm\/#primaryimage"},"image":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/14\/how-to-enable-expose_php-extension-using-whm\/#primaryimage"},"thumbnailUrl":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/image-12-1024x628.png","datePublished":"2022-06-14T11:14:03+00:00","dateModified":"2022-06-14T11:14:07+00:00","author":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#\/schema\/person\/7e483f3adf4e0c18f959adcaf9ea3f3d"},"breadcrumb":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/14\/how-to-enable-expose_php-extension-using-whm\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/14\/how-to-enable-expose_php-extension-using-whm\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/14\/how-to-enable-expose_php-extension-using-whm\/#primaryimage","url":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/image-12.png","contentUrl":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/image-12.png","width":1088,"height":667},{"@type":"BreadcrumbList","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/14\/how-to-enable-expose_php-extension-using-whm\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pheonixsolutions.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"How to enable expose_php extension using WHM"}]},{"@type":"WebSite","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#website","url":"https:\/\/pheonixsolutions.com\/knowledge-base\/","name":"PheonixSolutions Knowledge-Base","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pheonixsolutions.com\/knowledge-base\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#\/schema\/person\/7e483f3adf4e0c18f959adcaf9ea3f3d","name":"vijender","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/29c5aebbdf439bbeaeea52d1cf1a0166768889fd6238deb28b6851eebb2cfb32?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/29c5aebbdf439bbeaeea52d1cf1a0166768889fd6238deb28b6851eebb2cfb32?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/29c5aebbdf439bbeaeea52d1cf1a0166768889fd6238deb28b6851eebb2cfb32?s=96&d=mm&r=g","caption":"vijender"},"url":"https:\/\/pheonixsolutions.com\/knowledge-base\/author\/vijender\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/1477","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/comments?post=1477"}],"version-history":[{"count":1,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/1477\/revisions"}],"predecessor-version":[{"id":1479,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/1477\/revisions\/1479"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=1477"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/categories?post=1477"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/tags?post=1477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}