摘要: 安装中文文档:http://www.yiichina.com/doc/guide/2.0/start-installation1,安装这里我直接下载归档文件,压缩包安装了。composer各种麻烦,国情你懂得。https://github.com/yiisoft/yii2/releases/down... 阅读全文
posted @ 2014-11-10 14:35 Lion_coder 阅读(4926) 评论(1) 推荐(1) 编辑
摘要: 上传程序后,安装phpMyAdmin-4.1.4-all-languages.3715384168.zip出现了错误:Warning: realpath() [function.realpath]: !open_basedir restriction in effect. File(/home/ww... 阅读全文
posted @ 2014-11-10 10:12 Lion_coder 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 今天搞了tp3.1的widget,继承了widget类,但是老是掉用错误,所以换种写法,直接继承actionTestAction.class.php1 $this->display();//调用模板2 3 Group/Home/Widget/TestWidget.class.php4 5 class... 阅读全文
posted @ 2014-11-10 10:11 Lion_coder 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 网址:http://medoo.lvtao.net//*medoo.php*/class medoo{protected $database_type = ‘mysql’;protected $server = ‘localhost’;protected $username = ‘your_user... 阅读全文
posted @ 2014-11-10 10:10 Lion_coder 阅读(1135) 评论(1) 推荐(0) 编辑
摘要: 类似Thinkphp映射到表的ORM机制。网址:http://www.notorm.com/pdo);//传入PDO,这里的$db->pdo ,我引入了medoo类的实例化对象,foreach ($D->tab1() as $v) {echo $v['value'].””;} 阅读全文
posted @ 2014-11-10 10:07 Lion_coder 阅读(918) 评论(0) 推荐(0) 编辑
摘要: 适用redhat于32位及64位,前提架设好本地源。在这里不再赘述。1 安装Apache+php+Mysqla、安装Apahce, PHP, Mysql, 以及php连接mysql库组件 yum -y install httpd php mysql mysql-server php-mysqlb、安... 阅读全文
posted @ 2014-11-10 10:06 Lion_coder 阅读(400) 评论(0) 推荐(0) 编辑
摘要: 安装好php环境之后安装扩展包$yum install php-devel/usr/bin/ 就会出现phpize工具包下载yaf-2.2.8.gz源文件,解压后,进入源文件phpize[root@localhost yaf-2.2.8]# phpizeConfiguring for:PHP Api... 阅读全文
posted @ 2014-11-10 10:05 Lion_coder 阅读(1503) 评论(0) 推荐(0) 编辑
摘要: 官网:http://wiki.swoole.com/wiki/index/prid-1国内Git镜像:http://git.oschina.net/matyhtf/swoole.git下载源码后,解压,进入该目录$cd swoole$phpize$./configuremake && make i... 阅读全文
posted @ 2014-11-10 10:04 Lion_coder 阅读(2434) 评论(0) 推荐(0) 编辑
摘要: 原文引用:http://blog.chinaunix.net/uid-24250828-id-3770298.html官方网站:http://www.mongodb.org/MongoDB 安裝,主从配置一 MongoDB 安装点击(此处)折叠或打开yum install wget #选y 在线下载... 阅读全文
posted @ 2014-11-10 10:03 Lion_coder 阅读(316) 评论(0) 推荐(0) 编辑
摘要: 原稿采自:http://blog.csdn.net/21aspnet/article/details/6960757第一步:下载安装编译#wgethttp://redis.googlecode.com/files/redis-2.4.4.tar.gz#tarzxvf redis-2.4.4.tar.... 阅读全文
posted @ 2014-11-10 10:02 Lion_coder 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 来自w3cshool的中文文档:http://www.w3cschool.cc/appml/appml-tutorial.html我们要做的是完整的例子,所以从这里http://www.w3cschool.cc/appml/appml-download.html下载一个实例,包含3个压缩包。Appm... 阅读全文
posted @ 2014-11-10 10:01 Lion_coder 阅读(795) 评论(0) 推荐(0) 编辑
摘要: 四处寻觅无果。无意看了一下wordpress官方的API函数。苍天有眼啊!原来,后台的编辑器可以插入很多增强功能。果断卸载掉CK and SyntaxHighlighter编辑器插件。事实上,Wordpress的编辑器很强大,几乎包含所有的编辑器按钮。只是程序默认的功能比较少而已吖!马上为自己的wo... 阅读全文
posted @ 2014-11-10 10:00 Lion_coder 阅读(4091) 评论(0) 推荐(0) 编辑
摘要: 一次偶然的机会知道有nodejs这个东西,确实对它还是很感兴趣的。刚开始只知道它能让javascript写后台,然后前后台都由javascript来写,确实觉得真的挺爽,毕竟人总是喜欢在自己熟悉领域做事。然后就在虚拟机装上一个linux centos6.5,忘记之前是怎么安装了nodejs,然后就在... 阅读全文
posted @ 2014-11-10 09:59 Lion_coder 阅读(912) 评论(0) 推荐(0) 编辑
摘要: 今天在看ueillemmx的博客的时候,看到一神级编辑器,随即安装试了试,我了个去,果然好用,自动补全,自动对齐,样样精通啊!下面是根据ueillemmx的步骤在CentOS上安装Sublime的过程:1.从官网下载相应操作系统的下的安装包(http://www.sublimetext.com/2)... 阅读全文
posted @ 2014-11-10 09:57 Lion_coder 阅读(596) 评论(0) 推荐(0) 编辑