摘要:
解决办法:一个文件一个文件映射或者创建出这些文件在进行挂载 先docker run -d --name nginx1.0 nginx。将nginx镜像启动起来,完后执行docker cp nginx:/etc/nginx /usr/local/server/将目录拷贝出来。 然后删除 nginx1. 阅读全文
摘要:
## 对接支付宝身份验证产品 > ##### 环境要求 > > 1. Alipay SDK for PHP 需要 PHP 5.5 以上的开发环境。 > 1. tp 框架 > 2. 使用 Alipay SDK for PHP 之前 ,您需要先前往[支付宝开发平台-开发者中心](https://open 阅读全文
摘要:
切换目录的时候 提示: /usr/bin/env: python: No such file or directory 检测 python 也安装了 ,还是有报错 运行 alternatives --set python /usr/bin/python3 阅读全文
摘要:
function arraySort($array,$keys,$sort='asc') { $newArr = $valArr = array(); foreach ($array as $key=>$value) { $valArr[$key] = $value[$keys]; } ($sort 阅读全文
摘要:
前端使用vue 该文件改于 https://juejin.im/post/5b6960d8e51d4519115d5d2f 提供的vue页面 修改后的 地址 https://github.com/August-the-feel/FFmpeg.git 修改内容 : 进行 http 请求页面 使用php 阅读全文
摘要:
/** * description: 返回视频裁剪 选择秒的画面 * create by: 八月情 * create time: 2021-01-15 15:30 * environment: localhost */ public function actionLookoppic() { $id 阅读全文
摘要:
public function getAccesstoken(){ $appid = ''; /*小程序appid*/ $srcret = ''; /*小程序秘钥*/ $tokenUrl="https://api.weixin.qq.com/cgi-bin/token?grant_type=clie 阅读全文
摘要:
preg_match("/^(https:\/\/)?([^\/]+)/i", $video_file, $matches); preg_replace("/(,)/" ,',' ,input('extension_json')); 中文 逗号 替换为 英文 逗号 ^ array:3 [▼ 0 => 阅读全文
摘要:
CentOS 8 1 $ sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm 2 $ sudo yum install https://download1.rpmfusion. 阅读全文
摘要:
命令行指令Git 全局设置git config --global user.name ""git config --global user.email ""创建新版本库git clone 地址cd项目路径touch README.mdgit add README.mdgit commit -m "a 阅读全文