From:             RQuadling at GMail dot com
Operating system: Irrelevant
PHP version:      5.3CVS-2009-07-06 (snap)
PHP Bug Type:     Feature/Change Request
Bug description:  Enhance php -m and phpinfo() output to show how extensions 
are loaded.

Description:
------------
Not sure how this would work, but a small feature that I can see being 
of use is to be able to show how an extension is loaded.

Built-in, ini or dl() I think are the three ways in which an extension 
can be loaded.

Currently (CLI) php -m shows ...

[PHP Modules]
bcmath
bz2
calendar
com_dotnet
Core
ctype
curl
date
dom

Showing something like ...

[PHP Modules]
Built-in    :             : bcmath
php-cli.ini : C:\PHP5\ext : bz2
Built-in    :             : calendar
Built-in    :             : com_dotnet
Built-in    :             : Core
Built-in    :             : ctype
php-cli.ini : C:\PHP5\ext : curl
Built-in    :             : date
Built-in    :             : dom

and something similar for phpinfo()

Also, once this data is available, maybe it could become available via 
get_loaded_extensions().

Maybe as a second optional parameter 

array get_loaded_extensions ([ bool $zend_extensions= false, [bool 
$include_load_reason= false] ] )



-- 
Edit bug report at http://bugs.php.net/?id=48815&edit=1
-- 
Try a CVS snapshot (PHP 5.2):        
http://bugs.php.net/fix.php?id=48815&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):        
http://bugs.php.net/fix.php?id=48815&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):        
http://bugs.php.net/fix.php?id=48815&r=trysnapshot60
Fixed in CVS:                        
http://bugs.php.net/fix.php?id=48815&r=fixedcvs
Fixed in CVS and need be documented: 
http://bugs.php.net/fix.php?id=48815&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=48815&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=48815&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=48815&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=48815&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=48815&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=48815&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=48815&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=48815&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=48815&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=48815&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=48815&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=48815&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=48815&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=48815&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=48815&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=48815&r=mysqlcfg

Reply via email to