{"id":1795,"date":"2014-12-05T08:09:06","date_gmt":"2014-12-05T08:09:06","guid":{"rendered":"http:\/\/www.milesweb.com\/hosting-faqs\/?p=1795"},"modified":"2022-02-12T16:06:20","modified_gmt":"2022-02-12T10:36:20","slug":"check-php-version-configuration","status":"publish","type":"post","link":"https:\/\/www.milesweb.in\/hosting-faqs\/check-php-version-configuration\/","title":{"rendered":"How Do I Check PHP Version And Configuration?"},"content":{"rendered":"<p>The Phpinfo() function s used for checking the current PHP configuration. It can also be used for the purpose of debugging because it comprises of all EGPCS (Environment, GET, POST, Cookie, Server) data.<\/p>\n<p><strong>In order to run the function, follow the steps mentioned below:<\/strong><\/p>\n<p>Login to your cPanel account, go to Files &gt; File manager menu<\/p>\n<p>Go to \u2018public_html\u2019 directory, click on \u2018New File\u2019 and create \u2018phpinfo.php\u2019 file<\/p>\n<p>Locate the newly created file in the list and click on \u2018Code Editor\u2019<\/p>\n<p>Add the lines of the code mentioned below to the file and click on Save changes<\/p>\n<p><strong>&lt;?php<\/strong><\/p>\n<p><strong>phpinfo();<\/strong><\/p>\n<p><strong>?&gt;<\/strong><\/p>\n<p>In order to check detailed information about PHP configuration of your account, just open the following link in your browser:<\/p>\n<p>http:\/\/yourdomain(dot)com\/phpinfo(dot)php<\/p>\n<p>Replace yourdomain.com with your domain name.<\/p>\n<p><strong>Related:\u00a0<a href=\"https:\/\/www.milesweb.in\/hosting-faqs\/can-change-php-version-cpanel\/\">How can I change my PHP Version in cPanel<\/a><\/strong><\/p>\n<p>Note : Please don\u2019t forget to delete the file once you are done with checking all the necessary information for security reasons.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Phpinfo() function s used for checking the current PHP configuration. It can also be used for the purpose of debugging because it comprises of all EGPCS (Environment, GET, POST, Cookie, Server) data. In order to run the function, follow the steps mentioned below: Login to your cPanel account, go to Files &gt; File manager [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[18,192,191,62,48],"class_list":["post-1795","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-vps-faq","tag-php","tag-php-configuration","tag-php-version","tag-vps-hosting-2","tag-web-hosting-2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How Do I Check PHP Version And Configuration?<\/title>\n<meta name=\"description\" content=\"The process for checking PHP version and configuration.\" \/>\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.milesweb.in\/hosting-faqs\/check-php-version-configuration\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How Do I Check PHP Version And Configuration?\" \/>\n<meta property=\"og:description\" content=\"The process for checking PHP version and configuration.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.in\/hosting-faqs\/check-php-version-configuration\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2014-12-05T08:09:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-12T10:36:20+00:00\" \/>\n<meta name=\"author\" content=\"Admin\" \/>\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=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/check-php-version-configuration\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/check-php-version-configuration\/\"},\"author\":{\"name\":\"Admin\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69\"},\"headline\":\"How Do I Check PHP Version And Configuration?\",\"datePublished\":\"2014-12-05T08:09:06+00:00\",\"dateModified\":\"2022-02-12T10:36:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/check-php-version-configuration\/\"},\"wordCount\":177,\"commentCount\":2,\"keywords\":[\"PHP\",\"PHP configuration\",\"PHP version\",\"VPS hosting\",\"web hosting\"],\"articleSection\":[\"VPS FAQ\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/check-php-version-configuration\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/check-php-version-configuration\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/check-php-version-configuration\/\",\"name\":\"How Do I Check PHP Version And Configuration?\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\"},\"datePublished\":\"2014-12-05T08:09:06+00:00\",\"dateModified\":\"2022-02-12T10:36:20+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69\"},\"description\":\"The process for checking PHP version and configuration.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/check-php-version-configuration\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/check-php-version-configuration\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/check-php-version-configuration\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How Do I Check PHP Version And Configuration?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69\",\"name\":\"Admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/02\/MilesWeb-Logo-150x150.png\",\"contentUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/02\/MilesWeb-Logo-150x150.png\",\"caption\":\"Admin\"},\"description\":\"With over 10+ years of experience in the web hosting industry, I have achieved extensive exposure to result-oriented methodologies. And expertise in different domains like Datacentre Services, Cloud computing technology, Web hosting industry and many more.\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How Do I Check PHP Version And Configuration?","description":"The process for checking PHP version and configuration.","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.milesweb.in\/hosting-faqs\/check-php-version-configuration\/","og_locale":"en_US","og_type":"article","og_title":"How Do I Check PHP Version And Configuration?","og_description":"The process for checking PHP version and configuration.","og_url":"https:\/\/www.milesweb.in\/hosting-faqs\/check-php-version-configuration\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2014-12-05T08:09:06+00:00","article_modified_time":"2022-02-12T10:36:20+00:00","author":"Admin","twitter_misc":{"Written by":"Admin","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/check-php-version-configuration\/#article","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/check-php-version-configuration\/"},"author":{"name":"Admin","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69"},"headline":"How Do I Check PHP Version And Configuration?","datePublished":"2014-12-05T08:09:06+00:00","dateModified":"2022-02-12T10:36:20+00:00","mainEntityOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/check-php-version-configuration\/"},"wordCount":177,"commentCount":2,"keywords":["PHP","PHP configuration","PHP version","VPS hosting","web hosting"],"articleSection":["VPS FAQ"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.milesweb.in\/hosting-faqs\/check-php-version-configuration\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/check-php-version-configuration\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/check-php-version-configuration\/","name":"How Do I Check PHP Version And Configuration?","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website"},"datePublished":"2014-12-05T08:09:06+00:00","dateModified":"2022-02-12T10:36:20+00:00","author":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69"},"description":"The process for checking PHP version and configuration.","breadcrumb":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/check-php-version-configuration\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.in\/hosting-faqs\/check-php-version-configuration\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/check-php-version-configuration\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.in\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How Do I Check PHP Version And Configuration?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.in\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69","name":"Admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/02\/MilesWeb-Logo-150x150.png","contentUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/02\/MilesWeb-Logo-150x150.png","caption":"Admin"},"description":"With over 10+ years of experience in the web hosting industry, I have achieved extensive exposure to result-oriented methodologies. And expertise in different domains like Datacentre Services, Cloud computing technology, Web hosting industry and many more.","url":"https:\/\/www.milesweb.in\/hosting-faqs\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/1795","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=1795"}],"version-history":[{"count":4,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/1795\/revisions"}],"predecessor-version":[{"id":15729,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/1795\/revisions\/15729"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=1795"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=1795"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=1795"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}