12 2016 档案

nginx使用include实现多域名访问
摘要:在nginx.conf中加入 http的括号里面 include host/*.conf; 路径是在conf文件下新增host文件里面存放多个域名的配置:如下shop.conf server { listen 80; server_name shop... 阅读全文

posted @ 2016-12-30 16:02 愤怒的苹果ext 阅读(77) 评论(0) 推荐(0) 编辑

nginx隐藏端口号
摘要:在做Nginx反向代理时遇到个很烦人的问题,总是要显示端口号,查找了下终于找到解决办法 server { listen 80; server_name localhost; proxy_set_he... 阅读全文

posted @ 2016-12-29 21:17 愤怒的苹果ext 阅读(114) 评论(0) 推荐(0) 编辑

ecshop mobile手机端使用UCenter
摘要:虽然ecshop mobile端并没有设置UCenter整合用户的选项,但是上有对策,下有政策。 我们主要可以修改数据库。ecs_ecsmart_shop_config表这就是配置表 第一步、 把uc_client复制到mobile文件夹下 再修改uc_c... 阅读全文

posted @ 2016-12-29 17:40 愤怒的苹果ext 阅读(34) 评论(0) 推荐(0) 编辑

PHP中Notice: unserialize(): Error at offset 109 of 615 bytes in on line 的解决方法
摘要:今天在集成UCenter通信时偶然遇到unserialize(): Error at offset 109 of 615 bytes,查找资料得到结果 使用unserialize函数将数据储存到数据库的时候遇到了这个报错,后来发现是将gb2312转换成utf-... 阅读全文

posted @ 2016-12-29 17:17 愤怒的苹果ext 阅读(39) 评论(0) 推荐(0) 编辑

windows安装多个Apache
摘要:复制出一个Apache 然后修改httpd.conf配置文件 修改的地方 AllowOverride None Options None Require all granted ServerRoot "D:/php2/Apa... 阅读全文

posted @ 2016-12-28 11:20 愤怒的苹果ext 阅读(29) 评论(0) 推荐(0) 编辑

mongodb基本使用
摘要:mongodb是一个文档型的NOSQL数据库,官网下载地址https://www.mongodb.com/download linux版本的要64位的我的虚拟机是32位的,我下的是Windows版本,不过操作都差不多。 下载好了接下来就安装。 安装后创... 阅读全文

posted @ 2016-12-22 11:33 愤怒的苹果ext 阅读(26) 评论(0) 推荐(0) 编辑

php遍历文件夹下面的所有文件,得到文件路径
摘要:直接上代码: filePath=array();//functiontraverse(path = '.') { global filePath;//current_dir = opendir($pa... 阅读全文

posted @ 2016-12-07 16:08 愤怒的苹果ext 阅读(28) 评论(0) 推荐(0) 编辑

ecshop和UCenter整合后用户注册检测不成功解决方案
摘要:ecshop和UCenter整合后莫名其妙的 很容易看出来sql语法不对定位到includes/modules/integrates/integrate.php看代码 原因就是$this->field_mobile_phone未被赋值为... 阅读全文

posted @ 2016-12-05 16:56 愤怒的苹果ext 阅读(27) 评论(0) 推荐(0) 编辑

php安装mcrypt扩展
摘要:查了一下资料使用 yum install php-mcrypt 安装mcrypt扩展时会提示没有安装包 Setting up Install Process No package php-mcrypt available. Error: Nothing t... 阅读全文

posted @ 2016-12-02 14:49 愤怒的苹果ext 阅读(109) 评论(0) 推荐(0) 编辑

centos下压缩文件7z解压
摘要:源码安装: wget http://nchc.dl.sourceforge.net/sourceforge/p7zip/p7zip_4.65_src_all.tar.bz2tar -xjvf p7zip_4.65_src_all.tar.bz2cd p7zip... 阅读全文

posted @ 2016-12-02 10:25 愤怒的苹果ext 阅读(124) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示