上一页 1 2 3 4 5 6 7 8 ··· 49 下一页
摘要: 今天配置一台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然后就可以继续了 阅读全文
posted @ 2013-12-26 13:21 简单--生活 阅读(328) 评论(0) 推荐(0) 编辑
摘要: 今天配置一台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可以 阅读全文
posted @ 2013-12-26 13:20 简单--生活 阅读(7751) 评论(0) 推荐(0) 编辑
摘要: ./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 阅读全文
posted @ 2013-12-26 12:28 简单--生活 阅读(1771) 评论(0) 推荐(0) 编辑
摘要: 今天在centos 6.2 64位版本上安装LNMP,config php的时候出现下面错误而退出configure: error: Cannot find ldap libraries in /usr/lib解决办法:cp -frp /usr/lib64/libldap* /usr/lib/然后再./configure ...即可 阅读全文
posted @ 2013-12-26 12:23 简单--生活 阅读(13779) 评论(0) 推荐(0) 编辑
摘要: 配置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没有关系,那是因为 阅读全文
posted @ 2013-12-26 12:22 简单--生活 阅读(18543) 评论(2) 推荐(1) 编辑
摘要: 我是今天再用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 阅读全文
posted @ 2013-12-26 12:21 简单--生活 阅读(1007) 评论(0) 推荐(0) 编辑
摘要: 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没有问题了呀!!问题解决呀!! 阅读全文
posted @ 2013-12-26 12:20 简单--生活 阅读(3658) 评论(0) 推荐(0) 编辑
摘要: 前两天一个站点转移过来,因为给我的数据库有问题,我也没有仔细处理这个站点。今天把数据库弄好了,发现还是用不了,报的错误如下:Fatal error: Class ‘mysqli’ not found in。原来是我之前在编译php的时候,没有把mysqli的支持编译进去,解决问题的办法,就是重新编译一下 mysqli是优化后的mysql,具体的优点baidu下就ok了 cd php-5.2.8 在这下面有个ext文件夹里有mysqli cd ext/mysqli linux下将源码文件编译应该都有configure吧,可这里没有,在我们已经安装php后,php5这个文件夹里的命令目录b... 阅读全文
posted @ 2013-12-25 14:14 简单--生活 阅读(17609) 评论(0) 推荐(0) 编辑
摘要: 硬件环境:Dell PowerEdge 1950,4核Intel(R) Xeon(R) CPU E5410 @ 2.33GHz4G内存系统环境:CentOS release 5.2,内核版本: 2.6.18-92.el5安装步骤:一、编译安装php 5.4.3所需的支持库1.下载以下rpm包到/usr/local/softwarecurl-devel-7.15.5-2.el5.i386.rpm krb5-devel-1.6.1-25.el5.i386.rpm libpng-devel-1.2.10-7.1.el5_0.1.i386.rpm MySQL-client-5.5.24-1.linux 阅读全文
posted @ 2013-12-24 18:27 简单--生活 阅读(701) 评论(0) 推荐(0) 编辑
摘要: 安装到mcrypt的时候出现了问题./configure提示出错,首先提示*** Could not run libmcrypt test program, checking why…*** The test program failed to compile or link. See the file config.log for the*** exact error that occured. This usually means LIBMCRYPT was incorrectly installed*** or that you have moved LIBMCRYPT since it 阅读全文
posted @ 2013-12-24 17:34 简单--生活 阅读(5006) 评论(1) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 49 下一页
简单--生活(CSDN)