What is the default PHP configuration?

血红的双手。 提交于 2019-12-22 11:04:00

问题


What are the default PHP --configure flags, that are set when doing a standard LAMP install via tasksel? I have to recompile PHP to include process control for my buddy, but I haven't been able to find a list of all flags that come by "default".


回答1:


You can do php -i | grep config -i this should return what are the configure used by taskel.

Backup your php.ini before you proceed with re-compilation...

PS: you might need to download PHP source for compilation




回答2:


If you're trying to recreate a previous compile so as to activate new modules, the phpinfo() output contains the exact ./configure args used to create that version.



来源:https://stackoverflow.com/questions/4473502/what-is-the-default-php-configuration

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!