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".
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
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