phpmyadmin 错误:缺少 mysql 扩展

发布于 2024-12-09 02:48:36 字数 1049 浏览 0 评论 0原文

我收到以下错误:

phpMyAdmin -

 The mysql extension is missing. Please check your PHP configuration. <a href="Documentation.html#faqmysql" target="documentation"><img class="icon" src="./themes/original/img/b_help.png" width="11" height="11" alt="Documentation" title="Documentation" /></a>

当我尝试从 IE 浏览器访问 phpmyadmin 时出错: localhost/phpmyadmin/index.php

当我尝试访问 phpmyadmin 时,mysql 命令行客户端也在运行。

phpmyadmin 今天早上工作得很好。我测试了网站的注册和登录页面,然后关闭了计算机。然后,当我重新打开它时,出现上述错误。我在我的代码中使用了一些cookie。

我网站上访问数据库的两个页面均出现以下错误: 致命错误:在第 613 行调用 C:\websites\cakephp\cake\libs\model\datasources\dbo\dbo_mysql.php 中未定义的函数 mysql_query()

正如网上所建议的,我已经验证我有 php_mysql。 /php/ext 文件夹中的 dll。 Extension=php_mysql.dll 位于 /php/php.ini 中。 Extension_dir=c:/php/ext.

我还从互联网选项中删除了所有浏览历史记录。

似乎没有任何作用。我一无所知。有谁知道我做错了什么?

我已经安装了以下内容: apache2.2、php5.3.8、phpmyadmin3.4.5、mysql5.1.59(64位)、cakephp1.3.12、mongodb 不单独通过 WAMP 或 XAMP

我在 Windows 7 Professional 64 位上运行,

。先感谢您。

i'm getting the following error:

phpMyAdmin - Error

 The mysql extension is missing. Please check your PHP configuration. <a href="Documentation.html#faqmysql" target="documentation"><img class="icon" src="./themes/original/img/b_help.png" width="11" height="11" alt="Documentation" title="Documentation" /></a>

when i try to access phpmyadmin from my IE browser: localhost/phpmyadmin/index.php

The mysql command line client is also running when im trying to access phpmyadmin.

phpmyadmin was working perfectly today morning. I tested my signup and login pages of my website and switched the computer off. Then, when I switched it back on, I got the above error. I am using some cookies in my code.

Both the pages on my website accessing the database is giving the following error:
Fatal error: Call to undefined function mysql_query() in C:\websites\cakephp\cake\libs\model\datasources\dbo\dbo_mysql.php on line 613

As suggested on the net, i've already verified that I have php_mysql.dll in /php/ext folder.
extension=php_mysql.dll is there in /php/php.ini. Extension_dir=c:/php/ext.

I have also deleted all the browsing history from internet options.

nothing seems to work. I'm clueless. Does anyone know on what i'm doing wrong?

i've installed the following:
apache2.2, php5.3.8, phpmyadmin3.4.5, mysql5.1.59(for 64 bit), cakephp1.3.12, mongodb
separately not through WAMP or XAMP

i'm running on Windows 7 Professional 64bit.

Thank you in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

嘿看小鸭子会跑 2024-12-16 02:48:36

好吧,我终于开始工作了。我不得不重新安装一切。我确保在 IE 中启用 cookie,参考以下链接 http://www.timeanddate .com/custom/cookiesie.html#ie9

现在一切正常。 :)

Ok, I finally got it to work. I had to reinstall everthing. And I made sure cookies are enabled in IE referring to the following link http://www.timeanddate.com/custom/cookiesie.html#ie9.

Now everthing works fine. :)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文