php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #30139 Link phpinfo() modules to manual
Submitted: 2004-09-18 16:34 UTC Modified: 2017-08-23 00:39 UTC
Votes:6
Avg. Score:3.8 ± 0.4
Reproduced:3 of 4 (75.0%)
Same Version:1 (33.3%)
Same OS:2 (66.7%)
From: phpbugs at everythingbuffy dot com Assigned:
Status: Analyzed Package: PHP options/info functions
PHP Version: 5.0.1 OS: XP Home
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
18 + 36 = ?
Subscribe to this entry?

 
 [2004-09-18 16:34 UTC] phpbugs at everythingbuffy dot com
Description:
------------
To make it easier to find information for items enabled in the PHP build why not link the output of phpinfo() to the specific manual pages?

This would be easy to achieve, as follows:

In /ext/standard/info.c change line 70 from:

php_printf("<h2><a name=\"module_%s\">%s</a></h2>\n", module->name, module->name);

To:

php_printf("<h2><a href=\"http://www.php.net/%s\" title=\"%s\">%s</a></h2>\n", module->name, module->name, module->name);

Thank you

Sean :)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-12-21 19:41 UTC] johannes@php.net
-Package: Feature/Change Request +Package: PHP options/info functions
 [2010-12-21 19:41 UTC] johannes@php.net
It is not that easy as PHP extensions might come from third party sources. This requires extending the module_entry structure. (zend_extions interestingly provide this functionality ...)
 [2017-08-23 00:37 UTC] kalle@php.net
Like Johannes said it requires extending the module_entry, while it can be introduced in a minor version, it does mean another #ifdef for cross version compatibility, so probably best in the next major version, tho I don't expect this to be a large use
 [2017-08-23 00:39 UTC] kalle@php.net
-Status: Open +Status: Analyzed
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed Dec 11 02:01:23 2019 UTC