Wampserver possible problems in building PHP environment

Source: Internet
Author: User
Wampserver possible problems in building PHP environment

1. Installation times error, missing MSVCR100.dll file

This is because the Wampserver installation of 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 the installation when prompted to lose the MSVCR100.dll file.

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

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

After the installation, the original problem can be solved.

2. Modify the default port (using 80 ports by default)

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

b) Open the Wampmanager.tpl file in the Wampsever installation directory, look for localhost and add the following : 8080

3. Modify the Default Web site folder

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

b) Modify the Apache httpd.conf file to open the bin\apache\apache[version]\ in the Wampserver installation directory Conf folder under Httpd.conf file, find DocumentRoot, modify the following path for yourself to set as Web directory, and then find<>< p=""><>

4. Modify MySQL Database password

A) Open the MySQL console in the Apache console. MySQL Console

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

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

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

The above describes the Wampserver build PHP environment may encounter problems, including aspects of the content, I hope that the PHP tutorial interested in a friend 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.