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 matlab中使用gurobi时报错
  • ¥15 WPF 大屏看板表格背景图片设置
  • ¥15 这个主板怎么能扩出一两个sata口
  • ¥15 不是,这到底错哪儿了😭
  • ¥15 2020长安杯与连接网探
  • ¥15 关于#matlab#的问题:在模糊控制器中选出线路信息,在simulink中根据线路信息生成速度时间目标曲线(初速度为20m/s,15秒后减为0的速度时间图像)我想问线路信息是什么
  • ¥15 banner广告展示设置多少时间不怎么会消耗用户价值
  • ¥16 mybatis的代理对象无法通过@Autowired装填
  • ¥15 可见光定位matlab仿真
  • ¥15 arduino 四自由度机械臂