Summary of problems encountered when WampServer builds a php Environment

Source: Internet
Author: User
This article mainly introduces the solutions to common problems encountered when WampServer builds the php environment. The above is all the content in this article.

This article mainly introduces the solutions to common problems encountered when WampServer builds the php environment. The above is all the content in this article.

1. An error is reported during installation. The MSVCR100.dll file is missing.

This is because the vc library used for wampServer installation is not updated. You need to install the library after the installation is updated. Because the installed VC version is earlier, the MSVCR100.dll file is missing during installation.

The following are VC10 for 32-bit and 64-bit respectively:

VC10 SP1 vcredist_x86.exe 32 bits:

VC10 SP1 vcredist_x64.exe 64 bits:

After the installation, the original problem can be solved.

2. Modify the default port (port 80 is used by default)

A) Open httpd in the bin \ apache [version] \ conf folder under the wampServer installation directory. conf file, search for Listen, find port 80 after listen, and change it to the desired port

B) Open the wampmanager. tpl file in the wampSever installation directory, search for localhost, and add 8080

3. Modify the default website folder

A) Open the wampServer installation directory, open the config. inc. php file under the scripts directory, search for wwwDir, and set it to the web directory you want to set.

B) modify httpd of Apache. conf file, open httpd in the bin \ apache [version] \ conf folder under the wampServer installation directory. conf file, find DocumentRoot, modify the path to your desired web directory, and then find

4. Modify the mysql Database Password

A) Open mysql console. MySQL console on the apache console

B) because the password is empty, press enter and enter use mysql

C) 3) enter the SQL statement and execute update user set password = PASSWORD ('your password') where user = 'root ';

D) 4) Finally, enter flush privileges. Here, save the Modification result. Otherwise, the modification will not take effect.

The above is all the content in this article. I hope it will be helpful for you to install WAMPSERVER.

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.