上一页 1 ··· 97 98 99 100 101 102 103 104 105 ··· 133 下一页
摘要: 子进程数已经达到设置的最大值。 要设置php进程数量。需要在php-fpm.conf文件中修改。 先看/usr/local/php/etc/php-fpm.conf文件各项配置解析 pid = run/php-fpm.pid#pid设置,默认在安装目录中的var/run/php-fpm.pid,建议 阅读全文
posted @ 2019-07-13 10:11 盘思动 阅读(10182) 评论(2) 推荐(0)
摘要: array_unshift() 函数用于向数组插入新元素。新数组的值将被插入到数组的开头。 被加上的元素作为一个整体添加,这些元素在数组中的顺序和在参数中的顺序一样。 该函数会返回数组中元素的个数。 提示:您可以插入一个或多个值。 注释:数值键名将从 0 开始,以 1 递增。字符串键名将保持不变。 阅读全文
posted @ 2019-07-12 17:38 盘思动 阅读(279) 评论(0) 推荐(0)
摘要: 查看进程就是使用ps命令而已,只不顾ps的参数太多了。 使用php查询的话,必须要开启几个函数(可以执行外部程序的函数),参考官网:http://php.net/manual/zh/book.exec.php 下面是在php进程中查询某个服务创建的进程数,比如httpd,mysqld,sshd....... 至于为什么要减2,可以看下面的代码: 输出如下: ~/t... 阅读全文
posted @ 2019-07-09 09:52 盘思动 阅读(3367) 评论(0) 推荐(0)
摘要: 获取(代码): 1 $("#img")[0].src; // 测试无效 修改(代码): 1 $("#img").attr('src',path); 阅读全文
posted @ 2019-07-05 21:35 盘思动 阅读(374) 评论(0) 推荐(0)
摘要: Pay **!注意:v1.x 版本将不做新功能开发,只进行 bug 维护!请大家尽快迁移到 v2 版本!** 开发了多次支付宝与微信支付后,很自然产生一种反感,惰性又来了,想在网上找相关的轮子,可是一直没有找到一款自己觉得逞心如意的,要么使用起来太难理解,要么文件结构太杂乱,只有自己撸起袖子干了。 **说明,请先熟悉支付宝说明文档!!** 欢迎 Star,欢迎 PR!... 阅读全文
posted @ 2019-07-05 20:21 盘思动 阅读(2692) 评论(0) 推荐(0)
摘要: $where_like = ['title','like','%' . $_GET['title'] . '%']; $result_list = $this->model->where($where) ->where($where_like[0],$where_like[1],$where_like[2]) ... 阅读全文
posted @ 2019-07-03 15:43 盘思动 阅读(2752) 评论(0) 推荐(0)
摘要: $where_time = []; if ($_GET['s_time'] && !isset($_GET['e_time'])){ $where_time = ['add_time','> time' , $_GET['s_time']]; $this->assign('s_time',$_GET['s_time'... 阅读全文
posted @ 2019-07-03 14:58 盘思动 阅读(7852) 评论(0) 推荐(0)
摘要: server { listen 80; server_name local.light.com; index index.html index.htm index.php; root /home/wwwroot/default/******/Public; // !!!! 所在的文件需要有可执行权限, 一般是75... 阅读全文
posted @ 2019-07-03 09:33 盘思动 阅读(202) 评论(0) 推荐(0)
摘要: ubuntu 16 下载地址: http://releases.ubuntu.com/16.04/?_ga=2.211639766.273896083.1564759714-49163328.1564759714 Desktop image The desktop image allows you 阅读全文
posted @ 2019-07-01 19:58 盘思动 阅读(3332) 评论(0) 推荐(0)
摘要: wx.setNavigationBarColor({//设置导航栏颜色 frontColor: '#000000',//注意frontColor的值只能为000000或者111111 backgroundColor: app.globalData.background }); 阅读全文
posted @ 2019-06-29 16:38 盘思动 阅读(3981) 评论(1) 推荐(0)
上一页 1 ··· 97 98 99 100 101 102 103 104 105 ··· 133 下一页