表:LAMP镜像组成一览
您在使用LAMP镜像的时候,可能会需要了解如下的路径、地址和参数说明:
项 | 路径或说明 |
---|---|
操作系统 | CentOS7.x |
Web服务 | Apache |
网站目录 | /data/wwwroot |
示例网站 | /data/wwwroot/www.example.com 或 default |
PHP配置 | /etc/php.ini |
Apache虚拟主机文件 | /etc/httpd/vhost/vhost.conf 或 /ect/httpd/conf.d/vhost.conf |
日志文件 | /var/log/httpd |
MySQL数据目录 | /data/mysql |
MySQL配置文件 | /etc/my.cnf |
MySQL管理地址 | http://服务器公网IP/phpmyadmin |
9Panel访问地址 | http://服务器公网IP/9panel |
以上参数仅适用于最新版本,旧版本略有差异