Home > Article > Backend Development > xampp usage tips and problem summary_PHP tutorial
Case 1: When xampp starts, it will detect whether port 80 used by Apache is occupied. If it is occupied, it will give a suggestion prompt.
Solution 1: Click the "Config" button in the Control panel of xampp to open the "Configuration of Control panel" configuration interface. There is a "Service and Port Settings" button at the bottom of the interface. Click to open, select the "Apache" tab, and Main Port and SSLPort can be modified.
Case 2: When xampp starts Apache on the Control panel, it prompts that port 80 is occupied.
Solution 2: Click the Config button after the "Apache" line, select "Apache (httpd.conf)", open the httpd.conf file, query "80", you will find "Listen 80", change the value to not It will conflict with the port number (such as 8081, etc.). Then find "ServerName localhost:80" and modify the value again.
Modify the 443 port used by the SSL module: Click the Config button after the "Apache" line, select "Apache (httpd-ssl.conf)", open httpd-ssl.conf, and query " 443", you will find "Listen 443", change the value to a port number that does not conflict, or turn off the SSL module in the "httpd.conf" file.
Close method: Find "#Secure (SSL/TLS) Connections", and add "Include Conf/EXTRA/HTTPD-SSL.CONF".
http://www.bkjia.com/PHPjc/626622.html