Basic PHP knowledge

Source: Internet
Author: User

First, you must run the PHP project with the following powerful tools:

1. Servers

Wamp (my version is wamp5_1.7.4)

 

2. Development Tools

EPP (my version is eclipsephp Studio 3)

 

Modify the default Apache port 80 and WWW directory of Wamp

For example, modify port 8088 and the d:/workphp directory.

<! -- [If! Supportlists] --> 1. Change to port 8088.

Left-click the tray icon. In "Apache", you can directly open httpd. conf and find "Listen 80". You can change it to another port. I chose 8088.

Restart Wamp to take effect. However, you can click "localhost", "phpMyAdmin", and "sqlitemanager" to open the default port 80. Find the wampmanager. TPL file in the Wamp installation directory, and open it in Notepad:

Add port 8088 after localhost, save, exit, and re-open Wamp to take effect. (In fact, similar URL addresses in the wampmanager. ini file are also changed)

 

2. Change it to the D:/workphp directory.

(1) the httpd. conf file of Apache needs to be modified. There are two modifications.

 

Create a TXT file in the Directory D:/workphp and write some content. Restart Apache to view the TXT content in http: // localhost: 8088. However, the WWW directory still points to the default location. Modify the wampmanager. TPL and wampmanager. ini files in the Wamp installation directory.

(2) modify the wampmanager. TPL file as follows:

Modify the wampmanager. ini file as follows:

 

Through the above modification, we can find that port 8088 can be used, and the localhost, phpMyAdmin, and sqlitemanager points correctly, and the WWW directory also points to the location we want to set.

 

References: (1) http://bbs.php100.com/read-htm-tid-48600.html

(2) http://konglx.javaeye.com/blog/507762

 

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.