{"id":2151,"date":"2009-08-15T23:30:05","date_gmt":"2009-08-15T23:30:05","guid":{"rendered":"http:\/\/localhost\/helpcentre\/?p=2151"},"modified":"2023-09-06T11:01:26","modified_gmt":"2023-09-06T09:01:26","slug":"what-is-phpinfo-and-how-can-i-run-it","status":"publish","type":"post","link":"https:\/\/xneelo.co.za\/help-centre\/website\/what-is-phpinfo-and-how-can-i-run-it\/","title":{"rendered":"What is PHPinfo and how can I run it?"},"content":{"rendered":"<p><b>PHPinfo <\/b>is a useful function of PHP for returning compiled information about the PHP environment on your server. This includes information about PHP compilation options and extensions, the PHP version, server information and environment, the PHP environment, OS version information, paths, master and local values of configuration options, HTTP headers and the PHP license.<\/p>\n<p>Because every system is setup differently, phpinfo is commonly used to check configuration settings for available predefined variables on a given system. Also, phpinfo is a valuable debugging tool as it contains all EGPCS (Environment, GET, POST, Cookie, Server) data.<\/p>\n<p>Copy and paste the following code into your text editor, and save the file as phpinfo.php:<\/p>\n<blockquote><p>&lt;?php phpinfo(); ?&gt;<\/p><\/blockquote>\n<p>Upload the file (phpinfo.php) into the public_html folder of your domain. If your file is named \u2018phpinfo.php\u2019, then browse to www.your-domain.com\/phpinfo.php (where \u2018your-domain.com\u2019 is the name of your registered domain).<\/p>\n","protected":false,"plain":"<b>PHPinfo <\/b>is a useful function of PHP for returning compiled information about the PHP environment on your server. This includes information about PHP compilation options and extensions, the PHP version, server information and environment, the PHP environment, OS version information, paths, master and local values of configuration options, HTTP headers and the PHP license.\r\n\r\nBecause every system is setup differently, phpinfo is commonly used to check configuration settings for available predefined variables on a given system. Also, phpinfo is a valuable debugging tool as it contains all EGPCS (Environment, GET, POST, Cookie, Server) data.\r\n\r\nCopy and paste the following code into your text editor, and save the file as phpinfo.php:\r\n<blockquote>&lt;?php phpinfo(); ?&gt;<\/blockquote>\r\nUpload the file (phpinfo.php) into the public_html folder of your domain. If your file is named \u2018phpinfo.php\u2019, then browse to www.your-domain.com\/phpinfo.php (where \u2018your-domain.com\u2019 is the name of your registered domain)."},"excerpt":{"rendered":"<p>PHPinfo is a useful function of PHP for returning compiled information about the PHP environment on your server.  <\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"lsx_disable_title":"0","_relevanssi_hide_post":"","_relevanssi_hide_content":"","_relevanssi_pin_for_all":"","_relevanssi_pin_keywords":"","_relevanssi_unpin_keywords":"","_relevanssi_related_keywords":"","_relevanssi_related_include_ids":"","_relevanssi_related_exclude_ids":"","_relevanssi_related_no_append":"","_relevanssi_related_not_related":"","_relevanssi_related_posts":"","_relevanssi_noindex_reason":"","footnotes":""},"categories":[168,179,166],"tags":[20714,14692,14695],"topics":[19481],"class_list":["post-2151","post","type-post","status-publish","format-standard","hentry","category-managing-website","category-php","category-website","tag-what-is-phpinfo-and-how-can-i-run-it","tag-php-info","tag-info","topics-php-upgrade"],"acf":[],"additional_meta":{"category_title":[{"term_id":168,"name":"Managing your Website","slug":"managing-website","term_group":0,"term_taxonomy_id":168,"taxonomy":"category","description":"Managing your Website","parent":166,"count":52,"filter":"raw","term_order":"83","cat_ID":168,"category_count":52,"category_description":"Managing your Website","cat_name":"Managing your Website","category_nicename":"managing-website","category_parent":166},{"term_id":179,"name":"PHP","slug":"php","term_group":0,"term_taxonomy_id":179,"taxonomy":"category","description":"Allowing you to create dynamic content that interacts with databases","parent":168,"count":20,"filter":"raw","term_order":"97","cat_ID":179,"category_count":20,"category_description":"Allowing you to create dynamic content that interacts with databases","cat_name":"PHP","category_nicename":"php","category_parent":168},{"term_id":166,"name":"Website","slug":"website","term_group":0,"term_taxonomy_id":166,"taxonomy":"category","description":"About your Website(s)","parent":0,"count":169,"filter":"raw","term_order":"120","cat_ID":166,"category_count":169,"category_description":"About your Website(s)","cat_name":"Website","category_nicename":"website","category_parent":0}],"tag_title":[{"term_id":20714,"name":"What is PHPinfo and how can I run it?","slug":"what-is-phpinfo-and-how-can-i-run-it","term_group":0,"term_taxonomy_id":20714,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw","term_order":"1237"},{"term_id":14692,"name":"PHP info","slug":"php-info","term_group":0,"term_taxonomy_id":14692,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw","term_order":"2580"},{"term_id":14695,"name":"info","slug":"info","term_group":0,"term_taxonomy_id":14695,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw","term_order":"2581"}]},"featured_image_src":null,"author_info":{"display_name":"marketing","author_link":"https:\/\/xneelo.co.za\/help-centre\/author\/marketing\/","author_avatar":"https:\/\/secure.gravatar.com\/avatar\/a6ea315e112423b2b955cb020fbce2b0835956c6ad85ff0f13f1db298977eaaa?s=96&d=mm&r=g"},"_links":{"self":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/posts\/2151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/comments?post=2151"}],"version-history":[{"count":0,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/posts\/2151\/revisions"}],"wp:attachment":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/media?parent=2151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/categories?post=2151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/tags?post=2151"},{"taxonomy":"topics","embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/topics?post=2151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}