Use XAMPP to build local jsp+php environment

Source: Internet
Author: User
Tags phpmyadmin tomcat

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/

Related Article

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.