dqkf49487 2014-12-20 18:38
浏览 414
已采纳

Adminer无法找到PHP扩展

5.2.17, apache 2.2.5 and MySQL 5.6.22 and adminer 4.1.0-mysql

My configuration

**[SYSTEM variables]**

PHPRC = C:\PHP

PATH = ....;C:\Program Files (x86)\Apache Software Foundation\Apache2.2\bin\;C:\PHP;C:\Program Files (x86)\MySQL\MySQL Server 5.5\bin;C:\Program Files (x86)\MySQL\MySQL Fabric 1.5.3 & MySQL Utilities 1.5.3 1.5\;C:\Program Files (x86)\MySQL\MySQL Fabric 1.5.3 & MySQL Utilities 1.5.3 1.5\Doctrine extensions for PHP\

**[SYSTEM variables]**


**[PHP.ini]**
extension_dir = "C:\PHP\ext"
extension=php_mysql.dll
**[PHP.ini]**

**[httpd.conf]**
LoadModule php5_module "C:/PHP/php5apache2_2.dll"

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
PHPIniDir "C:\PHP\"
**[httpd.conf]**

but when I go to adminer I authenticate I get this message in Adminer

Error None of the supported PHP extensions (MySQLi, MySQL, PDO_MySQL) are available. Error

but I ve tried everything but I was not able to locate error. It s weird. Is somebody here who have similar problem and figure out.

libmysql.dll is in system32 folder I really dont know what is the problem here

When I query Mysql it works so its very weird behavior.

Thanks Jakub

  • 写回答

1条回答 默认 最新

  • duanqilupinf67040 2019-07-31 06:51
    关注

    For Linux please check extension loaded folder(if there is mysqli.ini/mysqlnd.ini in /etc/php/../apache2/mods-available ) file available or not in configuration loaded folder.Even i use command apt-get install php-mysql sometimes library file are missing.

    For Windows check library folder and check if required library file is present or not.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 js调用html页面需要隐藏某个按钮
  • ¥15 ads仿真结果在圆图上是怎么读数的
  • ¥20 Cotex M3的调试和程序执行方式是什么样的?
  • ¥20 java项目连接sqlserver时报ssl相关错误
  • ¥15 一道python难题3
  • ¥15 牛顿斯科特系数表表示
  • ¥15 arduino 步进电机
  • ¥20 程序进入HardFault_Handler
  • ¥15 oracle集群安装出bug
  • ¥15 关于#python#的问题:自动化测试