Locate available (not loaded) PHP extensions

后端 未结 3 936
再見小時候
再見小時候 2021-01-17 23:26

I need a way to find all the available PHP extensions whether they are loaded or not. I looked at How do I see the extensions loaded by PHP? but it only explains h

3条回答
  •  孤街浪徒
    2021-01-18 00:03

    Keep in mind that some extensions may be build statically into PHP. You will see these listed as extensions in php.ini but you will not be able to disable them, and in most cases you will not see an extension= line referring to them in php.ini or an .so / .DLL files. Removing statically compiled extensions requires recompiling PHP itself, and in most cases this is hardly needed as most statically compiled extensions tend to include core functionality which rarely needs to be removed.

    http://arr.gr/blog/2012/06/on-php-extensions/

    Thanks goes to Matteo Tassinari.

提交回复
热议问题