https://www.apachefriends.org/index.html
1,change the Apache listen to 808
C:\xampp\apache\conf\httpd.conf
#Listen 12.34.56.78:80
Listen 808
2, set the project folder
suppose the PHP project project1 in the path C:\Users\jacshen\Documents\NetBeansProjects, so we need to make the DocumentRoot and Directory in file xampp\apache\conf\httpd.conf points to it.
DocumentRoot "C:\Users\jacshen\Documents\NetBeansProjects"
<Directory "C:\Users\jacshen\Documents\NetBeansProjects">
时间: 2024-11-05 07:30:24