Configure PhP5 + apache2.2 + mysql5 process records in Windows

Source: Internet
Author: User
Tags php and mysql

First download the latest apache2.2 MSI from the official website of www.apache.org and then install Apache

Default port: 80, access: http: // localhost to view itworks! The interface is OK.

Then download PHP and download a phpwin32 package + PhP MSI from www.php.net.

Then install php msi. During the installation process, You must select the installed apache version and select the installed Apache installation directory.

Next, click "OK" at the end, decompress the phpwin32 package, and replace all the files in the PHP installation directory with the decompressed files.

Then install mysql. first download the Windows version of mysql5 from the official website www.mysql.org.

Then install

To configure PHP and MySQL, change the php. ini-Dist file in the PHP installation directory to the php. ini file, and then open the php. ini file.

Remove the semicolon before extension = php_mysql.

Copy the libmysql. dll file to C: Windows/system32 /.

Restart Apache.

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.