MySQL database connection reset solution for PHP 64-bit system

Source: Internet
Author: User
Tags php tutorial connection reset mysql database

Test Libmysql tutorials are copied into windows/system32 and Libmysql.dll under Apache/bin.
Of course, the most convenient way is:
In Apache:
LoadFile d:/php Tutorial/php5.2.13/libmysql.dll
Only above this line, MySQL can be successfully misappropriated.
My server version: Win7
Apache 2.2.13
PHP 5.2.13
mysql5.1.37
phpmyadmin3.3.2
Here's my Apache department outfit.
Phpinidir d:/php/php5.2.13 #不是必须
LoadFile D:/php/php5.2.13/php5ts.dll
LoadFile D:/php/php5.2.13/libmysql.dll
LoadModule Php5_module D:/php/php5.2.13/php5apache2_2.dll
AddType application/x-httpd-php. php

Related Article

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.