随笔分类 -  linux

摘要:由于php处理上传会出现超时,并且显示上传进度官方php不支持nginx+php,所以决定让nginx自己处理上传,我本地环境是mac上已经安装过nginx1.8.0,安装方式为brew,所以需要重新编译nginx添加upload模块。 nginx下载地址:http://nginx.org/e... 阅读全文
posted @ 2015-06-24 10:50 w7391108 阅读(3129) 评论(0) 推荐(0)
摘要:安装pear 的命令如下:$ wget http://pear.php.net/go-pear.phar$ php go-pear.phar如果报出PHP Warning: file_exists(): open_basedir restriction in effect.问题是出现在了PHP.IN... 阅读全文
posted @ 2015-05-29 11:47 w7391108 阅读(661) 评论(0) 推荐(0)
摘要:CentOS 下 redis 安装与配置1、到官网上找到合适版本下载解压安装Xml代码[root@javasrc]#wget-chttp://redis.googlecode.com/files/redis-2.4.7.tar.gz[root@javasrc]#tar-zxv-fredis-2.4.... 阅读全文
posted @ 2015-01-05 15:32 w7391108 阅读(348) 评论(0) 推荐(0)
摘要:今天配置一台server的php支持curl的时候, 出现如下报错checking for cURL in default path... not foundconfigure: error: Please reinstall the libcurl distribution -easy.h sho... 阅读全文
posted @ 2015-01-05 15:28 w7391108 阅读(847) 评论(0) 推荐(0)
摘要:make: *** 没有指明目标并且找不到 makefile。 停止。make: *** 没有规则可以创建目标“install”。 停止。不是没有makefile文件,而是你没有安装gcc编译器。先安装gcc编译器吧,与gcc相关联的软件比较多,你需要逐个安装。安装完gcc后才能用源代码的方式编译安... 阅读全文
posted @ 2015-01-05 15:27 w7391108 阅读(5308) 评论(0) 推荐(0)
摘要:checking for g++... nochecking for c++... nochecking for gpp... nochecking for aCC... no缺少C++编译器#yum install gcc-c++ 阅读全文
posted @ 2015-01-05 15:27 w7391108 阅读(986) 评论(0) 推荐(0)
摘要:如果是安装Centos6.5记得Perl是必选的,否则无法安装VMWare Tools!!!!切记如果出现make错误需要安装其他软件,装好后make cleanmake install clean 清理编译生成的Web服务器架构:Linux+Nginx+MySQL+PHP具体版本:CentOS ... 阅读全文
posted @ 2015-01-05 15:22 w7391108 阅读(259) 评论(0) 推荐(0)