{"id":21165,"date":"2022-02-08T08:57:14","date_gmt":"2022-02-08T08:57:14","guid":{"rendered":"https:\/\/hostandtech.com\/help\/?p=21165"},"modified":"2022-02-28T17:08:58","modified_gmt":"2022-02-28T17:08:58","slug":"how-to-create-phpinfo-file-and-check-php-information","status":"publish","type":"post","link":"https:\/\/hostandtech.com\/help\/php\/how-to-create-phpinfo-file-and-check-php-information\/","title":{"rendered":"How to Create phpinfo File and Check PHP Information"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"21165\" class=\"elementor elementor-21165\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e1c90ce elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e1c90ce\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c40a645\" data-id=\"c40a645\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-85d81bc elementor-widget elementor-widget-text-editor\" data-id=\"85d81bc\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>In this article, we\u2019ll show you how to create a phpinfo file. Also how to check its detailed information. For example, you might want to check whether your PHP configurations meet the requirements of any software you want to run on your server.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-10666a5 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"10666a5\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b2a4e44\" data-id=\"b2a4e44\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f06e218 elementor-widget elementor-widget-text-editor\" data-id=\"f06e218\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h2>What is phpinfo?<\/h2><p>phpinfo() is a function or a code snippet to determine the website\u2019s PHP configuration. Here is some information that the PHP function displays after running phpinfo():<\/p><ul><li>A version of PHP the website is currently using.<\/li><li>Server information and environment.<\/li><li>Operating System version information.<\/li><li>The PHP environment.<\/li><li>HTTP headers.<\/li><li>Modules and extensions.<\/li><li>Master and local values.<\/li><li>Paths along with php.ini location.<\/li><li>The PHP License.<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-29fd64c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"29fd64c\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-fe5d236\" data-id=\"fe5d236\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-038d2b5 elementor-widget elementor-widget-text-editor\" data-id=\"038d2b5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h2>How To Create And Use a phpinfo File?<\/h2><p>You often need to check PHP settings during web development. You can do this by running a script that calls the phpinfo() function. When you load the page in a web browser, the script shows all of the PHP configuration settings for your web site.<\/p><p>To use the\u00a0<strong>phpinfo()<\/strong>\u00a0function to view PHP settings:<\/p><ul><li>Login to cPanel.<\/li><li>Navigate to <strong>File Manager<\/strong> under the <strong>Files<\/strong> section.<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-24e87b7 elementor-widget elementor-widget-image\" data-id=\"24e87b7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"768\" height=\"201\" src=\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/file-manager-768x201.png\" class=\"attachment-medium_large size-medium_large wp-image-21340\" alt=\"file manager\" srcset=\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/file-manager-768x201.png 768w, https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/file-manager-300x79.png 300w, https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/file-manager.png 1001w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5032dc5 elementor-widget elementor-widget-text-editor\" data-id=\"5032dc5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li>Once you\u2019re in <strong>public_html<\/strong> directory, click the <strong>New File button<\/strong>.<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-10f6170 elementor-widget elementor-widget-image\" data-id=\"10f6170\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"768\" height=\"500\" src=\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/phpinfo-file-768x500.png\" class=\"attachment-medium_large size-medium_large wp-image-21345\" alt=\"phpinfo file\" srcset=\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/phpinfo-file-768x500.png 768w, https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/phpinfo-file-300x195.png 300w, https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/phpinfo-file.png 792w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e42c028 elementor-widget elementor-widget-text-editor\" data-id=\"e42c028\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li>Name your file <strong>phpinfo.php<\/strong> and press <strong>Create<\/strong>.<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-63dfbf7 elementor-widget elementor-widget-image\" data-id=\"63dfbf7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"491\" height=\"248\" src=\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/create-phpinfo-file-e1645172073567.png\" class=\"attachment-medium_large size-medium_large wp-image-21344\" alt=\"create phpinfo file\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c160c55 elementor-widget elementor-widget-text-editor\" data-id=\"c160c55\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li>Scroll down and locate the new <strong>phpinfo<\/strong> file within the directory, then right-click to <strong>Edit<\/strong>.<\/li><li>After that, copy and paste the following code and press <strong>Save<\/strong>.<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a80020a elementor-widget elementor-widget-code-highlight\" data-id=\"a80020a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-php \">\n\t\t\t\t<code readonly=\"true\" class=\"language-php\">\n\t\t\t\t\t<xmp><?php\n    phpinfo();\n?><\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4b0d0cd elementor-alert-info elementor-widget elementor-widget-alert\" data-id=\"4b0d0cd\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"alert.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-alert\" role=\"alert\">\n\n\t\t\t\t\t\t<span class=\"elementor-alert-title\">Note<\/span>\n\t\t\t\n\t\t\t\t\t\t<span class=\"elementor-alert-description\">The same result can be achieved by using any text editor on your computer. Create the phpinfo.php file by following the same steps from before, then uploading the file to your server\u2019s public_html folder through an FTP client.<\/span>\n\t\t\t\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f90415d elementor-widget elementor-widget-text-editor\" data-id=\"f90415d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li>Use your browser to go to http:\/\/test.com\/phpinfo.php. where test.com represents your web site&#8217;s domain name. The page displays a large amount of information about the PHP installation.<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-fec575b elementor-alert-danger elementor-widget elementor-widget-alert\" data-id=\"fec575b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"alert.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-alert\" role=\"alert\">\n\n\t\t\t\t\t\t<span class=\"elementor-alert-title\">Warning<\/span>\n\t\t\t\n\t\t\t\t\t\t<span class=\"elementor-alert-description\">For security reasons, you should disable any calls to the phpinfo() function when web site development and testing is complete.\nTherefore, you can easily disable the file by giving it a different name. phpinfo.php_disabled, for instance.<\/span>\n\t\t\t\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-eeaea7e elementor-widget elementor-widget-elementor-faq-schema\" data-id=\"eeaea7e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"elementor-faq-schema.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t                                    <script type=\"application\/ld+json\">\n                    {\n                        \"@context\": \"https:\/\/schema.org\",\n                        \"@type\": \"FAQPage\",\n                        \"mainEntity\": [\n                         {\n                            \"@type\": \"Question\",\n                            \"name\": \"What is phpinfo File?\",\n                            \"acceptedAnswer\": {\n                                \"@type\": \"Answer\",\n                                \"text\": \"&lt;p&gt;phpinfo() is a function or a code snippet to determine the website\u2019s PHP configuration. Here is some information that the PHP function displays after running phpinfo():&lt;\/p&gt;&lt;ul&gt;&lt;li&gt;A version of PHP the website is currently using.&lt;\/li&gt;&lt;li&gt;Server information and environment.&lt;\/li&gt;&lt;li&gt;Operating System version information.&lt;\/li&gt;&lt;li&gt;The PHP environment.&lt;br \/&gt;HTTP headers.&lt;\/li&gt;&lt;li&gt;Modules and extensions.&lt;\/li&gt;&lt;li&gt;Master and local values.&lt;\/li&gt;&lt;li&gt;Paths along with php.ini location.&lt;\/li&gt;&lt;li&gt;The PHP License.&lt;\/li&gt;&lt;\/ul&gt;\"\n                            }\n                                                    },\n                                             {\n                            \"@type\": \"Question\",\n                            \"name\": \"How To Create And Use a phpinfo File?\",\n                            \"acceptedAnswer\": {\n                                \"@type\": \"Answer\",\n                                \"text\": \"&lt;ul&gt;&lt;li&gt;Login to cPanel.&lt;\/li&gt;&lt;li&gt;Navigate to &lt;strong&gt;File Manager&lt;\/strong&gt; under the &lt;strong&gt;Files&lt;\/strong&gt; section.&lt;\/li&gt;&lt;li&gt;Once you\u2019re in &lt;strong&gt;public_html&lt;\/strong&gt; directory, click the &lt;strong&gt;New File button&lt;\/strong&gt;.&lt;\/li&gt;&lt;li&gt;Name your file &lt;strong&gt;phpinfo.php&lt;\/strong&gt; and press &lt;strong&gt;Create&lt;\/strong&gt;.&lt;\/li&gt;&lt;li&gt;Scroll down and locate the new &lt;strong&gt;phpinfo&lt;\/strong&gt; file within the directory, then right-click to &lt;strong&gt;Edit&lt;\/strong&gt;.&lt;\/li&gt;&lt;li&gt;After that, copy and paste the following code and press &lt;strong&gt;Save&lt;\/strong&gt;.&lt;\/li&gt;&lt;li&gt;Use your browser to go to http:\/\/test.com\/phpinfo.php. Where test.com represents your web site&#039;s domain name.&lt;\/li&gt;&lt;\/ul&gt;\"\n                            }\n                                                    }\n                    ]\n                    }\n                <\/script>\n                    \t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>In this article, we\u2019ll show you how to create a phpinfo file. Also how to check its detailed information. For example, you might want to check whether your PHP configurations meet the requirements of any software you want to run on your server. What is phpinfo? phpinfo() is a function or a code snippet to [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":21412,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[254],"tags":[300,270],"class_list":["post-21165","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php","tag-cpanel-php","tag-php"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Creating phpinfo File by file manager &amp; Check Its Detailed PHP Information<\/title>\n<meta name=\"description\" content=\"creating a phpinfo file by file manager, located it in public_html directory, edit the file then view its detailed information by the browser\" \/>\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\/help\/php\/how-to-create-phpinfo-file-and-check-php-information\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Creating phpinfo File by file manager &amp; Check Its Detailed PHP Information\" \/>\n<meta property=\"og:description\" content=\"creating a phpinfo file by file manager, located it in public_html directory, edit the file then view its detailed information by the browser\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hostandtech.com\/help\/php\/how-to-create-phpinfo-file-and-check-php-information\/\" \/>\n<meta property=\"og:site_name\" content=\"STS Host and Tech Knowledge base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/stshostandtech\" \/>\n<meta property=\"article:published_time\" content=\"2022-02-08T08:57:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-28T17:08:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/create-phpinfo-file-fb.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1080\" \/>\n\t<meta property=\"og:image:height\" content=\"1080\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"HostandTech Support\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Creating phpinfo File by file manager &amp; Check Its Detailed PHP Information\" \/>\n<meta name=\"twitter:description\" content=\"creating a phpinfo file by file manager, located it in public_html directory, edit the file then view its detailed information by the browser\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/create-phpinfo-file-fb.png\" \/>\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=\"HostandTech Support\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/hostandtech.com\/help\/php\/how-to-create-phpinfo-file-and-check-php-information\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/hostandtech.com\/help\/php\/how-to-create-phpinfo-file-and-check-php-information\/\"},\"author\":{\"name\":\"HostandTech Support\",\"@id\":\"https:\/\/hostandtech.com\/help\/#\/schema\/person\/141140aea3ea46eb153a44601194d042\"},\"headline\":\"How to Create phpinfo File and Check PHP Information\",\"datePublished\":\"2022-02-08T08:57:14+00:00\",\"dateModified\":\"2022-02-28T17:08:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/hostandtech.com\/help\/php\/how-to-create-phpinfo-file-and-check-php-information\/\"},\"wordCount\":356,\"publisher\":{\"@id\":\"https:\/\/hostandtech.com\/help\/#organization\"},\"image\":{\"@id\":\"https:\/\/hostandtech.com\/help\/php\/how-to-create-phpinfo-file-and-check-php-information\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/create-phpinfo-file-150-1.png\",\"keywords\":[\"cPanel PHP\",\"PHP\"],\"articleSection\":[\"PHP\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/hostandtech.com\/help\/php\/how-to-create-phpinfo-file-and-check-php-information\/\",\"url\":\"https:\/\/hostandtech.com\/help\/php\/how-to-create-phpinfo-file-and-check-php-information\/\",\"name\":\"Creating phpinfo File by file manager & Check Its Detailed PHP Information\",\"isPartOf\":{\"@id\":\"https:\/\/hostandtech.com\/help\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/hostandtech.com\/help\/php\/how-to-create-phpinfo-file-and-check-php-information\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/hostandtech.com\/help\/php\/how-to-create-phpinfo-file-and-check-php-information\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/create-phpinfo-file-150-1.png\",\"datePublished\":\"2022-02-08T08:57:14+00:00\",\"dateModified\":\"2022-02-28T17:08:58+00:00\",\"description\":\"creating a phpinfo file by file manager, located it in public_html directory, edit the file then view its detailed information by the browser\",\"breadcrumb\":{\"@id\":\"https:\/\/hostandtech.com\/help\/php\/how-to-create-phpinfo-file-and-check-php-information\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/hostandtech.com\/help\/php\/how-to-create-phpinfo-file-and-check-php-information\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hostandtech.com\/help\/php\/how-to-create-phpinfo-file-and-check-php-information\/#primaryimage\",\"url\":\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/create-phpinfo-file-150-1.png\",\"contentUrl\":\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/create-phpinfo-file-150-1.png\",\"width\":150,\"height\":150,\"caption\":\"create phpinfo file featured\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/hostandtech.com\/help\/php\/how-to-create-phpinfo-file-and-check-php-information\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/hostandtech.com\/help\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Create phpinfo File and Check PHP Information\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/hostandtech.com\/help\/#website\",\"url\":\"https:\/\/hostandtech.com\/help\/\",\"name\":\"STS Host and Tech Knowledge base\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/hostandtech.com\/help\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/hostandtech.com\/help\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/hostandtech.com\/help\/#organization\",\"name\":\"STS Host and Tech Inc\",\"url\":\"https:\/\/hostandtech.com\/help\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hostandtech.com\/help\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/hostandtechlogo-1.png\",\"contentUrl\":\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/hostandtechlogo-1.png\",\"width\":630,\"height\":270,\"caption\":\"STS Host and Tech Inc\"},\"image\":{\"@id\":\"https:\/\/hostandtech.com\/help\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/stshostandtech\",\"https:\/\/x.com\/stshostandtech\",\"https:\/\/www.instagram.com\/stshostandtech\",\"https:\/\/www.youtube.com\/channel\/UCqJOPwWE0ILTeIScaND7enw\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/hostandtech.com\/help\/#\/schema\/person\/141140aea3ea46eb153a44601194d042\",\"name\":\"HostandTech Support\",\"url\":\"https:\/\/hostandtech.com\/help\/author\/m-hajobied\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Creating phpinfo File by file manager & Check Its Detailed PHP Information","description":"creating a phpinfo file by file manager, located it in public_html directory, edit the file then view its detailed information by the browser","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\/help\/php\/how-to-create-phpinfo-file-and-check-php-information\/","og_locale":"en_US","og_type":"article","og_title":"Creating phpinfo File by file manager & Check Its Detailed PHP Information","og_description":"creating a phpinfo file by file manager, located it in public_html directory, edit the file then view its detailed information by the browser","og_url":"https:\/\/hostandtech.com\/help\/php\/how-to-create-phpinfo-file-and-check-php-information\/","og_site_name":"STS Host and Tech Knowledge base","article_publisher":"https:\/\/www.facebook.com\/stshostandtech","article_published_time":"2022-02-08T08:57:14+00:00","article_modified_time":"2022-02-28T17:08:58+00:00","og_image":[{"width":1080,"height":1080,"url":"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/create-phpinfo-file-fb.png","type":"image\/png"}],"author":"HostandTech Support","twitter_card":"summary_large_image","twitter_title":"Creating phpinfo File by file manager & Check Its Detailed PHP Information","twitter_description":"creating a phpinfo file by file manager, located it in public_html directory, edit the file then view its detailed information by the browser","twitter_image":"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/create-phpinfo-file-fb.png","twitter_creator":"@stshostandtech","twitter_site":"@stshostandtech","twitter_misc":{"Written by":"HostandTech Support","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hostandtech.com\/help\/php\/how-to-create-phpinfo-file-and-check-php-information\/#article","isPartOf":{"@id":"https:\/\/hostandtech.com\/help\/php\/how-to-create-phpinfo-file-and-check-php-information\/"},"author":{"name":"HostandTech Support","@id":"https:\/\/hostandtech.com\/help\/#\/schema\/person\/141140aea3ea46eb153a44601194d042"},"headline":"How to Create phpinfo File and Check PHP Information","datePublished":"2022-02-08T08:57:14+00:00","dateModified":"2022-02-28T17:08:58+00:00","mainEntityOfPage":{"@id":"https:\/\/hostandtech.com\/help\/php\/how-to-create-phpinfo-file-and-check-php-information\/"},"wordCount":356,"publisher":{"@id":"https:\/\/hostandtech.com\/help\/#organization"},"image":{"@id":"https:\/\/hostandtech.com\/help\/php\/how-to-create-phpinfo-file-and-check-php-information\/#primaryimage"},"thumbnailUrl":"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/create-phpinfo-file-150-1.png","keywords":["cPanel PHP","PHP"],"articleSection":["PHP"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/hostandtech.com\/help\/php\/how-to-create-phpinfo-file-and-check-php-information\/","url":"https:\/\/hostandtech.com\/help\/php\/how-to-create-phpinfo-file-and-check-php-information\/","name":"Creating phpinfo File by file manager & Check Its Detailed PHP Information","isPartOf":{"@id":"https:\/\/hostandtech.com\/help\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hostandtech.com\/help\/php\/how-to-create-phpinfo-file-and-check-php-information\/#primaryimage"},"image":{"@id":"https:\/\/hostandtech.com\/help\/php\/how-to-create-phpinfo-file-and-check-php-information\/#primaryimage"},"thumbnailUrl":"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/create-phpinfo-file-150-1.png","datePublished":"2022-02-08T08:57:14+00:00","dateModified":"2022-02-28T17:08:58+00:00","description":"creating a phpinfo file by file manager, located it in public_html directory, edit the file then view its detailed information by the browser","breadcrumb":{"@id":"https:\/\/hostandtech.com\/help\/php\/how-to-create-phpinfo-file-and-check-php-information\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hostandtech.com\/help\/php\/how-to-create-phpinfo-file-and-check-php-information\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostandtech.com\/help\/php\/how-to-create-phpinfo-file-and-check-php-information\/#primaryimage","url":"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/create-phpinfo-file-150-1.png","contentUrl":"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/create-phpinfo-file-150-1.png","width":150,"height":150,"caption":"create phpinfo file featured"},{"@type":"BreadcrumbList","@id":"https:\/\/hostandtech.com\/help\/php\/how-to-create-phpinfo-file-and-check-php-information\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hostandtech.com\/help\/"},{"@type":"ListItem","position":2,"name":"How to Create phpinfo File and Check PHP Information"}]},{"@type":"WebSite","@id":"https:\/\/hostandtech.com\/help\/#website","url":"https:\/\/hostandtech.com\/help\/","name":"STS Host and Tech Knowledge base","description":"","publisher":{"@id":"https:\/\/hostandtech.com\/help\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hostandtech.com\/help\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/hostandtech.com\/help\/#organization","name":"STS Host and Tech Inc","url":"https:\/\/hostandtech.com\/help\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostandtech.com\/help\/#\/schema\/logo\/image\/","url":"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/hostandtechlogo-1.png","contentUrl":"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/hostandtechlogo-1.png","width":630,"height":270,"caption":"STS Host and Tech Inc"},"image":{"@id":"https:\/\/hostandtech.com\/help\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/stshostandtech","https:\/\/x.com\/stshostandtech","https:\/\/www.instagram.com\/stshostandtech","https:\/\/www.youtube.com\/channel\/UCqJOPwWE0ILTeIScaND7enw"]},{"@type":"Person","@id":"https:\/\/hostandtech.com\/help\/#\/schema\/person\/141140aea3ea46eb153a44601194d042","name":"HostandTech Support","url":"https:\/\/hostandtech.com\/help\/author\/m-hajobied\/"}]}},"_links":{"self":[{"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/posts\/21165","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/comments?post=21165"}],"version-history":[{"count":151,"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/posts\/21165\/revisions"}],"predecessor-version":[{"id":21879,"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/posts\/21165\/revisions\/21879"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/media\/21412"}],"wp:attachment":[{"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/media?parent=21165"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/categories?post=21165"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/tags?post=21165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}