Automated php.info creation

I realise that the idea is to dream big but…

I think it would be handy if there was a “Create php.info page” option available when creating a new server.

This would help those who are unfamiliar with “stuff” get to grips more quickly and aid the support as they could say “what does it say on your php.info?”

Can you explain more of what you mean?

If your taking about when people ask for phpinfo(); output then having that created automatically would be a security risk because anyone could view it. (Although this would be possible using the skeleton directory in /etc I believe.) “php.info” is simply s php file with the follow contents:

<?php
phpinfo();
?>

You should never leave such a information filled file available on a web server for longer than is required to obtain the information you need. It reveals a lot of information that could be used in a hacking attempt.

-Dustin