摘要: a数据库多表查询 select a.id,a.title,a.typeid,b.body,a.pubdate,a.keywords,a.description from ras_archives a left join ras_addonarticle b on a.id=b.aid where a 阅读全文
posted @ 2022-10-15 13:00 3000 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 全局安装n模块 sudo npm install n -g2. 安装当前稳定版本 sudo n stable3.安装最新版本 sudo n latest4.node版本降级/升级(安装指定 node版本) sudo n 版本号sudo n v14.18.25.卸载指定 node版本 sudo n r 阅读全文
posted @ 2022-07-21 21:06 3000 阅读(3874) 评论(0) 推荐(0) 编辑
摘要: location ^~ /sub/ { set $subroot /home/www/sv8/wwwroot/; root $subroot; index index.php index.html; location ~ \.php { fastcgi_pass php5:9000; set $sc 阅读全文
posted @ 2021-10-18 21:16 3000 阅读(235) 评论(0) 推荐(0) 编辑
摘要: docker run -tid --name baota -p 80:80 -p 443:443 -p 8888:8888 -p 888:888 --privileged=true --shm-size=1g --restart always -v e:\wwwroot:/www/wwwroot p 阅读全文
posted @ 2021-10-05 10:10 3000 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 1、学习途径:慕课网 《webpack深入与实战》 2、环境 MAC系统、终端shell、nodejs 切换到项目夹中 根据提示输入项目名称、描述、入口文件等。 新建hello.js文件 用Webpack打包文件 将hello.js 编译成浏览可以兼容的JS代码 阅读全文
posted @ 2018-01-20 20:56 3000 阅读(247) 评论(0) 推荐(0) 编辑
摘要: mysql.server start 最后还是重新安装!!以前数据库内容丢失。 I think one can end up in this position with older versions of mysql already installed. I had the same problem 阅读全文
posted @ 2017-05-06 10:28 3000 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 环境: 直接升到最新版PHP5.6.x 刚才开MAC OS PHP 5.5 CENTOS PHP 5.5 composer install 依懒包错误。反复安装组件。还是不行。后来决定重新编释最新版 PHP5.6 在php 扩张地方通过了。 先安两个依懒包 MAC OS 直接用brew 安装php5 阅读全文
posted @ 2016-05-19 15:42 3000 阅读(443) 评论(0) 推荐(0) 编辑
摘要: ./configure '--prefix=/alidata/server/php' '--enable-opcache' '--with-config-file-path=/alidata/server/php/etc' '--with-mysql=mysqlnd' '--with-mysqli= 阅读全文
posted @ 2016-05-19 09:34 3000 阅读(497) 评论(0) 推荐(0) 编辑
摘要: 在命令行中输入上面 ,最后5.5是php版本号 自动安装FreeType 参考 http://yangjunwei.com/a/1570.html 底部留言。。 阅读全文
posted @ 2016-04-05 10:28 3000 阅读(838) 评论(0) 推荐(0) 编辑
摘要: 我们介绍一个可兼容所有浏览器的加入收藏代码代码,大概原理是这样的我们根据获取用户navigator.userAgent.toLowerCase()信息来判断浏览器,根据浏览器是否支持加入收藏js命令,如果可以自动收藏否则就提示ctrl+D手动收藏了。 复制本页面代码保存成js文件,然后在要收藏的地方 阅读全文
posted @ 2016-03-19 15:29 3000 阅读(8888) 评论(2) 推荐(0) 编辑