1、相关说明
- 该镜像基于Centos8.3;
- Nginx与PHP均为官网下载源码编译安装;
- Nginx配置目录:
/usr/local/nginx/conf
文件目录:/usr/local/nginx/html
- PHP配置目录:
/usr/local/etc/
- 已做好的镜像地址:https://hu[……]
/usr/local/nginx/conf
文件目录:/usr/local/nginx/html
/usr/local/etc/
在编译安装php时有时候会碰到如题所示的错误:
Package 'oniguruma', required by 'virtual:world', not found
一般在编译php安装时,出现类似的错误只需要安装对应的devel包即可,比如在Centos下,只需要yum install o[......]