如何查看PHP加载的扩展? [英] How do I see the extensions loaded by PHP?
本文介绍了如何查看PHP加载的扩展?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
它必须在phpinfo()转储中的某个位置,但是我只是不知道在哪里.是否应该在其他模块"部分下?别的地方?我试图弄清楚为什么某些扩展名似乎没有被加载,但我什至不知道我应该在哪里寻找.
It's got to be somewhere in the phpinfo() dump, but I just don't know where. Is it supposed to be under the "Additional Modules" section? Somewhere else? I'm trying to figure out why some extensions don't appear to be loaded, but I don't even know where I should be looking.
推荐答案
运行
php -m
将为您提供所有模块,而
will give you all the modules, and
php -i
将为您提供有关当前配置的更多详细信息.
will give you a lot more detailed information on what the current configuration.
这篇关于如何查看PHP加载的扩展?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文