摘要:
今天配置一台server的php支持curl的时候, 出现如下报错checking for cURL in default path... not foundconfigure: error: Please reinstall the libcurl distribution -easy.h should be in/include/curl/其实就是curl的dev包没有安装, 解决方案:终端下# yum -y install curl-devel然后就可以继续了 阅读全文
摘要:
今天配置一台server的php支持curl的时候, 出现如下报错checking for cURL in default path... not foundconfigure: error: Please reinstall the libcurl distribution -easy.h should be in /include/curl/其实就是curl的dev包没有安装, 解决方案:终端下# yum -y install curl-devel可以 阅读全文
摘要:
./configure --prefix=/usr/local/php --with-gd=/usr/local/gd --with-jpeg-dir=/usr/local/jpeg --with-png-dir=/usr/local/png --with-freetype-dir=/usr/local/freetype --with-mysql=/usr/local/mysql --with-iconv-dir=/usr/local --with-mcrypt --with-mhash --with-zlib --enable-xml --disable-rpath --enable-bcm 阅读全文
摘要:
今天在centos 6.2 64位版本上安装LNMP,config php的时候出现下面错误而退出configure: error: Cannot find ldap libraries in /usr/lib解决办法:cp -frp /usr/lib64/libldap* /usr/lib/然后再./configure ...即可 阅读全文
摘要:
配置php的时候出现以下问题解决方案checking for MySQL support... yeschecking for specified location of the MySQL UNIX socket...nochecking for MySQL UNIX socket location... noconfigure: error: Cannot find libmysqlclient_r under/usr/local/mysql. Note that the MySQL client library is not bundledanymore!其实这跟PHP没有关系,那是因为 阅读全文
摘要:
我是今天再用emboss得时候发现出现问题了,再网上搜索了一下,发现有人和我一样得问题,解决得方法是:wget -O /usr/lib64/libmysqlclient.so.15 http://files.directadmin.com/services/es_5.0_64/libmysqlclient.so.15chmod 755 /usr/lib64/libmysqlclient.so.15 阅读全文
摘要:
make install出现了cp: cannot stat `ext/phar/phar.phar': No such file or directory于是我又: cd ext/phar/ls -l结果发现没有phar.phar 这个文件!!于是我怀疑是phar.php ,cp ./phar.php ./phar.pharmake install没有问题了呀!!问题解决呀!! 阅读全文