关于php加载mysql有关问题~

WBOY
Release: 2016-06-13 10:16:30
Original
889 people have browsed it

关于php加载mysql问题~~急
最近重做系统以后,重新配置php环境,安装apache和php结合没有问题,安装mysql也没有问题,在cmd中也可以正常使用,当我安装phpmyadmin时候,显示mysqli.dll没有开启,然后安装discuz的时候显示mysql_connect不可用,我在php.ini中已经打开了相关的组件,并且已经将组件的路径配置到系统环境变量中,但是还是出现以上的问题。(没装系统之前全部都正常,apache版本为2.2.6,php版本为5.2.9,mysql版本为5.5.12 不知道和版本有关系么,我之前也是用的同样的版本啊),求高人解答~~急啊

------解决方案--------------------
extension=php_mysql.dll
extension=php_mysqli.dll

还有 extension_dir 是否正确

重装系统前应备份 php 或 php.ini、mysql\data、httpd.conf

Related labels:
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
Popular Tutorials
More>
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!