lnmp
文章平均质量分 79
abiao555
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
linux下docker安装lnmp
环境:centos7.5+nginx:1.12.2+php5.6+mysql:5.7 yum repolist //查看yum源 yum update //更新yum源 yum install yum-utils //安装yum-config-manager //使用yum-config-manager配置阿里云docker-ce源 yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/...原创 2020-07-11 07:57:40 · 201 阅读 · 0 评论 -
配置nginx支持path_info模式
原nginx代码 location ~ \.php$ { root $root; fastcgi_pass phpfpm56:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $root$fastcgi_script_name; include fastcgi_params; } 修改为 location ~ \.php(.*)$ { root...原创 2020-07-10 00:01:11 · 575 阅读 · 0 评论 -
安装php扩展zip
brew install autoconf libzip //可能需要安装这两个 wgethttps://pecl.php.net/get/zip-1.19.0.tgz tar -zxvfzip-1.19.0.tgz cd /zip-1.19.0 ./xxxxx/phpize (找到拟的phpize路径) ./configure --with-php-config=/xxxxxxxx/php-config (找到你的php-config) make && m...原创 2020-06-20 16:51:57 · 1159 阅读 · 0 评论 -
linux常用命令笔记
修改/en目录及其子元素的所属组与所有者 chown -R www:www /en 查找php主进程 ps aux | grep php-fpm| grep master 平滑重启php-fpm kill -USR2 上面查到的pid 平滑重启php-fpm方法二:(注意每个项目的php-fpm的pid文件位置都不一样哦,下面的路径需要改成自己的路径) kill -USR2 `cat /xxx/php5.7/var/run/php-fpm-5.7.pid` ...原创 2020-06-18 09:26:38 · 152 阅读 · 0 评论
分享