本文环境: Mac OS X 10.8.5 Xcode 5.0 Mac OS X升级到10.8.5之后,内置的Apache升级到2.2.24,PHP升级到了5.3.26.本文以此环境为基础. 本文简介安装memcache.mcrypt.igbinary. 一.首先准备Xcode和autoconf. 安装的过程需要Xcode的命令行工具,编译PHP扩展需要有autoconf. Xcode是苹果公司提供的免费开发工具,请从App Store中搜索安装.完成安装之后,请通过Xcode的菜单[Xcode
PHPExcel 是一个php语言读取导出数据.导入生成Excel的类库,使用起来非常方便,但有时会遇到以些问题,比如导出的数据超时,内存溢出等. 下面我们来说说这些问题和解决办法. PHPExcel 版本:@version 1.8.0, 2014-03-02 能遇到这样的问题一般都是因为数据量大导致 1.PHPExcel 报错 报错提示: 'break' not in the 'loop' or 'switch' context 严格的讲这个不是PHPExcel的错误,是PHP版本的问题
Classes and methods Usage Class Redis Class RedisException Predefined constants Class Redis Description: Creates a Redis client Example $redis = new Redis(); Class RedisException phpredis throws a RedisException object if it can't reach the Redis ser
phpredis扩展安装总结:PHP扩展安装在[root@iZ254lfyd6nZ lampp]# cd include 目录下创建一个目录phpredis下载扩展:wget https://github.com/nicolasff/phpredis/archive/master.tar.gz解压:[root@iZ254lfyd6nZ phpredis]# tar xvf master.tar.gz运行:[root@iZ254lfyd6nZ phpredis-master]# /opt/lamp