search

Home  >  Q&A  >  body text

linux - Do I need to delete the previously installed folder to recompile php?

When I installed PHP for the first time, I did not install the gd library. I compiled it again and brought gd, but the freetype that gd depends on was still not installed, so I wanted to recompile and install it. After I configured..., I found that there was no change. Do you want to delete the previously installed folder?

世界只因有你世界只因有你2790 days ago867

reply all(3)I'll reply

  • 漂亮男人

    漂亮男人2017-05-18 10:50:05

    make

    make install

    reply
    0
  • 淡淡烟草味

    淡淡烟草味2017-05-18 10:50:05

    make clean Clean up
    then ./configure
    Finally you must execute:
    $make
    $make install
    To modify the GD library, you must recompile php
    You can refer to: http://www.jianshu.com/p/375f...

    reply
    0
  • 迷茫

    迷茫2017-05-18 10:50:05

    ·/configure only generates an installation script, but does not actually install it. After make, the file is only compiled but not installed. Only after make install will the file be placed in the folder you specified.

    reply
    0
  • Cancelreply