想起之前按着symfony文档测试上传文件的示例上传没有成功,在此仅记录下以避免再次踩坑 实体添加文件字段// src/Entity/Product.phpnamespace App\Entity;use Doctrine\ORM\Mapping as ORM;use Symfony\Compo ...
mongodb-basic
查询数据库show databaseshow dbs 创建数据库If a database does not exist, MongoDB creates the database when you first store data for that databaseuse myDatabase 查 ...
hexo上传静态文件及源码
创建github分支 master 和 source, 设置master为默认分支配置hexo下的_config.yml 发布到masterdeploy: type: git repo: https://github.com/mashmars/mashmars.github.io branch ...
Centos7源码安装nginx+多版本php+mysql
nginx源码安装准备条件 安装相关类库 yum -y install gcc gcc-c++ automake autoconf libtool make准备pcre(重写rewrite),zlib(压缩),openssl,mkdir /mashcd /mash 安装pcre库从官方网站下载最新的 ...
Centos7yum安装nginx+php7+mysql
安装nginx设置nginx安装源vim /etc/yum.repos.d/nginx.repo 输入以下配置[nginx]name=nginx repobaseurl=http://nginx.org/packages/centos/$releasever/$basearch/gpgcheck=0 ...