开发者

Forgot to include --with-curl when configuring PHP. How to add without disrupting other extensions?

开发者 https://www.devze.com 2023-03-08 05:16 出处:网络
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-cu

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消