摘要: php 5.3.6 中 php-fpm 配置 成 服务启动从php5.3.3开始 源码中开始包含 php-fpm,不用专门再打补丁了,只需要解开源码直接configure,关于php-fpm的编译参数有 –enable-fpm –with-fpm-user=www –with-fpm-group=www –with-libevent-dir=libevent位置。这个php-fpm 不再支持 php-fpm 补丁具有的 /usr/local/php/sbin/php-fpm (start|stop|reload)等命令,需要使用信号控制:master进程可以理解以下信号SIGINT, SIGT 阅读全文
posted @ 2013-12-26 20:43 简单--生活 阅读(4557) 评论(0) 推荐(0) 编辑
摘要: 在安装php时,报如下错误In file included from /kk/php-5.4.0/ext/gd/gd.c:103:/kk/php-5.4.0/ext/gd/gd_ctx.c: In function ‘_php_image_stream_putc’:/kk/php-5.4.0/ext/gd/gd_ctx.c:51: 错误:‘struct gdIOCtx’ 没有名为 ‘data’ 的成员/kk/php-5.4.0/ext/gd/gd_ctx.c: In function ‘_php_image_stream_putbuf’:/kk/php-5.4.0/ext/gd/gd_ctx. 阅读全文
posted @ 2013-12-26 20:10 简单--生活 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 检查下面是不是已经安装,如果没有安装之:检查:yum list openldapyum list openldap-devel安装 :yum install openldapyum install openldap-develphp5.3 阅读全文
posted @ 2013-12-26 13:22 简单--生活 阅读(6934) 评论(2) 推荐(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:21 简单--生活 阅读(330) 评论(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 简单--生活 阅读(7752) 评论(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 简单--生活 阅读(1772) 评论(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 简单--生活 阅读(13782) 评论(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 简单--生活 阅读(18569) 评论(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 简单--生活 阅读(1009) 评论(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 简单--生活 阅读(3667) 评论(0) 推荐(0) 编辑
简单--生活(CSDN)