摘要: function getMonthForDates($sDate, $eDate) { $sTime = strtotime(date('Y-m-01', strtotime($sDate))); $eTime = strtotime(date('Y-m-01', strtotime($eDate) 阅读全文
posted @ 2022-04-25 10:48 抠脚码农 阅读(1141) 评论(0) 推荐(0) 编辑
摘要: 1、下载php wget https://www.php.net/distributions/php-7.4.22.tar.gz 这里下载的是7.4.22,其他版本官网下载 2、解压 tar -zvxf php-7.4.22.tar.gz 3、进入目录 cd php-7.4.22 4、进行预编译 . 阅读全文
posted @ 2021-09-03 11:48 抠脚码农 阅读(5263) 评论(0) 推荐(0) 编辑
摘要: 1、下载nginx下载地址 或者直接使用命令下载 wget http://nginx.org/download/nginx-1.20.1.tar.gz 2、解压 tar -zvxf nginx-1.20.1.tar.gz 3、预编译 进入解压后的目录 nginx-1.20.1进行预编译 ./conf 阅读全文
posted @ 2021-09-02 17:02 抠脚码农 阅读(8206) 评论(2) 推荐(3) 编辑
摘要: 1、先确定虚拟机是否装了openssh-server,执行 yum list installed |grep openssh-server 查看是否安装 这里显示已经安装,如果没有任何输出表示没有安装 , 执行 yum install openssh-server 命令安装 2、确定安装之后修改配置 阅读全文
posted @ 2021-09-02 16:09 抠脚码农 阅读(1249) 评论(0) 推荐(1) 编辑
摘要: 打开 nginx.conf location / { root html/dist; index index.html; try_files $uri $uri/ /; #加上这一行 } 阅读全文
posted @ 2020-06-04 18:20 抠脚码农 阅读(979) 评论(0) 推荐(0) 编辑
摘要: 代码简单 , 给你们提供一个思路 html部分 <template> <div> <ul> <li v-for="(item,index) in dataList" :key="item.id" draggable="true" @dragstart="start(item,index)" @dra 阅读全文
posted @ 2020-05-28 14:22 抠脚码农 阅读(2048) 评论(0) 推荐(0) 编辑
摘要: 代码奉上: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>二级城市联动</title> </head> <body> <select id="one" onchange="func(this.value)"> <option 阅读全文
posted @ 2017-10-17 22:11 抠脚码农 阅读(20839) 评论(4) 推荐(1) 编辑