摘要:
function getMonthForDates($sDate, $eDate) { $sTime = strtotime(date('Y-m-01', strtotime($sDate))); $eTime = strtotime(date('Y-m-01', strtotime($eDate) 阅读全文
摘要:
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、进行预编译 . 阅读全文
摘要:
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 阅读全文
摘要:
1、先确定虚拟机是否装了openssh-server,执行 yum list installed |grep openssh-server 查看是否安装 这里显示已经安装,如果没有任何输出表示没有安装 , 执行 yum install openssh-server 命令安装 2、确定安装之后修改配置 阅读全文
摘要:
打开 nginx.conf location / { root html/dist; index index.html; try_files $uri $uri/ /; #加上这一行 } 阅读全文
摘要:
代码简单 , 给你们提供一个思路 html部分 <template> <div> <ul> <li v-for="(item,index) in dataList" :key="item.id" draggable="true" @dragstart="start(item,index)" @dra 阅读全文
摘要:
代码奉上: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>二级城市联动</title> </head> <body> <select id="one" onchange="func(this.value)"> <option 阅读全文