{"id":304,"date":"2008-11-14T14:21:47","date_gmt":"2008-11-14T21:21:47","guid":{"rendered":"http:\/\/chriscarey.com\/blog\/?p=304"},"modified":"2009-01-04T13:59:29","modified_gmt":"2009-01-04T20:59:29","slug":"php-phpinfo-on-the-fly","status":"publish","type":"post","link":"https:\/\/chriscarey.com\/blog\/2008\/11\/14\/php-phpinfo-on-the-fly\/","title":{"rendered":"PHP phpinfo() on the fly"},"content":{"rendered":"<p>Here is a little trick to get phpinfo() information on the fly.<\/p>\n<p>You need php-cli installed (sometimes its called php4-cli or php5-cli)<\/p>\n<div class=\"codecolorer-container text blackboard\" style=\"overflow:auto;white-space:nowrap;width:565px;\"><div class=\"text codecolorer\">echo &quot;&amp;lt;?php phpinfo(); ?&amp;gt;&quot; | php4<br \/>\necho &quot;&amp;lt;?php phpinfo(); ?&amp;gt;&quot; | php5<br \/>\necho &quot;&amp;lt;?php phpinfo(); ?&amp;gt;&quot; | php5-cli<\/div><\/div>\n<p>etc<\/p>\n<p>You can also tack on a | grep at the end if you want to filter for certain words.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is a little trick to get phpinfo() information on the fly. You need php-cli installed (sometimes its called php4-cli or php5-cli) echo &quot;&amp;lt;?php phpinfo(); ?&amp;gt;&quot; | php4 echo &quot;&amp;lt;?php phpinfo(); ?&amp;gt;&quot; | php5 echo &quot;&amp;lt;?php phpinfo(); ?&amp;gt;&quot; | php5-cli etc You can also tack on a | grep at the end if you want [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[3],"tags":[],"class_list":["post-304","post","type-post","status-publish","format-standard","hentry","category-Linux"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/prpYG-4U","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/posts\/304","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/comments?post=304"}],"version-history":[{"count":5,"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/posts\/304\/revisions"}],"predecessor-version":[{"id":345,"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/posts\/304\/revisions\/345"}],"wp:attachment":[{"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/media?parent=304"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/categories?post=304"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/tags?post=304"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}