{"id":1300,"date":"2015-01-17T17:54:31","date_gmt":"2015-01-17T17:54:31","guid":{"rendered":"https:\/\/cpanelplesk.com\/wp62\/?p=1300"},"modified":"2021-02-16T10:01:47","modified_gmt":"2021-02-16T10:01:47","slug":"how-to-view-php-settings-using-a-phpinfo-page","status":"publish","type":"post","link":"https:\/\/cpanelplesk.com\/wp62\/how-to-view-php-settings-using-a-phpinfo-page\/","title":{"rendered":"How to view php settings using a phpinfo page"},"content":{"rendered":"<p>PHP has many variables that you are able to upgrade as required. For example, you may need to upgrade your php memory_limit to avoid certain programs from running out of memory. To be able to modify these settings, you must first be able to check what they are. To do that, you will need to make a phpinfo web page. A phpinfo web page reveals you all of your php configurations.<br \/>\nA phpinfo web page is merely a php web page with the following code:<br \/>\n[wpfmb type=&#8217;info&#8217; theme=2]&lt;? phpinfo(); ?&gt;[\/wpfmb]<br \/>\nFollow the steps below to create a <strong>phpinfo<\/strong> page using your File Manager.<br \/>\n<a title=\"cPanel Login\" href=\"https:\/\/cpanelplesk.com\/wp62\/cpanel-login\/\">Login to your cPanel<\/a><br \/>\nOpen your <a title=\"Use Of File Manager in cPanel\" href=\"https:\/\/cpanelplesk.com\/wp62\/use-of-file-manager-in-cpanel\/\"><strong>FileManager<\/strong><\/a><br \/>\nGo to the directory you will work with. This is important because each directory can actually be set to have different php configurations. In this example, we are checking the php configurations for our primary domain, so we are directing to the public_html listing.<br \/>\nIn the top menu, click <strong>new file<\/strong><br \/>\nEnter <strong>phpinfo.php<\/strong> as a file name<br \/>\n<a href=\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/01\/create-new-file.jpg\"><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-1305 pleslwp\" src=\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/01\/create-new-file.jpg\" alt=\"create new file\" width=\"502\" height=\"223\" srcset=\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/01\/create-new-file.jpg 502w, https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/01\/create-new-file-300x133.jpg 300w, https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/01\/create-new-file-320x142.jpg 320w, https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/01\/create-new-file-239x106.jpg 239w\" sizes=\"(max-width: 502px) 100vw, 502px\" \/><\/a><br \/>\nRight click on it and choose &#8220;Edit&#8221;.<br \/>\nEnter the following text:<\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true \">&lt;? phpinfo(); ?&gt;<\/pre>\n<\/div>\n<p>Then click Save Changes.<br \/>\nYou can now access this page from your browser. If you place the file in your public_html folder, then you would visit http:\/\/YourDomain.com\/phpinfo.php. The results should be similar to the below screenshot:<br \/>\n<a href=\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/01\/phpinfo.jpg\"><img decoding=\"async\" class=\"alignnone size-medium wp-image-1302  pleslwp\" src=\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/01\/phpinfo-292x300.jpg\" alt=\"phpinfo\" width=\"292\" height=\"300\" srcset=\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/01\/phpinfo-292x300.jpg 292w, https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/01\/phpinfo-320x329.jpg 320w, https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/01\/phpinfo-239x246.jpg 239w, https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/01\/phpinfo.jpg 614w\" sizes=\"(max-width: 292px) 100vw, 292px\" \/><\/a><br \/>\nYou can find a specific value of setting by using your browser search feature.<br \/>\n[wpfmb type=&#8217;info&#8217; theme=2]Important: your phpinfo web page has many php configurations that you don&#8217;t want to transmitted to the world. When you&#8217;re completed using the \u00a0file, be sure to remove it.[\/wpfmb]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PHP has many variables that you are able to upgrade as required. For example, you may need to upgrade your php memory_limit to avoid certain programs from running out of memory. To be able to modify these settings, you must first be able to check what they are. To do that, you will need to [&#8230;]<\/p>\n<p><a class=\"understrap-read-more-link\" href=\"https:\/\/cpanelplesk.com\/wp62\/how-to-view-php-settings-using-a-phpinfo-page\/\">Continue Reading&#8230;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1300","post","type-post","status-publish","format-standard","hentry","category-cpanel"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to view php settings using a phpinfo page - cPanel Plesk<\/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:\/\/cpanelplesk.com\/wp62\/how-to-view-php-settings-using-a-phpinfo-page\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to view php settings using a phpinfo page - cPanel Plesk\" \/>\n<meta name=\"twitter:description\" content=\"PHP has many variables that you are able to upgrade as required. For example, you may need to upgrade your php memory_limit to avoid certain programs from running out of memory. To be able to modify these settings, you must first be able to check what they are. To do that, you will need to [...]Continue Reading...\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/01\/create-new-file.jpg\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Seemab Saleem\" \/>\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:\/\/cpanelplesk.com\/wp62\/how-to-view-php-settings-using-a-phpinfo-page\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-view-php-settings-using-a-phpinfo-page\/\"},\"author\":{\"name\":\"Seemab Saleem\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648\"},\"headline\":\"How to view php settings using a phpinfo page\",\"datePublished\":\"2015-01-17T17:54:31+00:00\",\"dateModified\":\"2021-02-16T10:01:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-view-php-settings-using-a-phpinfo-page\/\"},\"wordCount\":284,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\"},\"image\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-view-php-settings-using-a-phpinfo-page\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/01\/create-new-file.jpg\",\"articleSection\":[\"Cpanel\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-view-php-settings-using-a-phpinfo-page\/\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-view-php-settings-using-a-phpinfo-page\/\",\"name\":\"How to view php settings using a phpinfo page - cPanel Plesk\",\"isPartOf\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-view-php-settings-using-a-phpinfo-page\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-view-php-settings-using-a-phpinfo-page\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/01\/create-new-file.jpg\",\"datePublished\":\"2015-01-17T17:54:31+00:00\",\"dateModified\":\"2021-02-16T10:01:47+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-view-php-settings-using-a-phpinfo-page\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cpanelplesk.com\/wp62\/how-to-view-php-settings-using-a-phpinfo-page\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-view-php-settings-using-a-phpinfo-page\/#primaryimage\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/01\/create-new-file.jpg\",\"contentUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/01\/create-new-file.jpg\",\"width\":502,\"height\":223},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-view-php-settings-using-a-phpinfo-page\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cpanelplesk.com\/wp62\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to view php settings using a phpinfo page\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#website\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/\",\"name\":\"cPanel Plesk\",\"description\":\"Blog on famous hosting control panels\",\"publisher\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cpanelplesk.com\/wp62\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\",\"name\":\"Farooq Omer\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png\",\"contentUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png\",\"width\":300,\"height\":44,\"caption\":\"Farooq Omer\"},\"logo\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648\",\"name\":\"Seemab Saleem\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g\",\"caption\":\"Seemab Saleem\"},\"description\":\"Linux Server Administrator, Web Hosting engineer. I'm dealing with Linux servers since 2014. I started this blog to share the work i love with the world . let me know if you need any assistance. Thanks!!\",\"sameAs\":[\"https:\/\/cpanelplesk.com\/wp62\"],\"url\":\"https:\/\/cpanelplesk.com\/wp62\/author\/cmb\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to view php settings using a phpinfo page - cPanel Plesk","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:\/\/cpanelplesk.com\/wp62\/how-to-view-php-settings-using-a-phpinfo-page\/","twitter_card":"summary_large_image","twitter_title":"How to view php settings using a phpinfo page - cPanel Plesk","twitter_description":"PHP has many variables that you are able to upgrade as required. For example, you may need to upgrade your php memory_limit to avoid certain programs from running out of memory. To be able to modify these settings, you must first be able to check what they are. To do that, you will need to [...]Continue Reading...","twitter_image":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/01\/create-new-file.jpg","twitter_misc":{"Written by":"Seemab Saleem","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-view-php-settings-using-a-phpinfo-page\/#article","isPartOf":{"@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-view-php-settings-using-a-phpinfo-page\/"},"author":{"name":"Seemab Saleem","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648"},"headline":"How to view php settings using a phpinfo page","datePublished":"2015-01-17T17:54:31+00:00","dateModified":"2021-02-16T10:01:47+00:00","mainEntityOfPage":{"@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-view-php-settings-using-a-phpinfo-page\/"},"wordCount":284,"commentCount":0,"publisher":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13"},"image":{"@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-view-php-settings-using-a-phpinfo-page\/#primaryimage"},"thumbnailUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/01\/create-new-file.jpg","articleSection":["Cpanel"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-view-php-settings-using-a-phpinfo-page\/","url":"https:\/\/cpanelplesk.com\/wp62\/how-to-view-php-settings-using-a-phpinfo-page\/","name":"How to view php settings using a phpinfo page - cPanel Plesk","isPartOf":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-view-php-settings-using-a-phpinfo-page\/#primaryimage"},"image":{"@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-view-php-settings-using-a-phpinfo-page\/#primaryimage"},"thumbnailUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/01\/create-new-file.jpg","datePublished":"2015-01-17T17:54:31+00:00","dateModified":"2021-02-16T10:01:47+00:00","breadcrumb":{"@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-view-php-settings-using-a-phpinfo-page\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cpanelplesk.com\/wp62\/how-to-view-php-settings-using-a-phpinfo-page\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-view-php-settings-using-a-phpinfo-page\/#primaryimage","url":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/01\/create-new-file.jpg","contentUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/01\/create-new-file.jpg","width":502,"height":223},{"@type":"BreadcrumbList","@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-view-php-settings-using-a-phpinfo-page\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cpanelplesk.com\/wp62\/"},{"@type":"ListItem","position":2,"name":"How to view php settings using a phpinfo page"}]},{"@type":"WebSite","@id":"https:\/\/cpanelplesk.com\/wp62\/#website","url":"https:\/\/cpanelplesk.com\/wp62\/","name":"cPanel Plesk","description":"Blog on famous hosting control panels","publisher":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cpanelplesk.com\/wp62\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13","name":"Farooq Omer","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/","url":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png","contentUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png","width":300,"height":44,"caption":"Farooq Omer"},"logo":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/"}},{"@type":"Person","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648","name":"Seemab Saleem","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g","caption":"Seemab Saleem"},"description":"Linux Server Administrator, Web Hosting engineer. I'm dealing with Linux servers since 2014. I started this blog to share the work i love with the world . let me know if you need any assistance. Thanks!!","sameAs":["https:\/\/cpanelplesk.com\/wp62"],"url":"https:\/\/cpanelplesk.com\/wp62\/author\/cmb\/"}]}},"_links":{"self":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts\/1300","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/comments?post=1300"}],"version-history":[{"count":0,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts\/1300\/revisions"}],"wp:attachment":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/media?parent=1300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/categories?post=1300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/tags?post=1300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}