Thanks for browsing, welcome to communicate =. =
I want to develop an inventory management system for my dad, and I would like to take this opportunity to try it out using the ext+php+apache+linux environment.
In order to build a local development and testing environment in Windows, download xampp from the official website and install apache, mysql and other environments with one click
Start xampp and find that port 80 is occupied by IIS and port 443 is occupied by VMware
So, Du Niang informed:
443: The configuration file is located in C:xamppapacheconfextrahttpd-ssl.conf
Then modify the 443 port in the file to 444
80: The configuration file is located in C:xamppapacheconfhttpd.conf
Modify port 80 in the file to 60000
Access localhost:60000/xampp, the problem is solved
However, it is still impossible to quickly start the browser through xampp to access port 60000, locate 80, and enter the iis page.
So I looked for xampp to see if there were any services that needed to be restarted, and found none. Then I looked for the configuration file of xampp, and sure enough I found the following configuration in the xampp-control.ini file:
[ServicePorts]
Apache=80
ApacheSSL=443
MySQL=3306
modified to 60000, Restart xampp after 444, the problem is solved
Add multi-port multi-site for apache:
Modify the file C:xamppapacheconfextrahttpd-vhosts.conf
ServerAdmin webmaster@dummy-host.localhost
DocumentRoot "E :ApacheRootrivertest"
ServerName localhost
ServerAlias localhost
ErrorLog "logs/dummy-host2.localhost-error.log"
CustomLog "logs/dummy-host2.localhost-access.log" common
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
ServerAdmin webmaster@dummy-host.localhost
DocumentRoot "C:/xampp/htdocs"
ServerName localhost
ServerAlias localhost
ErrorLog "logs/dummy-host.localhost- error.log"
CustomLog "logs/dummy-host.localhost-access.log" common
Options Indexes FollowSymLinks
AllowOverride All
Allow from all