MySQL是不是在PHP 5.3.1 phpinfo()函数启用 [英] mysql is not enabled in phpinfo() of php 5.3.1

查看:472
本文介绍了MySQL是不是在PHP 5.3.1 phpinfo()函数启用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有阿帕奇2.2.14,PHP 5.3.1和mysql安装43年5月1日在Vista上。由于2-天,我正在尝试配置PHP来有mysql启用phpinfo()函数。

I am having apache 2.2.14, php 5.3.1 and mysql 5.1.43 installed on vista. I am trying since 2 days to configure php to have mysql enable on phpinfo().


  1. 我修改php.ini中有下extension_dir =C:\\ PHP \\分机

  2. 修改扩展名为延长=激活php_mysql.dll

  3. 补充说:C:\\ PHP到PATH环境变量并重新启动Vista的

试图把php.ini中,激活php_mysql.dll和libmysql.dll的C盘和/或C的多种组合后:/ Windows和/或C:/窗/ SYSTEM32现在我没有选择!

after trying many combinations of putting php.ini, php_mysql.dll and libmysql.dll in c drive and/or c:/windows and/or c:/windows/system32 now I am with no options!!

我每次重新启动修改后的阿帕奇。我用的libmysql.dll present在mysql的安装和旧版本的PHP从PHP 5.3.1没有libmysql.dll的...

I do restart the apache after each modification. I used libmysql.dll present in mysql installation and that of older php version as php 5.3.1 has no libmysql.dll...

任何帮助将AP preciated。
先谢谢了。

Any help will be appreciated. Thanks in advance.

推荐答案

您必须修改php.ini并添加/取消注释一行导入激活php_mysql.dll 延伸。搜索;延伸=激活php_mysql.dll 和删除; 。如果您发现该行没有; 在它的面前,你有另外一个问题。如果你没有找到这一行,添加它没有;

You have to edit php.ini and add/uncomment a line to import the php_mysql.dll extention. Search for ;extention=php_mysql.dll and remove the ;. If you find this line without the ; in front of it, you have another problem. If you don't find this line, add it without the ;.

您也可以尝试把一个 \\ 的延伸路径之后:的extension_dir =C:\\ PHP \\分机\\

You can also try to put a \ after the extention path: extension_dir="c:\php\ext\"

这篇关于MySQL是不是在PHP 5.3.1 phpinfo()函数启用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆