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 https://phpinfosite.com/installer.php | 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 Link: https://phpinfosite.com/hf28g2gnv
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.