{"id":5577,"date":"2018-08-24T12:40:52","date_gmt":"2018-08-24T16:40:52","guid":{"rendered":"https:\/\/www.pair.com\/support\/kb\/?post_type=ht_kb&#038;p=5577"},"modified":"2019-02-04T12:18:33","modified_gmt":"2019-02-04T17:18:33","slug":"how-to-add-a-phpinfo-page-to-a-site","status":"publish","type":"ht_kb","link":"https:\/\/www.pair.com\/support\/kb\/how-to-add-a-phpinfo-page-to-a-site\/","title":{"rendered":"How to Add a phpinfo() Page to a Site"},"content":{"rendered":"<p class=\"p1\"><span class=\"s1\"><a style=\"color:#fff; text-decoration:none!important;\" href=\"https:\/\/www.pair.com\/support\/kb\/tags\/shared-hosting\/\"><p style=\"background-color:#1a3d6e !important;color:#fff;padding:6px; display:inline-block!important;font-size:12px;font-weight:bold; border-radius:3px;\">Shared<\/p><\/a> <a style=\"color:#fff; text-decoration:none!important;\" href=\"https:\/\/www.pair.com\/support\/kb\/tags\/vps\/\"><p style=\"background-color:#1a3d6e !important;color:#fff;padding:6px; display:inline-block!important;font-size:12px;font-weight:bold; border-radius:3px;\">VPS<\/p><\/a> <a style=\"color:#fff; text-decoration:none!important;\" href=\"https:\/\/www.pair.com\/support\/kb\/tags\/qs-dedicated\/\"><p style=\"background-color:#1a3d6e !important;color:#fff;padding:6px; display:inline-block!important;font-size:12px; font-weight:bold; border-radius:3px;\">Dedicated<\/p><\/a><\/span><\/p>\n<p><span style=\"font-weight: 400;\">You can create a phpinfo() web page that will simplify accessing your server\u2019s current PHP information. When visited, the phpinfo() webpage will output information about the current state of PHP on the server.<\/span><\/p>\n<h3>Adding a phpinfo() page to your website<\/h3>\n<p><span style=\"font-weight: 400;\">To add a phpinfo() page to your site, follow the instructions below:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Log in to the <\/span><a href=\"http:\/\/my.pair.com\"><span style=\"font-weight: 400;\">Account Control Center (ACC)<\/span><\/a><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Navigate to your website files<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span>    \t\t<div class=\"hts-messages hts-messages--info   hts-messages--withicon \"   >\r\n    \t\t\t    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\t<span style=\"font-weight: 400;\">For more information about navigating through the file system, see our article, <\/span><a href=\"https:\/\/www.pair.com\/support\/kb\/our-file-directory-structure\/\"><span style=\"font-weight: 400;\">Our File Directory Structure<\/span><\/a><span style=\"font-weight: 400;\">.<\/span>    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t<\/li>\n<li style=\"font-weight: 400;\"><a href=\"https:\/\/www.pair.com\/support\/kb\/how-to-create-a-file-in-the-acc\/\"><span style=\"font-weight: 400;\">Create a new file<\/span><\/a><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Name the file <\/span><i><span style=\"font-weight: 400;\">phpinfo.php<a href=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/08\/name-1.png\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-5579\" src=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/08\/name-1.png\" alt=\"name image\" width=\"771\" height=\"292\" srcset=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/08\/name-1.png 771w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/08\/name-1-300x114.png 300w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/08\/name-1-768x291.png 768w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/08\/name-1-50x19.png 50w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/08\/name-1-60x23.png 60w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/08\/name-1-100x38.png 100w\" sizes=\"(max-width: 771px) 100vw, 771px\" \/><\/a><\/span><\/i><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Enter the following code in the text field:<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><\/p>\n<pre><span style=\"font-weight: 400;\">&lt;?php <\/span>\r\n<span style=\"font-weight: 400;\">phpinfo();<\/span>\r\n<span style=\"font-weight: 400;\">?&gt;<\/span><\/pre>\n<p><span style=\"font-weight: 400;\"><a href=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/08\/text-field.png\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-5580\" src=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/08\/text-field.png\" alt=\"text field image\" width=\"771\" height=\"290\" srcset=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/08\/text-field.png 771w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/08\/text-field-300x113.png 300w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/08\/text-field-768x289.png 768w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/08\/text-field-50x19.png 50w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/08\/text-field-60x23.png 60w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/08\/text-field-100x38.png 100w\" sizes=\"(max-width: 771px) 100vw, 771px\" \/><\/a>    \t\t<div class=\"hts-messages hts-messages--info   hts-messages--withicon \"   >\r\n    \t\t\t    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\t<span style=\"font-weight: 400;\">In the code above, <\/span><span style=\"font-weight: 400;\">phpinfo();<\/span><span style=\"font-weight: 400;\"> defaults to the INFO-ALL option, which shows all PHP info. If you would prefer to be more selective about what is shown, you can add in specific phpinfo() options. You can find a list of phpinfo() options on <\/span><a href=\"http:\/\/php.net\/manual\/en\/function.phpinfo.php\"><span style=\"font-weight: 400;\">php.net in the parameters section<\/span><\/a><span style=\"font-weight: 400;\">. <\/span>    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Click <\/span><b>Create File<\/b><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Now go visit your phpinfo.php file. You can do this by entering <\/span><i><span style=\"font-weight: 400;\">yourwebsite.com\/path\/to\/phpinfo.php<\/span><\/i><span style=\"font-weight: 400;\"> in the browser<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">If set up correctly, the current PHP information output for the server should be displayed on the page.<a href=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/08\/output.png\" data-rel=\"lightbox-image-2\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-5581\" src=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/08\/output.png\" alt=\"output image\" width=\"1049\" height=\"366\" srcset=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/08\/output.png 1049w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/08\/output-300x105.png 300w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/08\/output-768x268.png 768w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/08\/output-1024x357.png 1024w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/08\/output-50x17.png 50w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/08\/output-60x21.png 60w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/08\/output-100x35.png 100w\" sizes=\"(max-width: 1049px) 100vw, 1049px\" \/><\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can create a phpinfo() web page that will simplify accessing your server\u2019s current PHP information. When visited, the phpinfo() webpage will output information about the current state of PHP on the server. Adding a phpinfo() page to your website To add a phpinfo() page to your site, follow the&#8230;<\/p>\n","protected":false},"author":11,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[175],"ht-kb-tag":[178,176,177,180,199],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Add a phpinfo() Page to a Site - Knowledge Base - Pair Networks<\/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:\/\/www.pair.com\/support\/kb\/how-to-add-a-phpinfo-page-to-a-site\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Add a phpinfo() Page to a Site - Knowledge Base - Pair Networks\" \/>\n<meta property=\"og:description\" content=\"You can create a phpinfo() web page that will simplify accessing your server\u2019s current PHP information. When visited, the phpinfo() webpage will output information about the current state of PHP on the server. Adding a phpinfo() page to your website To add a phpinfo() page to your site, follow the...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pair.com\/support\/kb\/how-to-add-a-phpinfo-page-to-a-site\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base - Pair Networks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/pairnetworks\/\" \/>\n<meta property=\"article:modified_time\" content=\"2019-02-04T17:18:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/08\/name-1.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@pairNetworks\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/how-to-add-a-phpinfo-page-to-a-site\/\",\"url\":\"https:\/\/www.pair.com\/support\/kb\/how-to-add-a-phpinfo-page-to-a-site\/\",\"name\":\"How to Add a phpinfo() Page to a Site - Knowledge Base - Pair Networks\",\"isPartOf\":{\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#website\"},\"datePublished\":\"2018-08-24T16:40:52+00:00\",\"dateModified\":\"2019-02-04T17:18:33+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.pair.com\/support\/kb\/how-to-add-a-phpinfo-page-to-a-site\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.pair.com\/support\/kb\/how-to-add-a-phpinfo-page-to-a-site\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/how-to-add-a-phpinfo-page-to-a-site\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.pair.com\/support\/kb\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Add a phpinfo() Page to a Site\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#website\",\"url\":\"https:\/\/www.pair.com\/support\/kb\/\",\"name\":\"Knowledge Base - Pair Networks\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.pair.com\/support\/kb\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#organization\",\"name\":\"Pair Networks\",\"url\":\"https:\/\/www.pair.com\/support\/kb\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2022\/02\/Gb_TUkUE_400x400.jpeg\",\"contentUrl\":\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2022\/02\/Gb_TUkUE_400x400.jpeg\",\"width\":360,\"height\":360,\"caption\":\"Pair Networks\"},\"image\":{\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/pairnetworks\/\",\"https:\/\/twitter.com\/pairNetworks\",\"https:\/\/www.instagram.com\/pairnetworks\/\",\"https:\/\/www.linkedin.com\/company\/2269676\/\",\"https:\/\/www.pinterest.com\/pairnetworksinc\/pins\/\",\"https:\/\/www.youtube.com\/user\/pairnetworks\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Add a phpinfo() Page to a Site - Knowledge Base - Pair Networks","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.pair.com\/support\/kb\/how-to-add-a-phpinfo-page-to-a-site\/","og_locale":"en_US","og_type":"article","og_title":"How to Add a phpinfo() Page to a Site - Knowledge Base - Pair Networks","og_description":"You can create a phpinfo() web page that will simplify accessing your server\u2019s current PHP information. When visited, the phpinfo() webpage will output information about the current state of PHP on the server. Adding a phpinfo() page to your website To add a phpinfo() page to your site, follow the...","og_url":"https:\/\/www.pair.com\/support\/kb\/how-to-add-a-phpinfo-page-to-a-site\/","og_site_name":"Knowledge Base - Pair Networks","article_publisher":"https:\/\/www.facebook.com\/pairnetworks\/","article_modified_time":"2019-02-04T17:18:33+00:00","og_image":[{"url":"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/08\/name-1.png"}],"twitter_card":"summary_large_image","twitter_site":"@pairNetworks","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.pair.com\/support\/kb\/how-to-add-a-phpinfo-page-to-a-site\/","url":"https:\/\/www.pair.com\/support\/kb\/how-to-add-a-phpinfo-page-to-a-site\/","name":"How to Add a phpinfo() Page to a Site - Knowledge Base - Pair Networks","isPartOf":{"@id":"https:\/\/www.pair.com\/support\/kb\/#website"},"datePublished":"2018-08-24T16:40:52+00:00","dateModified":"2019-02-04T17:18:33+00:00","breadcrumb":{"@id":"https:\/\/www.pair.com\/support\/kb\/how-to-add-a-phpinfo-page-to-a-site\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pair.com\/support\/kb\/how-to-add-a-phpinfo-page-to-a-site\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.pair.com\/support\/kb\/how-to-add-a-phpinfo-page-to-a-site\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pair.com\/support\/kb\/"},{"@type":"ListItem","position":2,"name":"How to Add a phpinfo() Page to a Site"}]},{"@type":"WebSite","@id":"https:\/\/www.pair.com\/support\/kb\/#website","url":"https:\/\/www.pair.com\/support\/kb\/","name":"Knowledge Base - Pair Networks","description":"","publisher":{"@id":"https:\/\/www.pair.com\/support\/kb\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pair.com\/support\/kb\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.pair.com\/support\/kb\/#organization","name":"Pair Networks","url":"https:\/\/www.pair.com\/support\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pair.com\/support\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2022\/02\/Gb_TUkUE_400x400.jpeg","contentUrl":"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2022\/02\/Gb_TUkUE_400x400.jpeg","width":360,"height":360,"caption":"Pair Networks"},"image":{"@id":"https:\/\/www.pair.com\/support\/kb\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/pairnetworks\/","https:\/\/twitter.com\/pairNetworks","https:\/\/www.instagram.com\/pairnetworks\/","https:\/\/www.linkedin.com\/company\/2269676\/","https:\/\/www.pinterest.com\/pairnetworksinc\/pins\/","https:\/\/www.youtube.com\/user\/pairnetworks"]}]}},"_links":{"self":[{"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb\/5577"}],"collection":[{"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/comments?post=5577"}],"version-history":[{"count":4,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb\/5577\/revisions"}],"predecessor-version":[{"id":6247,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb\/5577\/revisions\/6247"}],"wp:attachment":[{"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/media?parent=5577"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=5577"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=5577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}