版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/strivenoend/article/details/82558431
1apache的配置文件
httpd.conf
php预处理器的配置文件
php.ini
mysql的配置文件
my.ini
2修改httpd.conf
a修改端口
b修改相应默认起始页
#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
<IfModule dir_module>
DirectoryIndex index.php index.php3 index.html index.htm
</IfModule>
c设置服务器主目录