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

From: Date: Sun, 01 Aug 2021 04:22:08 +0000
Subject: Req #48815 [Fbk->NoF]: 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-235502@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: php-bugs@lists.php.net Reported by: RQuadling at GMail dot com Summary: Enhance php -m and phpinfo() output to show how extensions are loaded. -Status: Feedback +Status: No Feedback Type: Feature/Change Request Package: PHP options/info functions Operating System: * PHP Version: * Assigned To: cmb Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2021-07-22 09:36:35] cmb@php.net Why would this be relevant? What's the uase case? ------------------------------------------------------------------------ [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 (#235502) next »