XAMPP的apache因为Vmware把443接口占用而无法启动

I was just installing XAMPP on my windows 7 x64 box, I tried to start Apache and got this message:

Problem detected!

Unfortunately, VMWare Workstation places it’s host ports on the same ones needed by Apache. The solution is to change the apache ports via this procedure:

  1. Open the XAMPP Control Panel
  2. Click the ‘Config’ button next to the Apache module and select the ‘Apache (httpd-ssl.conf)‘ option
  3. A text edit box will pop up with the contents of httpd-ssl.conf
  4. Find the line with Listen 443
  5. Change 443 to some other open port – like 4430
  6. Do a search/replace in the file for all the references to 443 and change them to 4430 (should be like 3-4 of them)
  7. save and exit the editor
  8. Start Apache

If all goes well, it should start right up on ports 80, 4430. Test it by going to localhost in your web browser and you should see the familiar xampp control panel

发表评论