上一页 1 ··· 6 7 8 9 10
摘要: 准备环境: cos7.2 & php 7.1.7 1.www.swoole.com找到对应版本2.使用git clone或则 wget 命令(下载后需解压)进行下载3.在swoole目录使用phpize生成configure文件4.在swoole目录运行configure文件(./configure 阅读全文
posted @ 2018-05-06 15:58 zonehoo 阅读(183) 评论(0) 推荐(0) 编辑
摘要: update test_table set user_id = 112 where id in (select id from ( select id from test_table where number in ( 008667 , 008706 , 008707 ) ) as s); 字段操作 阅读全文
posted @ 2018-02-24 17:19 zonehoo 阅读(471) 评论(0) 推荐(0) 编辑
摘要: 去除最后的逗号substr_replace($update_sql ,"",-1);去除最后的and substr_replace($update_sql ,"",-3); 阅读全文
posted @ 2018-01-28 12:10 zonehoo 阅读(2413) 评论(0) 推荐(0) 编辑
摘要: elastic search 官方文档:https://www.elastic.co/guide/en/elasticsearch/client/php-api/current/_quickstart.html elastic search 官方文档(中文):https://www.elastic. 阅读全文
posted @ 2018-01-23 00:11 zonehoo 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 原先sql获取角色对应的权限信息: select a.*, group_concat(b.auth_name) as auth_name from sh_role a left join sh_auth b on find_in_set( b.auth_id, a.role_id_list) gro 阅读全文
posted @ 2018-01-19 18:04 zonehoo 阅读(145) 评论(0) 推荐(0) 编辑
摘要: mysql 大数据库文件上传(10G)phpstudy2017 环境 mysql 5.5.53 php 5.5.45 更改php.ini memory_limit 为 2048M php.ini max_execute_time 为 0 my.ini 加入 max_allowed_packet = 阅读全文
posted @ 2018-01-11 10:06 zonehoo 阅读(912) 评论(0) 推荐(0) 编辑
摘要: 百度百科: https://baike.baidu.com/item/qeephp/8328612?fr=aladdin 官方地址: http://www.qeephp.cn/app/index.php 下载地址: https://github.com/firzen/QeePHP 文档 快速入门:h 阅读全文
posted @ 2018-01-08 17:15 zonehoo 阅读(1714) 评论(0) 推荐(0) 编辑
摘要: 根据http的不同方法,访问不同路由的相同控制器下的不同方法可以实现restful的使用 分别对应 路由方式 get put delete post 对应操作 获取 更新 删除 添加 其中如果要在非laravel中进行操作可以使用ajax $.ajax({ type:'delete', }) tp3 阅读全文
posted @ 2017-12-26 00:05 zonehoo 阅读(997) 评论(0) 推荐(0) 编辑
摘要: https://lnmp.org/faq/lnmp-vhost-add-howto.html 阅读全文
posted @ 2017-12-25 23:47 zonehoo 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 一键部署lnmp环境网址 https://lnmp.org/仅需2条命令 screen -S lnmpwget -c http://soft.vpser.net/lnmp/lnmp1.4.tar.gz && tar zxf lnmp1.4.tar.gz && cd lnmp1.4 && ./inst 阅读全文
posted @ 2017-12-18 20:52 zonehoo 阅读(104) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10