2014年11月2日

摘要: OverviewThis article examines the various ways to maintain an efficient Magento database, even when large in size.Magento does many things well, but m... 阅读全文
posted @ 2014-11-02 23:22 3649 阅读(193) 评论(0) 推荐(0) 编辑
摘要: OverviewThis guide demonstrates how to optimize Magento performance. Most optimizations will work with any version of Magento. Those intended for spec... 阅读全文
posted @ 2014-11-02 23:21 3649 阅读(167) 评论(0) 推荐(0) 编辑

2014年11月1日

摘要: 在Apache的配置文件中找到下面行,将注释#去掉,重启。LoadModule deflate_module modules/mod_deflate.so LoadModule expires_module modules/mod_expires.so LoadModule header_mod... 阅读全文
posted @ 2014-11-01 14:49 3649 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 开启浏览器缓存后,在内容未过期前,浏览器不会重复从服务器提取数据文件,从而减少网页内容传输,提高网页打开速度。(1) 编辑Apache配置文件httpd.conf,查找下面这一行1#LoadModule expires_module modules/mod_expires.so删除前面的#;如没有就... 阅读全文
posted @ 2014-11-01 14:35 3649 阅读(1165) 评论(0) 推荐(0) 编辑
摘要: Apache模块 mod_expires概述这个模块控制服务器应答时的Expires头内容和Cache-Control头的max-age指令。有效期(expiration date)可以设置为相对于源文件的最后修改时刻或者客户端的访问时刻。这些HTTP头向客户端表明了文档的有效性和持久性。如果有缓存... 阅读全文
posted @ 2014-11-01 14:33 3649 阅读(1797) 评论(0) 推荐(0) 编辑
摘要: Ever wondered why Magento connect Gives you this error when you try to install an extension?First of all make sure /downloader folder has enough permi... 阅读全文
posted @ 2014-11-01 14:18 3649 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 从文件内容查找匹配指定字符串的行: $ grep "被查找的字符串" 文件名 从文件内容查找与正则表达式匹配的行: $ grep –e “正则表达式” 文件名 查找时不区分大小写: $ grep –i "被查找的字符串" 文件名 查找匹配的行数: $ grep -c "被查找的字符串" 文件名 从文... 阅读全文
posted @ 2014-11-01 10:23 3649 阅读(683) 评论(0) 推荐(0) 编辑

2014年10月25日

摘要: 第1列分钟1~59第2列小时1~23(0表示子夜)第3列日1~31第4列月1~12第5列星期0~6(0表示星期天)第6列要运行的命令下面是crontab的格式:分 时 日 月 星期 要运行的命令这里有crontab文件条目的一些例子:30 21 * * * /usr/local/apache/bin... 阅读全文
posted @ 2014-10-25 13:26 3649 阅读(106) 评论(0) 推荐(0) 编辑

2014年10月5日

摘要: query($strGetList); $results = array(); $xmlString = "\n"; $xmlString .="\n"; while( $rows = $GLOBALS['le']->fetch_assoc() ) { $results[] =... 阅读全文
posted @ 2014-10-05 11:32 3649 阅读(150) 评论(0) 推荐(0) 编辑

2014年9月30日

摘要: XAMPP虚拟主机配置,多域名绑定访问本地站点XAMPP有时候你需要一些顶级域名访问方式来访问你本地的项目也就是虚拟主机配置,这时候就需要配置虚拟主机,给你的目录绑定一个域名,实现多域名绑定访问在Mac 下一直使用 MAMP 搭建本地 php 环境,因为其强大的组合配置以及方便的 UI 操作。因为公... 阅读全文
posted @ 2014-09-30 12:34 3649 阅读(236) 评论(0) 推荐(0) 编辑

导航