Install apache+php operating environment under Windows using XAMPP one-click

Source: Internet
Author: User

Thanks for browsing, welcome to Exchange =. =

Want to develop an inventory management system for my father, take this opportunity to use the next ext+php+apache+linux environment to taste fresh.

In order to build a local development test environment in Windows, download XAMPP, one-click Install apache,mysql Environment

Start XAMPP Discovery 80 port is occupied by IIS and 443 port is occupied by VMware

Therefore, the degree Niang tells:
443: Configuration file is in C:\xampp\apache\conf\extra\httpd-ssl.conf
The 443 port in the modified file is 444
80: Configuration file is in C:\xampp\apache\conf\httpd.conf
The 80 port in the modified file is 60000
Access to LOCALHOST:60000/XAMPP, problem solving

However, it is still not possible to access port 60000 via the XAMPP Quick Launch Browser, navigate to 80 and go to the IIS page.
So look for xampp whether there is a service that needs to be restarted, to find No. Then looking for xampp configuration file, sure enough Xampp-control.ini file found the following configuration:
[Serviceports]
Apache=80
apachessl=443
mysql=3306
Change to 60000,444 restart Xampp, problem solved

Add multi-port multisite for Apache:
Modify File C:\xampp\apache\conf\extra\httpd-vhosts.conf
<virtualhost *:60001>
ServerAdmin [email protected]
DocumentRoot "E:\ApacheRoot\rivertest"
ServerName localhost
Serveralias localhost
Errorlog "Logs/dummy-host2.localhost-error.log"
Customlog "Logs/dummy-host2.localhost-access.log" common
<directory "E:\ApacheRoot\rivertest" >
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
<virtualhost *:60000>
ServerAdmin [email protected]
DocumentRoot "C:/xampp/htdocs"
ServerName localhost
Serveralias localhost
Errorlog "Logs/dummy-host.localhost-error.log"
Customlog "Logs/dummy-host.localhost-access.log" common
<directory "C:/xampp/htdocs" >
Options Indexes FollowSymLinks
AllowOverride All
Allow from all
</Directory>
</VirtualHost>

Install apache+php running environment under Windows using XAMPP one-click

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.