Last modified: 2011-03-13 18:06:11 UTC
This introduces a new parameter: $showPHPinfo = true; for LocalSettings.php.
This parameter should be set to false for security reasons on public sites. It will then only display
some additional information on the GD module.
If set to true, the whole phpInfo will be displayed in a nicely formatted table on Special:Version.
Created attachment 3357 [details]
adds phpinfo to specialversion
Needs parameter: $showPHPinfo = true;
What's the difficulty in creating a stub file containing <?php phpinfo() ?>
again? I don't see the need for this.
Not all administrators are engaged in php programming. Your solution is quite simple - to a programmer.
It's a one line file. It's simple to anyone who can use a text editor. People
are expected to be able to deal with their own PHP problems before installing
software that uses PHP. We're not here to hold people's hands.
It might be nice to list the presence/absence of a few modules which are used,
as a debugging aid.
But you can get that information in a more purpose-specific way, by checking for
particular modules or functions.
Trying to screen-scrape phpinfo() seems fragile at best, and I would not