上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 26 下一页

2014年11月13日

升级Mac osx 10.10 后安装php 的mcrypt extension

摘要: 昨天折腾到凌晨四点多,今天又到这个点,终于成功了,心情比较复杂,先记录一下,改日再整理,此刻头昏脑胀,只想蒙头大睡。发的问题,还没人回复,自己找到答案了,英语比较蹩脚,凑合看。。http://stackoverflow.com/questions/26892133/how-to-install-mc... 阅读全文

posted @ 2014-11-13 01:46 walter371 阅读(889) 评论(2) 推荐(0) 编辑

2014年11月12日

CP="CAO PSA OUR" 用P3P header解决iframe跨域访问cookie

摘要: 1、IE浏览器iframe跨域丢失Session问题在开发中,我们经常会遇到使用Frame来工作,而且有时是为了跟其他网站集成,应用到多域的情况下,而Iframe是不能保存Session的因此,网上可以找到很多相关的文章,如果网站可以采用设置Web.Config中的配置: mode="StateSe... 阅读全文

posted @ 2014-11-12 10:59 walter371 阅读(793) 评论(0) 推荐(0) 编辑

How To Fix – Mcrypt PHP extension required in Laravel on Mac OS X (No MAMP)

摘要: Laravel PHP web framework requires certain libraries to function properly. One of these libraries is the mcrypt and the php-mcrypt (bridge between mcr... 阅读全文

posted @ 2014-11-12 04:11 walter371 阅读(977) 评论(0) 推荐(0) 编辑

Mac OS X 安装 brew 工具!

摘要: 最早的ports管理就是BSD那种,后来出现强大的Debian,弄了个dpkg+apt!Mac OS X 最早使用比较多的工具是 MacPorts,但是现在来看这个工具有点老,不是很稳定,那我们推荐你安装 brew。安装brew的命令如下:sudo sucurl -L http://github.c... 阅读全文

posted @ 2014-11-12 03:46 walter371 阅读(404) 评论(0) 推荐(0) 编辑

Install mcrypt for php on Mac OSX 10.10 Yosemite for a Development Server

摘要: mcryptis a file encryption method using secure techniques to exchange data. It is required for some web apps for exampleMagento, the shopping cart sof... 阅读全文

posted @ 2014-11-12 01:30 walter371 阅读(508) 评论(0) 推荐(0) 编辑

MAC 升级到10.10(OS X Yosemite)下apache+php的配置问题

摘要: MAC升级到最新系统后 本地测试的站点不能正常运行,其原因是mac系统升级后 他的apache的版本也随之升级了版本Server version: Apache/2.4.9 (Unix)Server built: Sep 9 2014 14:48:20升级前的版本为 10.9Server vers... 阅读全文

posted @ 2014-11-12 00:07 walter371 阅读(529) 评论(0) 推荐(0) 编辑

2014年11月11日

Yii2 composer更新后报错: Calling unknown method: yii\web\UrlManager::addRules()

摘要: 网上搜了好多答案,基本上都是让你在composer.json里面添加这样一段话: "extra": { "asset-installer-paths": { "npm-asset-library": "vendor/npm", ... 阅读全文

posted @ 2014-11-11 15:18 walter371 阅读(463) 评论(0) 推荐(0) 编辑

npm,grunt,less,sass,typescript

摘要: typescript http://www.typescriptlang.orgsass http://sass-lang.com/less http://lesscss.org/bower http://bower.io/grunt http://www.gruntjs.net... 阅读全文

posted @ 2014-11-11 14:40 walter371 阅读(210) 评论(0) 推荐(0) 编辑

2014年11月2日

PHP中::、->、self、$this操作符的区别

摘要: 在访问PHP类中的成员变量或方法时,如果被引用的变量或者方法被声明成const(定义常量)或者static(声明静态),那么就必须使用操作符::,反之如果被引用的变量或者方法没有被声明成const或者static,那么就必须使用操作符->。另外,如果从类的内部访问const或者static变量或者方... 阅读全文

posted @ 2014-11-02 15:40 walter371 阅读(229) 评论(0) 推荐(0) 编辑

理解PHP 依赖注入|Laravel IoC容器

摘要: 看Laravel的IoC容器文档只是介绍实例,但是没有说原理,之前用MVC框架都没有在意这个概念,无意中在phalcon的文档中看到这个详细的介绍,感觉豁然开朗,复制粘贴过来,主要是好久没有写东西了,现在确实很懒变得!首先,我们假设,我们要开发一个组件命名为SomeComponent。这个组件中现在... 阅读全文

posted @ 2014-11-02 14:58 walter371 阅读(428) 评论(0) 推荐(0) 编辑

上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 26 下一页

导航