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?
make clean 清理一下
然后./configure
最后必须执行:
$make
$make install
修改GD库必须重新编译php
可以参考:http://www.jianshu.com/p/375f...
·/configure只是生成一个安装脚本,其实并没有安装。make之后只是编译好了文件也没有安装,只有make install后才会将文件放到你指定的文件夹下。