Last modified: 2011-03-13 18:06:11 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T11317, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9317 - Extend Special:Version with phpInfo()
Extend Special:Version with phpInfo()
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-17 11:47 UTC by Gunter Schmidt
Modified: 2011-03-13 18:06 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
adds phpinfo to specialversion (2.67 KB, patch)
2007-03-17 11:48 UTC, Gunter Schmidt
Details

Description Gunter Schmidt 2007-03-17 11:47:12 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.

See patch.
Comment 1 Gunter Schmidt 2007-03-17 11:48:08 UTC
Created attachment 3357 [details]
adds phpinfo to specialversion

Needs parameter: $showPHPinfo = true;
Comment 2 Rob Church 2007-03-17 16:44:33 UTC
What's the difficulty in creating a stub file containing <?php phpinfo() ?>
again? I don't see the need for this.
Comment 3 Gunter Schmidt 2007-03-17 17:43:19 UTC
Not all administrators are engaged in php programming. Your solution is quite simple - to a programmer.
Comment 4 Rob Church 2007-03-17 17:50:01 UTC
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.
Comment 5 Brion Vibber 2007-03-17 18:20:36 UTC
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
presence of
particular modules or functions.

Trying to screen-scrape phpinfo() seems fragile at best, and I would not
recommend it.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links