zip-1.15.5
phpize
./configure
configure: error: Please reinstall the libzip distribution
error:
php configure: error: Please reinstall the libzip distribution
解决方法:
[root@localhost ~]# wget https://libzip.org/download/libzip-1.5.2.tar.gz
[root@localhost ~]# tar -zxf libzip-1.5.2.tar.gz
[root@localhost ~]# cd libzip-1.5.2
[root@localhost ~]# mkdir build
[root@localhost ~]# cd build
[root@localhost ~]# cmake .. (#注意:cmake后面有两个小数点)
[root@localhost ~]# make -j4
[root@localhost ~]# make test
[root@localhost ~]# make install
执行make
fatal error: 'php.h' file not found
sudo ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/php /usr/local/include
修改文件:/Users/kati