Home > Backend Development > PHP Tutorial > 2 Integration of php apache mysql

2 Integration of php apache mysql

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-08-08 09:32:32
Original
777 people have browsed it

The software used in this example is php-5.4.28-Win32-VC9-x86.zip, httpd-2.2.21-win32-x86-no_ssl.msi, mysql-5.5.20-win32 .msi.

1. Go to the php installation directory and find php.ini. If not, find php.ini-development, copy and paste, and resave it as php.ini. Find extension_dir, change it to extension_dir="c:/php/ext" (based on the personal installation directory), and remove the ";" in front of it

2. Go to the Apache installation directory to find httpd -conf(C:Apache2.2confhttpd-conf),

Add the following content:

LoadModule php5_module "c:/php/php5apache2_2.dll" #(This file is subject to the version of Apache)
PHPIniDir "c:/php"
LoadFile "c:/php/libeay32.dll"
LoadFile "c:/php/ssleay32.dll"
AddType application/x-httpd-php .php                                        x-httpd- php.html You can execute the php program, choose to add it depending on your personal situation

3, install After completing MySQL, find extension=php_mysql.dll in php.ini and remove the # in front of it

The above introduces the integration of 2 php apache mysql, including aspects of the content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template