缺少在MySQL的phpinfo在Ubuntu Linux [英] Missing MySQL in PHPinfo on Ubuntu Linux

查看:291
本文介绍了缺少在MySQL的phpinfo在Ubuntu Linux的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的工作与的Apache2,MySQL的5和PHP 5.3.2新建成的Ubuntu的服务器上。看来事情是在配置不完整的。当我打电话phpinfo()函数在它里面没有MySQL的部分。然而,解析附加.ini文件部分显示/etc/php5/apache2/conf.d/mysql.ini,/etc/php5/apache2/conf.d/mysqli.ini,在/ etc / PHP5 / Apache2的/ conf.d / pdo.ini,/etc/php5/apache2/conf.d/pdo_mysql.ini

I am working on a newly built Ubuntu server with Apache2, MySQL 5 and PHP 5.3.2 . It seems something is incomplete in the configuration. When I call phpinfo() there is no MySQL section in it. However, the "Additional .ini files parsed" section shows "/etc/php5/apache2/conf.d/mysql.ini, /etc/php5/apache2/conf.d/mysqli.ini, /etc/php5/apache2/conf.d/pdo.ini, /etc/php5/apache2/conf.d/pdo_mysql.ini "

在我的研究,我所看到的引用在取消在PHP .ini文件的扩展线,但我没有看到这样的任何一行在我的.ini。

In my research I have seen references to uncommenting an extension line in the PHP .ini file, but I don't see any line like that in my .ini.

我一直在使用MySQL从远程GUI了一个星期,没有任何问题,所以我知道数据库的安装是好的。 PHP运行除了不说话到MySQL完全正常的。

I have been using MySQL from a remote GUI for a week with no problems, so I know the database install is fine. PHP runs completely normal except for not talking to MySQL.

任何建议将是极大的AP preciated。

Any suggestions would be greatly appreciated.

感谢您百忙之中阅读我的问题的时间。
保罗

Thank you for taking the time to read my question. Paul

推荐答案

运行 sudo的固定它易于得到安装PHP5-MySQL的。发现这个溶液在<一href=\"http://www.howtoforge.com/installing-apache2-with-php5-and-mysql-support-on-ubuntu-10.04-lamp-p2\" rel=\"nofollow\">http://www.howtoforge.com/installing-apache2-with-php5-and-mysql-support-on-ubuntu-10.04-lamp-p2

这篇关于缺少在MySQL的phpinfo在Ubuntu Linux的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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