摘要: 记的东西太多了,下载源码安装太坑了,直接yum安装,上代码 安装 . php yum install epel-release yum install httpd -y(检测rpm -qa httpd) yum install gcc gcc++ libxml2-devel rpm -Uvh htt 阅读全文
posted @ 2018-01-18 10:25 蜗牛使劲冲 阅读(15) 评论(0) 推荐(0)
摘要: 我 restart apache报了 ***Redirecting to/bin/systemctl start httpd.service //转到bin文件夹启动服务 Job for httpd.service failed.See ‘systemctl status httpd.service 阅读全文
posted @ 2018-01-18 10:00 蜗牛使劲冲 阅读(19) 评论(0) 推荐(0)
摘要: apache的包也下好了,也tar过了,然后嘛老样子 开始configure,我执行命令 ./configure –prefix=/usr/local/httpd –with-apr=/usr/local/apr –with-apr-util=/usr/local/apr-util –with-pc 阅读全文
posted @ 2018-01-17 17:55 蜗牛使劲冲 阅读(27) 评论(0) 推荐(0)
摘要: let item = { name: $(this).children('#sizing-addon1').text(), money: $(this).children('input').val() }; data_arr.push(item)// push到一个对象里面 // 下面就是ajax操 阅读全文
posted @ 2018-01-04 16:37 蜗牛使劲冲 阅读(17) 评论(0) 推荐(0)
摘要: <script> $(".askCheng").click(function(){ var user_id = $("input[name='user_id']").val(), course_id = $("input[name='course_id']").val(), section_id = 阅读全文
posted @ 2017-12-06 10:16 蜗牛使劲冲 阅读(28) 评论(0) 推荐(0)
摘要: 再做git教程 git init–初始化 git add readme.txt – 把文件添加到仓库 git commit -m “wrote a readme.txt” – 提交到仓库 git status – 查看仓库状态 git diff readme.txt – 查看不同 git diff 阅读全文
posted @ 2017-11-17 14:32 蜗牛使劲冲 阅读(18) 评论(0) 推荐(0)
摘要: $date=date("Ymd"); $filename = $date."-".$this->user_id.".txt"; $fp = fopen('./plugins/bijidown/'.$filename, 'w') or die("Unable to open file!"); fwri 阅读全文
posted @ 2017-11-13 09:21 蜗牛使劲冲 阅读(14) 评论(0) 推荐(0)
摘要: <?php $js = <<<JS ..........//没有<script>标签 ............ ................. JS; $this->registerJs($js);//这个方法在view.php里面 $html = <<<HTML ............... 阅读全文
posted @ 2017-11-09 19:36 蜗牛使劲冲 阅读(9) 评论(0) 推荐(0)
摘要: 通过composer.json放在根目录,然后通过输入命令行:composer require twbs/bootstrap,自动安装到了vendor/twbs/bootstrap。 或者通过git安装复制这个文件package.json放在根目录,然后命令行,路径自己注意。 <!DOCTYPE h 阅读全文
posted @ 2017-10-31 10:49 蜗牛使劲冲 阅读(24) 评论(0) 推荐(0)
摘要: 路由介绍 http://b.zmnjz.com/index.php?r=site/view 走的是SiteController.php里面的actionView() ->where(['status' => Customer::STATUS_ACTIVE]) 提示:在上面的代码中,Customer: 阅读全文
posted @ 2017-10-25 10:43 蜗牛使劲冲 阅读(33) 评论(0) 推荐(0)