1.首先下载php的mongodb扩展
从这个网址下载mongodb的扩展源码包
从http://pecl.php.net/package/mongo这个网址下载mongodb的扩展源码包
wgethttp://pecl.php.net/get/mongo-1.4.5.tgz
2.解压安装包
tarzxfmongo-1.4.5.tgz
3.进入解压目录,运行phpize进行安装准备
cdmongo-1...
分类:
数据库 时间:
2016-04-01 16:23:37
阅读次数:
271
[root@chenmemcache-2.2.3]#whichphpize/usr/bin/which:nophpizein(/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)phpize是属于php-devel的内容,因此在centos中只要运行如下命令:yuminstallphp-devel然后就会安装上phpize了。运行phpize是为了生..
分类:
Web程序 时间:
2016-04-01 06:47:36
阅读次数:
636
安装curl扩展遇到一个傻逼问题 [root@xxx openssl]# /usr/local/php/bin/phpizeCannot find config.m4.Make sure that you run '/usr/local/php/bin/phpize' in the top leve ...
分类:
Web程序 时间:
2016-03-28 23:29:04
阅读次数:
245
先安装php的memcache扩展(memcached和php通讯的中间件)wgethttp://www.lishiming.net/data/p_w_upload/forum/memcache-2.2.3.tgz#tarzxfmemcache-2.2.3.tgz#cdmemcache-2.2.3#/usr/local/php/bin/phpize#执行,生成./configure文件#./configure--with-php-config=/usr/local/ph..
分类:
Web程序 时间:
2016-03-26 08:59:58
阅读次数:
153
#wget http://pecl.PHP.net/get/yaf-2.2.9.tgz #tar zxvf yaf-2.2.9.tgz #cd yaf-2.2.9 [root@bogon yaf-2.2.9]# whereis phpize phpize: /usr/bin/phpize /usr/
分类:
系统相关 时间:
2016-02-25 15:29:10
阅读次数:
221
作者官网https://github.com/phpredis/phpredis # wget https://github.com/nicolasff/phpredis/archive/2.2.7.tar.gz# tar zxvf phpredis-2.2.7.tar.gz# cd phpredis-2.2.7用phpize生成configure配置文件# /usr/local/php/bin...
分类:
Web程序 时间:
2016-02-24 11:01:57
阅读次数:
185
一,phpize的好处 什么时候我们要用phpize呢?我们在安装php时: ./configure --prefix=/apps/product/php --with-config-file-path=/apps/product/php/etc \ --with-iconv-dir --with-
分类:
Web程序 时间:
2016-02-15 20:01:27
阅读次数:
273
本篇所用到的软件是xcache-3.2.0.tar.gz一、使用xcache给php加速解压xcache-3.2.0.tar.gz源码包,配置编译安装:#tarxvzfxcache-3.2.0.tar.gz#cdxcache-3.2.0在配置之前,需要先运行php安装目录下的bin/phpize程序,该程序的作用是为xcache的编译准备好php的扩展。于是:#/usr/..
分类:
Web程序 时间:
2016-02-03 14:37:18
阅读次数:
228
1.安装 linux: git clone https://github.com/mongodb/mongo-php-driver.git cd mongo-php-driver git submodule sync && git submodule update --init phpize ./c
分类:
数据库 时间:
2016-02-01 20:37:31
阅读次数:
234
如果编译时没有编译pdo模块,可以cd 到php编译时的目录,重新编译 1、切换到pdo_mysql目录,如php-5.5.10/ext/pdo_mysql/ 2、生成configure文件,在pdo_mysql目录下运行phpize,若没有加到path里,用全路径 3、运行configure,生成
分类:
数据库 时间:
2016-01-28 10:42:44
阅读次数:
221