1、拉取nginx镜像,以及php-fpm镜像 docker pull nginx:1.16.0 docker pull php:5.6.40-fpm 2、分别创建nginx 容器php-fpm 容器 # 这里最后吧 /etc/nginx/conf.d 目录和存放静态资源文件的目录挂载到宿主机上来 ...
分类:
Web程序 时间:
2021-07-27 17:31:51
阅读次数:
0
问题描述 App Service 配置 Application Settings 访问Storage Account。如下: { "name": "WEBSITE_CONTENTAZUREFILECONNECTIONSTRING", "value": "[concat('DefaultEndpoin ...
分类:
移动开发 时间:
2021-07-26 16:39:52
阅读次数:
0
需求:php开发多个中文系统支持国际化 思路: 提炼各个系统中的中文字符,替换为资源key。 数据库中有初始化数据是中文的,进行提炼。 多媒体文件中的中文定位(图片中的中文,中文录音,中文视频,中文模板等)。 统一翻译文字。准备资源文件。 各系统开发选择和同步语言功能。 调整样式。不同语言转化词条长 ...
分类:
Web程序 时间:
2021-07-23 17:41:31
阅读次数:
0
dockerfile文件 #See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. FRO ...
分类:
Web程序 时间:
2021-07-23 17:38:17
阅读次数:
0
一句话木啊基础 短,小,强,隐蔽好,powerful,2333333,基于B/S <%execute request("value")%> execute是参数 eval是来执行参数的 对于网站来说,要对用上马即支持的运行环境,(iis支持asp、aspx、php),asp无权调用cmd,aspx有 ...
分类:
其他好文 时间:
2021-07-21 17:35:19
阅读次数:
0
从sqlserver中提取数据如何截取字符 1、LOCATE(substr , str ):返回子串 substr 在字符串 str 中第一次出现的位置,如果字符substr在字符串str中不存在,则返回0;2、POSITION(substr IN str ):返回子串 substr 在字符串 st ...
分类:
数据库 时间:
2021-07-20 16:24:17
阅读次数:
0
php魔法函数 介绍 php中把以两个下划线__开头的方法称为魔法函数(Magic methods),这些方法在php中充当了举足轻重的作用。魔法函数包括: __construct(),类的构造函数 __destruct(),类的析构函数 __call(),在对象中调用一个不可访问方法时调用 __c ...
分类:
Web程序 时间:
2021-07-19 16:58:46
阅读次数:
0
<?php highlight_file(__FILE__); class emmm { public static function checkFile(&$page) { $whitelist = ["source"=>"source.php","hint"=>"hint.php"]; if ( ...
分类:
其他好文 时间:
2021-07-16 17:40:01
阅读次数:
0
php-code-generator 介绍 基于php的代码生成器 测试环境 php ^8.0 支持范围 目前仅支持laravel,后续会支持webman,thinkphp等,也欢迎提交模板 composer composer require zx/php-code-generator 使用方法 1 ...
分类:
Web程序 时间:
2021-07-15 19:01:47
阅读次数:
0
镜像制作还是比较顺利的,前提注意Dockerfile文件 FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS base WORKDIR /mvc COPY bin/Debug/netcoreapp3.1 . ENTRYPOINT ...
分类:
其他好文 时间:
2021-07-15 19:00:36
阅读次数:
0