What to do if php cannot load mysql

coldplay.xixi
Release: 2023-03-09 12:50:01
Original
5351 people have browsed it

How php cannot load mysql: 1. Copy [libmysql.dll] in the PHP root directory to system32 on the c drive; 2. Load [libmysql] in [conf\httpd.conf] in the Apache directory .dll].

What to do if php cannot load mysql

The operating environment of this tutorial: Windows 7 system, PHP version 5.6, DELL G3 computer.

How php cannot load mysql:

1. Copy libmysql.dll in the PHP root directory to c:\Windows\system32

2. Load libmysql.dll in conf\httpd.conf in the Apache directory

LoadFIle "x:\php\libmysql.dll" //加载libmysql.dll LoadModule php5_module "x:\php\php5apache2_2.dll" //加载php模块
Copy after login

Related free learning recommendations:php programming(video)

The above is the detailed content of What to do if php cannot load mysql. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
php
source:php.cn
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!