WampServer may encounter problems in building the php environment. wampserverphp_PHP tutorial

Source: Internet
Author: User
WampServer may encounter problems in building the php environment, wampserverphp. Problems may occur when WampServer builds the php environment. problems may occur when wampserverphpWampServer builds the php environment. 1. an error is reported during installation. the MSVCR100.dll file is missing. this is because wampServer WampServer may encounter problems when setting up the php

Problems that WampServer may encounter when building a php environment

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:

Http://www.microsoft.com/download/en/details.aspx? Id = 8328

VC10 SP1 vcredist_x64.exe 64 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 (port 80 is used by default)

A) openBin \ apache [version] \ confFind the httpd. conf file in the folderListenThen, find the port 80 after listen and change it to the port you want to use.

B) openWampmanager. tplFile, searchLocalhostAdd8080

3. modify the default website folder

A) open the wampServer installation directory and openConfig. inc. phpFile, searchWwwDir, Set to the web Directory you want to set

B) modify the httpd. conf file of Apache and openBin \ apache [version] \ confFind the httpd. conf file in the folderDocumentRoot, Modify the following path to your desired web directory, and then find To change the path to the directory path

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.

WampServer may encounter problems when setting up the php environment 1. an error is reported during installation. the MSVCR100.dll file is missing because wampServer is installed...

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.