{"id":249,"date":"2023-10-06T08:39:39","date_gmt":"2023-10-06T08:39:39","guid":{"rendered":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/?p=249"},"modified":"2023-10-09T12:17:57","modified_gmt":"2023-10-09T12:17:57","slug":"How-to-Create-a-PHPinfo-File-and-View-PHP-Information","status":"publish","type":"post","link":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/249\/How-to-Create-a-PHPinfo-File-and-View-PHP-Information.html","title":{"rendered":"How to Create a PHPinfo File and View PHP Information?"},"content":{"rendered":"<div class=\"kb-article-content\">\n<h2><strong>Introduction<\/strong><\/h2>\n<p><span style=\"font-weight: 400;\">PHP stands for <\/span><strong>Hypertext Preprocessor<\/strong><span style=\"font-weight: 400;\">.&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">PHP is predominantly a general-purpose programming language. Irrespective of the industry, PHP is widely used to develop websites and web-based applications.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This knowledgebase (blog) will deal with <strong><em>creating a phpinfo file<\/em><\/strong> and also viewing the current PHP Information. The popularity behind using PHP for web development is its large reserve of environmental variables and in-depth and complex levels of sophistication. Software developers can use these variables and amend their values to their advantage.&nbsp;<\/span><\/p>\n<p><strong><em>What is the purpose of creating a PHPinfo File?<\/em> <\/strong><\/p>\n<p><span style=\"font-weight: 400;\">As a web developer, it is important to understand the environmental variables that PHP offers conceptually. The simplest way to understand them is by creating a phpinfo file in your <strong>public_html<\/strong> directory.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This file will display all your PHP environmental settings along with their values. Changing these values can always take the back seat.<\/span><\/p>\n<hr style=\"border-top: 2px dotted black;\">\n<p><strong>Also Read:<\/strong> <a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/135\/How-To-upload-website-Files-and-Database-Using-cPanel.html\"><strong>How To upload website Files and Database Using cPanel<\/strong><\/a><\/p>\n<hr style=\"border-top: 2px dotted black;\">\n<p><span style=\"font-size: 14pt;\"><strong>Stage 1<\/strong><\/span><\/p>\n<h2><strong>How to Create PHP Info File?<\/strong><\/h2>\n<p><span style=\"font-weight: 400;\">Let us dive deep into creating a PHPinfo.php file.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The cPanel is your gateway to creating a PHPinfo file.<\/p>\n<p><\/span><\/p>\n<p><strong>Stick to the following steps:&nbsp;<\/strong><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Log into your cPanel<\/span><span style=\"font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" style=\"max-width: 100%; height: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/287_Log-into-your-cPanel.png\" alt=\"Log into your cPanel\" width=\"405\" height=\"383\">\n<p><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Locate the File Manager under the Files section in your cPanel.<img loading=\"lazy\" decoding=\"async\" style=\"max-width: 100%; height: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/288_Files-section-in-your-cPanel.png\" alt=\"Files section in your cPanel\" width=\"790\" height=\"314\">\n<p><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Open the Public_HTML Directory. Click on the New File icon.<img loading=\"lazy\" decoding=\"async\" style=\"max-width: 100%; height: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/289_cPanel-Public_HTML-Directory.png\" alt=\"cPanel Public_HTML Directory\" width=\"907\" height=\"327\">\n<p><img loading=\"lazy\" decoding=\"async\" style=\"max-width: 100%; height: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/290_add-new-file-on-public_html.png\" alt=\"add new file on public_html\" width=\"399\" height=\"116\"><\/p>\n<p><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Press the \u2018Create\u2019 button <\/span><strong><em>to create the phpinfo.php file<\/em><\/strong><span style=\"font-weight: 400;\">.<img loading=\"lazy\" decoding=\"async\" style=\"max-width: 100%; height: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/291_create-the-phpinfo.php-file.png\" alt=\"create the phpinfo.php file\" width=\"499\" height=\"250\">\n<p><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Search for the newly created &#8220;phpinfo.php&#8221; file within the public_html directory.<img loading=\"lazy\" decoding=\"async\" style=\"max-width: 100%; height: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/292_created-phpinfo-file.png\" alt=\"created-phpinfo-file\" width=\"900\" height=\"200\">\n<p><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Press Right-click to \u2018Edit\u2019 this file.<img loading=\"lazy\" decoding=\"async\" style=\"max-width: 100%; height: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/293_edit-phpinfo.php.png\" alt=\"edit phpinfo.php\" width=\"867\" height=\"310\">\n<p><img loading=\"lazy\" decoding=\"async\" style=\"max-width: 100%; height: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/294_click-on-edit-button.png\" alt=\"click on edit button\" width=\"502\" height=\"341\"><\/p>\n<p><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">This will open the \u2018Text Editor\u2019 within the file, where you should paste the following code and press \u2018Save\u2019 to save the file.<img loading=\"lazy\" decoding=\"async\" style=\"max-width: 100%; height: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/295_Text-Editor.png\" alt=\"Text Editor\" width=\"902\" height=\"278\">\n<p><\/span><\/span><\/p>\n<p><strong>Code:<br \/>\n<\/strong><\/p>\n<table style=\"border-collapse: collapse; height: 38px;\" border=\"1\">\n<tbody>\n<tr>\n<td style=\"width: 100%; text-align: center;\"><span style=\"font-weight: 400;\">&lt;?phpphpinfo();?&gt;<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<\/ol>\n<hr style=\"border-top: 2px dotted black;\">\n<p><strong>Also Read: <\/strong><a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/224\/How-to-Add-a-New-Domain-To-Cpanel.html\"><strong>How to Add a New Domain To Cpanel?<\/strong><\/a><\/p>\n<hr style=\"border-top: 2px dotted black;\">\n<p><strong><em><span style=\"font-size: 12pt;\">Secret<\/span> Tip:<\/em><\/strong><\/p>\n<p><span style=\"font-weight: 400;\">Here is an easier way to create a phpinfo.php file.<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Open the text editor on your computer.&nbsp;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Copy the above code and paste it into the new open file.<img loading=\"lazy\" decoding=\"async\" style=\"display: block; margin-left: auto; margin-right: auto; float: left;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/296_paste-it-into-the-new-open-file.png\" alt=\"paste it into the new open file\" width=\"166\" height=\"22\">\n<p><\/span><\/li>\n<li style=\"text-align: left; font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click on \u2018Save As\u2019 from the File Menu, name it \u2018phpinfo.php,\u2019 and close the file.<img loading=\"lazy\" decoding=\"async\" style=\"max-width: 100%; height: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/297_Save-As-phpinfofile.png\" alt=\"Save As phpinfofile\" width=\"669\" height=\"121\">\n<p><\/span><\/li>\n<li style=\"text-align: left; font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Open FileZilla, your FTP client. Establish a secured connection with your server using the FTPS protocol.<br \/>\n<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Locate and open the public_html directory on your server.<img loading=\"lazy\" decoding=\"async\" style=\"max-width: 100%; height: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/298_open-the-public_html-directory.png\" alt=\"open the public_html directory\" width=\"461\" height=\"27\">\n<p><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Transfer the newly created phpinfo.php file to the public_html directory.&nbsp;<img loading=\"lazy\" decoding=\"async\" style=\"max-width: 100%; height: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/299_created-phpinfo.php-file-to-the-public_html-directory.png\" alt=\"created phpinfo.php file to the public_html directory\" width=\"466\" height=\"300\"><\/span><\/li>\n<\/ol>\n<hr style=\"border-top: 2px dotted black;\">\n<p><strong>Also Read: <\/strong><a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/82\/How-to-Connect-to-FTP-Using-FileZilla-on-Windows.html\"><strong>How to Connect to FTP Using FileZilla on Windows<\/strong><\/a><\/p>\n<hr style=\"border-top: 2px dotted black;\">\n<p><span style=\"font-size: 12pt;\"><strong>Stage 2<\/strong><\/span><\/p>\n<p><span style=\"font-size: 12pt;\"><strong>How to View PHP Info File\/Settings?<\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400;\">Now that you have created the phpinfo.php file in your public_html directory let&#8217;s view it.&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">All you need to do is open your browser, type <a href=\"https:\/\/mycompany.com\/phpinfo.php\">https:\/\/mycompany.com\/phpinfo.php<\/a> in the address bar, and press Enter. Please replace mycompany.com with a real domain name. You will see a screen similar to the following screenshot. &nbsp; <\/span><\/p>\n<p><span style=\"font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" style=\"max-width: 100%; height: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/300_phpinfo.php-file-environmental.png\" alt=\"phpinfo.php file environmental\" width=\"936\" height=\"528\"><\/span><\/p>\n<p><span style=\"font-weight: 400;\">As stated above, the phpinfo.php file comprises many environmental settings alongwith their values. The screen will display these environmental settings with their respective values in the 2 adjacent columns.&nbsp;<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">The 1st column displays the <em>Local Value<\/em> set for the current directory. <\/span><\/li>\n<li><span style=\"font-weight: 400;\">The 2nd column displays the <em>Master Value<\/em> for that environmental setting.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">It is important to know that Local Value is the real key value. As long as the Local and Master Values are the same, you need not worry. But any change to the Local Value will automatically override the Master Value. Hence do not be misled by the word <\/span><strong>Master<\/strong><span style=\"font-weight: 400;\"> Value.<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><strong>Note:<\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400;\">You can use the key combination of <\/span><strong><em>Ctrl+F<\/em><\/strong><span style=\"font-weight: 400;\"> from your browser to search for the environmental setting of your choice.<\/span><\/p>\n<p><strong><em>Hide and Seek Tip:<\/em><\/strong><\/p>\n<p><strong><span style=\"font-weight: 400;\">The file name <\/span>phpinfo.php<span style=\"font-weight: 400;\"> is highly common in the industry. <\/span><\/strong><\/p>\n<p><strong><span style=\"font-weight: 400;\">Remember that your file has a host of settings (and values), and you wouldn\u2019t wish them to go public. It is very much possible that one of the tracking bots might pick up your file name and use it for a purpose. You have 2 options to escape from this awkward situation.<\/span><\/strong><\/p>\n<p><strong><span style=\"font-weight: 400;\">You may either delete this file (not recommended) once the purpose is served OR rename the file to something else, rendering it useless for the bots. You may rename it to <em>phpinfo_unavailable.php<\/em> or <em>phpinfo_old.php,<\/em> or <em>phpinfo_obsolete.php<\/em>.<\/span><\/strong><\/p>\n<p><strong><span style=\"font-weight: 400;\"><em>You may need to hide (preserve) the new file name elsewhere in case you wish to seek it in the future. <\/em><\/span><\/strong><\/p>\n<hr style=\"border-top: 2px dotted black;\">\n<p><strong>Also Read: <\/strong><a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/245\/NGINX-Explained-Know-its-Working-and-What-is-it-Used-For.html\"><strong>NGINX Explained! Know its Working &amp; What is it Used For?<\/strong><\/a><\/p>\n<hr style=\"border-top: 2px dotted black;\">\n<h2><strong>To Wrap Things Up,<\/strong><\/h2>\n<p><span style=\"font-weight: 400;\">We hope this knowledgebase must have helped you create a phpinfo file using your server\u2019s cPanel OR a text editor from your local computer. You would also have a fair idea about how to view the phpinfo file and the significance of the environmental settings. You would appreciate the special tips exclusively shared for our viewers.&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">We would love to hear from you. Host IT Smart welcomes queries for domains, web hosting, SSL certificates, and allied products. You may drop a line at <\/span><a href=\"mailto:info@hostitsmart.com\"><span style=\"font-weight: 400;\">info@hostitsmart.com<\/span><\/a><span style=\"font-weight: 400;\"> or chat with us, and one of our experts will be happy to help you.<\/span><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Introduction PHP stands for Hypertext Preprocessor.&nbsp; PHP is predominantly a general-purpose programming language. Irrespective of the industry, PHP is widely used to develop websites and web-based applications. This knowledgebase (blog) will deal with creating a phpinfo file and also viewing the current PHP Information. The popularity behind using PHP for web development is its large [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-249","post","type-post","status-publish","format-standard","hentry","category-cpanel"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Create a PHPinfo File and View PHP Information?<\/title>\n<meta name=\"description\" content=\"This blog shares the secret of creating a phpinfo file, viewing its information, &amp; comprehending the significance of settings &amp; variables.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/249\/How-to-Create-a-PHPinfo-File-and-View-PHP-Information.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create a PHPinfo File and View PHP Information?\" \/>\n<meta property=\"og:description\" content=\"This blog shares the secret of creating a phpinfo file, viewing its information, &amp; comprehending the significance of settings &amp; variables.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/249\/How-to-Create-a-PHPinfo-File-and-View-PHP-Information.html\" \/>\n<meta property=\"og:site_name\" content=\"Host IT Smart Knowledge base\" \/>\n<meta property=\"article:published_time\" content=\"2023-10-06T08:39:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-09T12:17:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/287_Log-into-your-cPanel.png\" \/>\n<meta name=\"author\" content=\"Admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\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=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/249\/How-to-Create-a-PHPinfo-File-and-View-PHP-Information.html#article\",\"isPartOf\":{\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/249\/How-to-Create-a-PHPinfo-File-and-View-PHP-Information.html\"},\"author\":{\"name\":\"Admin\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/8b538056beea86b043adbd20df3a6ee9\"},\"headline\":\"How to Create a PHPinfo File and View PHP Information?\",\"datePublished\":\"2023-10-06T08:39:39+00:00\",\"dateModified\":\"2023-10-09T12:17:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/249\/How-to-Create-a-PHPinfo-File-and-View-PHP-Information.html\"},\"wordCount\":834,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#organization\"},\"articleSection\":[\"cPanel\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/249\/How-to-Create-a-PHPinfo-File-and-View-PHP-Information.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/249\/How-to-Create-a-PHPinfo-File-and-View-PHP-Information.html\",\"url\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/249\/How-to-Create-a-PHPinfo-File-and-View-PHP-Information.html\",\"name\":\"How to Create a PHPinfo File and View PHP Information?\",\"isPartOf\":{\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#website\"},\"datePublished\":\"2023-10-06T08:39:39+00:00\",\"dateModified\":\"2023-10-09T12:17:57+00:00\",\"description\":\"This blog shares the secret of creating a phpinfo file, viewing its information, & comprehending the significance of settings & variables.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/249\/How-to-Create-a-PHPinfo-File-and-View-PHP-Information.html\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#website\",\"url\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/\",\"name\":\"Host IT Smart Knowledge base\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#organization\",\"name\":\"Host IT Smart Knowledge base\",\"url\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/logo\/image\/\",\"url\":\"\",\"contentUrl\":\"\",\"width\":240,\"height\":80,\"caption\":\"Host IT Smart Knowledge base\"},\"image\":{\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/8b538056beea86b043adbd20df3a6ee9\",\"name\":\"Admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/17348df3a33347d3945161d87b752de1d7a7ec25dcbe15baacbd3b8a35367f66?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/17348df3a33347d3945161d87b752de1d7a7ec25dcbe15baacbd3b8a35367f66?s=96&d=mm&r=g\",\"caption\":\"Admin\"},\"sameAs\":[\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/\"],\"url\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Create a PHPinfo File and View PHP Information?","description":"This blog shares the secret of creating a phpinfo file, viewing its information, & comprehending the significance of settings & variables.","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:\/\/new.hostitsmart.com\/manage\/knowledgebase\/249\/How-to-Create-a-PHPinfo-File-and-View-PHP-Information.html","og_locale":"en_US","og_type":"article","og_title":"How to Create a PHPinfo File and View PHP Information?","og_description":"This blog shares the secret of creating a phpinfo file, viewing its information, & comprehending the significance of settings & variables.","og_url":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/249\/How-to-Create-a-PHPinfo-File-and-View-PHP-Information.html","og_site_name":"Host IT Smart Knowledge base","article_published_time":"2023-10-06T08:39:39+00:00","article_modified_time":"2023-10-09T12:17:57+00:00","og_image":[{"url":"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/287_Log-into-your-cPanel.png"}],"author":"Admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Admin","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/249\/How-to-Create-a-PHPinfo-File-and-View-PHP-Information.html#article","isPartOf":{"@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/249\/How-to-Create-a-PHPinfo-File-and-View-PHP-Information.html"},"author":{"name":"Admin","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/8b538056beea86b043adbd20df3a6ee9"},"headline":"How to Create a PHPinfo File and View PHP Information?","datePublished":"2023-10-06T08:39:39+00:00","dateModified":"2023-10-09T12:17:57+00:00","mainEntityOfPage":{"@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/249\/How-to-Create-a-PHPinfo-File-and-View-PHP-Information.html"},"wordCount":834,"commentCount":0,"publisher":{"@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#organization"},"articleSection":["cPanel"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/249\/How-to-Create-a-PHPinfo-File-and-View-PHP-Information.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/249\/How-to-Create-a-PHPinfo-File-and-View-PHP-Information.html","url":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/249\/How-to-Create-a-PHPinfo-File-and-View-PHP-Information.html","name":"How to Create a PHPinfo File and View PHP Information?","isPartOf":{"@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#website"},"datePublished":"2023-10-06T08:39:39+00:00","dateModified":"2023-10-09T12:17:57+00:00","description":"This blog shares the secret of creating a phpinfo file, viewing its information, & comprehending the significance of settings & variables.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/249\/How-to-Create-a-PHPinfo-File-and-View-PHP-Information.html"]}]},{"@type":"WebSite","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#website","url":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/","name":"Host IT Smart Knowledge base","description":"","publisher":{"@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#organization","name":"Host IT Smart Knowledge base","url":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/logo\/image\/","url":"","contentUrl":"","width":240,"height":80,"caption":"Host IT Smart Knowledge base"},"image":{"@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/8b538056beea86b043adbd20df3a6ee9","name":"Admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/17348df3a33347d3945161d87b752de1d7a7ec25dcbe15baacbd3b8a35367f66?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/17348df3a33347d3945161d87b752de1d7a7ec25dcbe15baacbd3b8a35367f66?s=96&d=mm&r=g","caption":"Admin"},"sameAs":["https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/"],"url":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts\/249","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/comments?post=249"}],"version-history":[{"count":1,"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts\/249\/revisions"}],"predecessor-version":[{"id":579,"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts\/249\/revisions\/579"}],"wp:attachment":[{"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/media?parent=249"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/categories?post=249"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/tags?post=249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}