/usr/local/php/bin/phpize
./configure --with-php-config=/usr/local/php/bin/php-config --with-ldap
报错
configure: error: Cannot find ldap.h
解决办法:
yum install openldap openldap-devel -y
第二个报错:
configure: error: Cannot find ldap libraries in /usr/lib
解决办法:
cp -frp /usr/lib64/libldap* /usr/lib/
Comments (0)