Getting Started with PHP, configuring Wampserver

Source: Internet
Author: User
Tags getting started with php

The WAMP installation process sets the Web site's root directory to the WWW directory, where it is documented to define its own root directory so that it is later needed to view

1. Start Wampserver, left-click to select Httpd.conf under Apache, change the path of DocumentRoot and <Directory> in the file to the path of the project folder you created, I put it in e:/owner/ Php/demo

2. Test whether the modification is successful: You can create a new test.php file under the Demo folder, enter <?php echo "Test", and after saving, open the browser input http://localhost:8088/ test.php running the file, the test on the page shows that the modification was successful

3. Locate the Wampmanager.ini file in the Wamp directory, and change the path of the menu.left after the WWW directory and directory to its own directory and path (here in the modification is, careless of the E disk written F disk ╮ (╯_╰) ╭)

4. Locate the Wampmanager.tpl file in the Wamp directory, and change the path of the WWW directory and directory after menu.left in the file to your own directory and path.

5. After modifying the configuration file, you need to exit Wampserver, restart, and then left click Wamp,www Directory to become the demo directory.

Getting Started with PHP, configuring Wampserver

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.