Req #48815 [Opn->Fbk]: Enhance php -m and phpinfo() output to show how extensions are loaded.

From: Date: Thu, 22 Jul 2021 09:36:35 +0000
Subject: Req #48815 [Opn->Fbk]: Enhance php -m and phpinfo() output to show how extensions are loaded.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-235254@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=48815&edit=1 ID: 48815 Updated by: cmb@php.net Reported by: RQuadling at GMail dot com Summary: Enhance php -m and phpinfo() output to show how extensions are loaded. -Status: Open +Status: Feedback Type: Feature/Change Request Package: PHP options/info functions Operating System: * PHP Version: * -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: Why would this be relevant? What's the uase case? Previous Comments: ------------------------------------------------------------------------ [2009-07-06 12:39:47] RQuadling at GMail dot com 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 this bug report at https://bugs.php.net/bug.php?id=48815&edit=1

« previous php.bugs (#235254) next »