安装php环境xampp

1.下载xampp 安装

2.如果启动时发生端口占用错误, 是443和80端口被占用, 可以改成444,88端口,


在C:xamppapacheconfextrahttpd-ssl.conf文件里修改443端口


在C:xamppapacheconfhttpd.conf修改80端口

3.修改默认文件夹的位置
在C:xamppapacheconfhttpd.conf找到DocumentRoot "C:/xampp/htdocs"
修改成
DocumentRoot "G:/php"
<Directory "G:/php">

原文地址:https://www.cnblogs.com/alantao/p/7623662.html