Wampserver to build PHP environment problem Summary _php skill

Source: Internet
Author: User

1. Wrong installation times, missing MSVCR100.dll files

This is because the Wampserver installed in the VC library is not updated, to install the update before the installation, because the previous installation of the VC version is low, resulting in installation when prompted to lose MSVCR100.dll files.

The following are 32-bit and 64-bit VC10 download addresses:

VC10 SP1 Vcredist_x86.exe bits:

http://www.microsoft.com/download/en/details.aspx?id=8328

VC10 SP1 Vcredist_x64.exe-bits:

http://www.microsoft.com/download/en/details.aspx?id=13523

Once installed, the original problem can be solved.

2. Modify default port (use 80 port by default)

A) Open the httpd.conf file under the Bin\apache\apache[version]\conf folder in the Wampserver installation directory, find listen, and then locate the 80 port after listen and modify to the port you want to use

b Open the Wampmanager.tpl file in the Wampsever installation directory, locate the localhost and then add the following: 8080

3. Modify the Default Web site folder

A) Open the Wampserver installation directory, open the scripts directory config.inc.php files, search Wwwdir, set the Web directory you want to set

b Modify the Apache httpd.conf file and open the bin\apache\apache[version]\ in the Wampserver installation directory Conf folder under the Httpd.conf file, find the DocumentRoot, modify the path behind to set yourself as a web directory, and then look for <directory, the path in the following node to modify the path to the directory path you want to point to

4. Modify MySQL Database password

(a) Open the MySQL console at the Apache console. MySQL Console

b) because the password is empty, so direct return, burning fire input use MySQL

c) 3 Enter the SQL statement and execute update user set Password=password (' Your password ') where user= ' root ';

d) 4) The final input flush privileges; Here is the result of saving changes, otherwise it will not take effect.

The above is the entire content of this article, I hope to install wampserver can be helpful

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.