Thoughts on website ideas, PHP and other tech topics, plus going car-free
PHP info pastie utility
Categories: Ideas, Outline

I’ve a simple idea for a PHP information tool, very useful for beginners. If someone is asking about their PHP configuration on their system, they can just issue a command like this:

> wget | php

in the same manner as Composer (and adjusted suitably for Windows). This will then give them a PHP command to use like so:

> php getphpinfo.php
PHP info version 0.1

This is a temporary pastie that can be added to technical forum posts, IM conversations, etc., to show the user’s CLI and Apache phpinfo() output.


4 Comments to “PHP info pastie utility”

  1. Harry says:

    This is a cool idea. I think I have time over the weekend to maybe sprint it out 😀

Leave a Reply to Harry