{"id":720,"date":"2025-12-23T07:13:56","date_gmt":"2025-12-23T06:13:56","guid":{"rendered":"https:\/\/mybox.com\/help\/?post_type=manual_kb&#038;p=720"},"modified":"2026-06-25T17:45:08","modified_gmt":"2026-06-25T15:45:08","slug":"information-about-current-php-parameters-phpinfo","status":"publish","type":"manual_kb","link":"https:\/\/mybox.com\/help\/en\/knowledgebase\/information-about-current-php-parameters-phpinfo\/","title":{"rendered":"Information about current PHP parameters &#8211; phpinfo()"},"content":{"rendered":"\n<div class=\"translation-block translation-block-merged\">\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_86 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/information-about-current-php-parameters-phpinfo\/#Context\" >Context<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/information-about-current-php-parameters-phpinfo\/#How_to_create_a_phpinfo_file\" >How to create a phpinfo file<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/information-about-current-php-parameters-phpinfo\/#Upload_the_file_to_your_server\" >Upload the file to your server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/information-about-current-php-parameters-phpinfo\/#How_to_access_PHP_information\" >How to access PHP information<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/information-about-current-php-parameters-phpinfo\/#When_this_is_useful\" >When this is useful<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/information-about-current-php-parameters-phpinfo\/#Summary\" >Summary<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Context\"><\/span>Context<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">PHP settings control how your website and applications behave on the server. These parameters include memory limits, execution time, loaded modules, and other configuration values.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you are unsure which PHP settings are currently active for your website, you can generate a PHP information page using the <code>phpinfo()<\/code> function.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_create_a_phpinfo_file\"><\/span>How to create a phpinfo file<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<\/div>\n\n<div id=\"mybox-1856704544\" class=\"mybox-content mybox-entity-placement\"><div class=\"early-access-banner-inpost\">\r\n  <div class=\"banner-left-inpost\">\r\n    <div class=\"icon-box-inpost\">\r\n      <img decoding=\"async\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/02\/square-info-icon.svg\" alt=\"Info\">\r\n    <\/div>\r\n    <div class=\"text-box-inpost\">\r\n      <span class=\"label-inpost\"><span class=\"translation-block translation-block-banner-text\">Early access<\/span><\/span>\r\n      <h4><span class=\"translation-block translation-block-banner-text\">Still need help?<\/span><\/h4>\r\n      <p><span class=\"translation-block translation-block-banner-text\">Contact our customer service team.<\/span><\/p>\r\n    <\/div>\r\n  <\/div>\r\n\r\n  <div class=\"banner-right-inpost\">\r\n    <a href=\"https:\/\/panel.mybox.com\/helpdesk2\/v\/list\/\" class=\"banner-button-inpost\"><span class=\"translation-block translation-block-banner-text\">Message us<\/span><\/a>\r\n  <\/div>\r\n<\/div><\/div>\n\n<div class=\"translation-block translation-block-merged\"><p class=\"wp-block-paragraph\">To view current PHP configuration, create a new file on your computer or directly on the server and name it:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">phpinfo.php<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Add the following lines of code inside the file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?\nphp phpinfo(); \n?><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Upload_the_file_to_your_server\"><\/span>Upload the file to your server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Upload the file via FTP to your website directory, typically:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">public_html<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After uploading, the file will be available on your website.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_access_PHP_information\"><\/span>How to access PHP information<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Open your browser and go to:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"http:\/\/yourwebsite.pl\/phpinfo.php\" target=\"_blank\" rel=\"noopener\">http:\/\/yourwebsite.pl\/phpinfo.php<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Replace yourwebsite.pl with your actual domain name.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The page will display detailed PHP configuration information for your hosting environment.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"When_this_is_useful\"><\/span>When this is useful<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This method is commonly used when:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A CMS (for example WordPress) reports that a PHP parameter is too low<\/li>\n\n\n\n<li>You need to check which PHP modules are enabled<\/li>\n\n\n\n<li>You are troubleshooting compatibility or performance issues<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Summary\"><\/span>Summary<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Creating a phpinfo.php file allows you to view the active PHP configuration on your hosting environment. This helps diagnose issues related to CMS requirements and server limitations.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"template":"","format":"standard","manualknowledgebasecat":[25,39],"manual_kb_tag":[2319,2347,2320,2348,2321,2349,2322,2350,2323,2324,2325,190,2338,518,2339,588,2340,818,2341,835,2342,850,2343,2316,2344,2317,2345,2318,2346],"class_list":["post-720","manual_kb","type-manual_kb","status-publish","format-standard","hentry","manualknowledgebasecat-hosting","manualknowledgebasecat-php-operations","manual_kb_tag-php-configuration","manual_kb_tag-web-server-information","manual_kb_tag-php-settings","manual_kb_tag-php-version-info","manual_kb_tag-php-parameters","manual_kb_tag-analyze-php-settings","manual_kb_tag-create-php-file","manual_kb_tag-php-script-errors","manual_kb_tag-php-script","manual_kb_tag-upload-php-file","manual_kb_tag-public-html-folder","manual_kb_tag-wordpress","manual_kb_tag-public_html-directory","manual_kb_tag-public_html","manual_kb_tag-server-php-settings","manual_kb_tag-website","manual_kb_tag-phpinfo-tutorial","manual_kb_tag-php","manual_kb_tag-phpinfo-guide","manual_kb_tag-ftp-server","manual_kb_tag-check-php-configuration","manual_kb_tag-http","manual_kb_tag-php-ini-settings","manual_kb_tag-phpinfo","manual_kb_tag-check-php-memory_limit","manual_kb_tag-phpinfo-page","manual_kb_tag-wordpress-php-requirements","manual_kb_tag-phpinfo-function","manual_kb_tag-php-troubleshooting"],"_links":{"self":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/720","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":6,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/720\/revisions"}],"predecessor-version":[{"id":9320,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/720\/revisions\/9320"}],"wp:attachment":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/media?parent=720"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manualknowledgebasecat?post=720"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb_tag?post=720"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}