php环境
if金鱼是码农
对于一门不懂的技术,找一份靠谱的资料,蛋疼的对着资料敲一遍代码,不懂的再问google,最后在将其用到实际项目,这门技术就算是初步掌握了,当然精通还得再下点功夫。
展开
-
Dokcer部署php环境--Dockerfile之安装NGINX镜像和php镜像
文件目录:DockerfileFROM centos:7.4.1708MAINTAINER 123456@qq.comRUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime#安装YUM源RUN rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-...原创 2019-12-12 14:34:21 · 1301 阅读 · 1 评论 -
linux编译安装nginx
编译安装nginx:yum -y install wget screen #for CentOS/Redhat下载组件:wget http://nginx.org/download/nginx-1.15.8.tar.gz解压:tar zxvf nginx-1.15.8.tar.gzcd nginx-1.15.8./configure --prefix=/usr/loc...原创 2019-01-12 17:47:39 · 134 阅读 · 0 评论 -
linux安装redis
wget http://download.redis.io/releases/redis-5.0.3.tar.gz如果没有安装wget:yum -y install wget screen #for CentOS/Redhat 解压tar zxvf redis-5.0.3.tar.gzcd redis-5.0.3安装依赖 yum install -y wget gcc mak...原创 2019-01-31 16:29:15 · 177 阅读 · 0 评论 -
linux编译安装php
wget http://cn2.php.NET/distributions/php-7.2.14.tar.gztar zxvf php-7.2.14.tar.gzcd php-7.2.14 ./configure --prefix=/usr/local/php \ --with-curl \ --with-freetype-dir \ --with-gd \ --wi...原创 2019-01-23 11:02:19 · 409 阅读 · 0 评论 -
nginx配置监听php
server { listen 80; server_name _; access_log /data/wwwlogs/test.com_nginx.log combined; index index.html index.htm index.php; root /data/wwwroot/test; ...原创 2019-02-12 11:29:26 · 756 阅读 · 0 评论 -
nginx 配置接收 post 请求参数
http{ ...省略... log_format post_tracking '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"...原创 2019-05-20 15:22:32 · 5753 阅读 · 0 评论