1. 到cygwin官网下载cygwin。 官网地址:https://www.cygwin.com/ 2. 打开下载好的cygwin安装包,开始安装cygwin。 选择cygwin的安装目录(这个同时也会是swoole的安装目录): 选择文件包下载的存放位置: 选择下载地址: 选择gcc文件包下载: ...
需要测试下 代码的性能,使用了 xhprof + xhgui 1. 下载xhprof, 这里下载吧 :https://github.com/longxinH/xhprof.git 2, 安装 cd xhprof/extension/ /usr/local/php/bin/phpize ./confi ...
分类:
Web程序 时间:
2017-10-12 15:36:44
阅读次数:
260
$ wget http://pecl.php.net/get/yaf-2.3.5.tgz $ tar -zxvf yaf-2.3.5.tgz $ cd yaf-2.3.5 $yum install autoconf(如果缺少的情况下需要安装) $ cd /opt/php/bin/phpize $ . ...
分类:
其他好文 时间:
2017-10-10 14:40:06
阅读次数:
165
$ wget http://pecl.php.net/get/redis-3.1.3.tgz $ tar -zxvf redis-3.1.3.tgz $ cd redis-3.1.3.tgz $ /opt/php/bin/phpize $ ./configure --with-php-config= ...
分类:
Web程序 时间:
2017-10-10 14:37:55
阅读次数:
192
$ wget http://pecl.php.net/get/SeasLog-1.6.8.tgz $ tar -zxvf SeasLog-1.6.8.tgz $ cd SeasLog-1.6.8.tgz $ /opt/php/bin/phpize $ ./configure --with-php-c ...
分类:
其他好文 时间:
2017-10-10 14:33:42
阅读次数:
163
1.官网下载所对应的php 版本http://php.net/get/php-5.3.29.tar.gz/from/a/mirror 2.解压 找到需要的扩展目录 例如我要的是shmopcd ~/Downloads/php-5.3.29/ext/shmop 3.执行你所用php版本的phpize 而 ...
分类:
Web程序 时间:
2017-09-28 14:12:59
阅读次数:
271
执行phpize时出现Cannot find autoconf 错误 Ubuntu下解决方法 ...
分类:
Web程序 时间:
2017-09-24 00:27:09
阅读次数:
187
phpize建立php扩展Cannot find config.m4[root@ns root]# phpize Cannot find config.m4. Make sure that you run /usr/local/bin/phpize in the top level source d ...
分类:
Web程序 时间:
2017-09-13 15:13:14
阅读次数:
227
因为在PHP中mysql_connect模块已经逐渐被弃用,我在搭建环境时也没有再安装mysql扩展,但是今天在维护一个老项目时,出现报错 错误信息:Fatal error: Uncaught Error: Call to undefined function mysql_connect() 发现如 ...
分类:
数据库 时间:
2017-09-08 00:14:41
阅读次数:
220
ftp拓展 1、进入PHP安装源码包,找到ext下的ftp,进入 cd /usr/local/mysql/support-files/php-7.0.12/ext/ftp 2、/usr/local/php/bin/phpize 3、./configure --with-php-config=/usr ...
分类:
系统相关 时间:
2017-09-07 10:07:03
阅读次数:
242