dongqiu9018 2018-08-01 00:31
浏览 86
已采纳

在MAMP 4.0.1中不加载pdo_psql

A few hours ago I installed MAMP Pro 4.0.1 on Windows 10 so far everything was fine until I decided to uncomment pdo_psql.dll inside php.ini to create a connection from PHP to Postgresql but something went wrong, The driver doesn't load it says:

Warning: PHP Startup: Unable to load dynamic library 
'C:\php\ext\php_pdo_pgsql.dll' - The  module can't be found.
 in Unknown on line 0 PHP 7.1.7 (cli) (built: Jul 25 2017 09:24:45) ( ZTS 
 MSVC14 (Visual C++ 2015) x86 )Copyright (c) 1997-2017 The PHP GroupZend
Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
  • 写回答

1条回答 默认 最新

  • dtl19910708 2018-08-02 04:10
    关注

    I found the issue. the thing was that the extention dir wasn't uncommented by default settings so I had to uncomment it in php.ini file.

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

报告相同问题?

悬赏问题

  • ¥15 lammps拉伸应力应变曲线分析
  • ¥15 C++ 头文件/宏冲突问题解决
  • ¥15 用comsol模拟大气湍流通过底部加热(温度不同)的腔体
  • ¥50 安卓adb backup备份子用户应用数据失败
  • ¥20 有人能用聚类分析帮我分析一下文本内容嘛
  • ¥15 请问Lammps做复合材料拉伸模拟,应力应变曲线问题
  • ¥30 python代码,帮调试
  • ¥15 #MATLAB仿真#车辆换道路径规划
  • ¥15 java 操作 elasticsearch 8.1 实现 索引的重建
  • ¥15 数据可视化Python