[3] install MySql5.5 in PHP Development Environment

Source: Internet
Author: User
Tags php development environment
Step 1: mysql-5.5.18-win32.msi installation: mysql-5.5.18-win32.msi to D: Ampmysql5.5 directory, data is stored in the D: Ampdata directory, one way to finish next detailed installation steps: Please view download. csdn. netdetailuudmail08186987551step2: Below is the integration of php and MySQL in php. ini

Step 1: mysql-5.5.18-win32.msi installation: mysql-5.5.18-win32.msi to D: \ mysql5.5 directory, data is stored in the D: \ Amp \ data directory, one way to finish next detailed installation steps: see http://download.csdn.net/detail/uudmail0818/6987551 Step 2: Below is the integration of php and MySQL in php. ini

Step 1:

Mysql-5.5.18-win32.msi

Install: mysql-5.5.18-win32.msi to the "D: \ Amp \ mysql5.5" directory,

Data is stored in the "D: \ Amp \ data" directory, all the way to next to finish


Installation Steps: View http://download.csdn.net/detail/uudmail0818/6987551


Step 2:

Below is the integration of php and MySQL

Enable MySQL-related configuration in php. ini.

Search for MySQL and remove the Semicolon ";"

Change

; Extension = php_mysql.dll
; Extension = php_mysqli.dll

Is

Extension = php_mysql.dll
Extension = php_mysqli.dll


Step 3:

Test whether Apache can be started, php can be loaded, and MySQL can also be started independently.

The problem is that php cannot be integrated with mysql because it has been searched again.

Finally, copy the two dll files in php5.2 to the system32 folder of the system to run successfully.

Libeay32.dll; ssleay32.dll

In fact, I used to configure HTTPD in Apache.


LoadFile "D:/Amp/php5.2/libeay32.dll"
LoadFile "D:/Amp/php5.2/ssleay32.dll"


PS: for beginners, The myslqd process in the task manager is over and you do not know where to start it.

Here is a simple method to start. In Windows + R of the XP system, enter services. msc, select MySQL to start, and set properties to start with the system. But to prevent port 3306 from being intruded, we recommend that you modify it during installation, for example, to bring it back to port 6033, because many small P hackers on the Internet are experimenting with port 3306, so be careful with your computer city bots.


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.