First, download and decompression XAMPP:
Download Windows version xampp, such as "xampp-win32-1.7.5-vc9.7z", decompression put in such as: "C:xampp"
Second, configure the Tomcat user role:
In the "C:xampptomcatconftomcat-users.xml" file
</Tomcat-users>
Add the following code:
<role rolename="Manager-gui"/>
<user username= "Tomcat" password="S3cret" roles="Manager-gui"/>
Third, install XAMPP, start Apache, MySQL
① Install XAMPP: Run "C:xamppsetup_xampp.bat"
② Open XAMPP Control Panel: Run "C:xamppxampp-control.exe"
③ start Apache, MySQL: Check the front box separately, and then click "Start", after the success of the show "Running"
Four, start Tomcat:
① First Configure JDK environment
② in the XAMPP Control Panel after "Tomcat" directly click "Start", the successful display of "Running"
V. XAMPP local jsp+php Environment use:
①xampp Status View: http://localhost/xampp/status.php
②php Program Placement root directory: C:xampphtdocs corresponding access address: http://localhost
③phpmyadmin Management MySQL database address: http://localhost/phpmyadmin/
④tomcat Program Placement root directory: C:xampptomcatwebapps corresponding access address: http://localhost:8080/
⑤tomcat admin Panel Status: http://localhost:8080/manager/status (username and password are previously configured)
⑥jsp Program Example: http://localhost:8080/examples/
Original address: http://boliquan.com/xampp-local-jsp-php-environment/