If I compile PHP 5 from source and realize I forgot a --with-curl
in it, can I run the same ./configure
command and add --with-curl
at the end and it will add it? Or can I just do ./configure --with-curl
and it will add it to the everything t开发者_Python百科hat is already installed?
You have to reconfigure and then recompile.
You need to added it to the end of your old configuration like this
./configure --with-something1 --with-something2 --with-curl
You should run ./configure
(previous command + new addition), make
, make install
, make clean
.
./configure
doesn't remember the parameters you last used to call it, although you can fish them out of config.status
if you have forgotten them.
You need to run the correct configure command and compile using the make command. If you wane more information about autoconf see http://www.gnu.org/software/autoconf/#introduction basically ./configure just sets up the build and you can change options using it.
精彩评论