安装/配置 编译安装 wge thttp://pecl.php.net/get/yaf-2.3.5.tgz tar -zxvfyaf-2.3.5.tgz cd yaf-2.3.5/ cd extension/ /usr/local/php-5.3.3/bin/phpize ./configure -... ...
分类:
Web程序 时间:
2016-05-13 09:07:21
阅读次数:
200
apc安装 wget http://pecl.php.net/get/APC-3.1.13.tgz tar zxvf APC-3.1.13.tgz cd APC-3.1.13 /usr/local/php/bin/phpize ./configure --with-php-config=/usr/l... ...
分类:
Web程序 时间:
2016-05-13 08:52:08
阅读次数:
142
运行/usr/local/webserver/php/bin/phpize时出现:
Configuringfor:
PHPApiVersion:20041225
ZendModuleApiNo:20060613
ZendExtensionApiNo:220060519
Cannotfindautoconf.Pleasecheckyourautoconfinstallationandthe
$PHP_AUTOCONFenvironmentvariable.Then,rerunthisscript.
..
分类:
Web程序 时间:
2016-05-13 05:04:52
阅读次数:
475
php和mysql是安装在不同的机器上。编译php时./configure\--with-mysql=mysqlnd\--with-mysqli=mysqlnd\--with-pdo-mysql=mysqlnd最后mysql的PDO好像没有加载上去。解决办法:1、进入源码包:php-5.5.32/ext/pdo_mysql/usr/local/services/php/bin/phpize#可以显示出对应号./conf..
分类:
数据库 时间:
2016-05-13 04:48:10
阅读次数:
574
主要是安装软件memcache数据库缓存扩展模块分为服务器端memcached客户端插件memcachehttp://pan.baidu.com/s/1qYDwiDI软件可到这里面下载tarxfmemcache-2.2.5.tgzcdmemcache-2.2.5/application/php/bin/phpize./configure--with-php-config=/application/php/bin/php-configmak..
分类:
其他好文 时间:
2016-05-04 19:14:26
阅读次数:
149
为什么使用phpize? 比如刚开始安装的时候使用 ./configure --prefix=/usr/local/php7 --exec-prefix=/usr/local/php7 --bindir=/usr/local/php7/bin --sbindir=/usr/local/php7/sb ...
分类:
Web程序 时间:
2016-05-02 21:29:53
阅读次数:
376
#wget http://pecl.php.net/get/memcache-2.2.6.tgz # tar zxf memcache-2.2.6.tgz # cd php/bin/phpize # /usr/local/php/bin/phpize # ./configure --with-php ...
分类:
系统相关 时间:
2016-04-25 14:41:39
阅读次数:
147
以opcache为例讲解找到php源码文件进入opcache扩展库路径cd/soft/php/php-5.6.10/ext/opcache执行phpize命令找到原来php的配置文件./configure--with-php-config=/usr/local/php/bin/php-configmake&&makeinstall如果没什么问题将出现如下提示(可能与你的不同):Install..
分类:
Web程序 时间:
2016-04-20 18:15:59
阅读次数:
360
1)到 https://pecl.php.net/ 上搜索并下载(wget)你需要的扩展的源码包 2)解压并切换进入扩展包的目录 3)使用phpize工具自动生成 configure 4)configure配置扩展 5)编译并安装扩展 【下面以编译php的mongodb扩展来做一个代码参考】 ...
分类:
数据库 时间:
2016-04-15 00:33:58
阅读次数:
212
用C开发PHP扩展的时候如果用动态链接库的方式编译扩展模块,需要用到phpize,这个工具在使用apt-getinstallphp5默认情况也是没安装的,安装phpize:apt-getinstallphp5-dev
分类:
Web程序 时间:
2016-04-04 21:07:26
阅读次数:
608