用户评论:

nestor dot martinez at etb dot net dot co (2010-03-22 17:47:38)

If you get a message like this:

"Php Startup: Unable to load dynamic library 'C:\php\ext\php_pgsql.dll"

1. In the Configuration File alter the order of the libraries "php_exif.dll" and "php_mbstring.dll", in such a way that is called first the library "php_mbstring.dll"

2. Copy all the libraries in the folder "bin" of your installation of PostgreSQL and paste them into the root folder of Windows

3. Uncomment the line "extension=php_pgsql.dll"

4. Now you should see on the page generated by "phpinfo()" section of PostgreSQL

cin at example dot com (2009-10-31 21:09:25)

If you have problem to use php_pgsql.dll try to use older version of the file. For me worked perfectly version 5.1.4.4 (152kb) dated 2006-05-04. Newer failed :(

(IIS+php 5.1.4)

some at domain dot name (2009-10-29 16:35:56)

Another windows xp solution for "Unable to load dynamic library 'php_pgsql.dll' - The specified module could not be found."

Add the path of the postgres binaries to the system search-path:

Right click on "My Computer", select "properties", "advanced"-tab, "Environment variables"-button, "System variables"-section, select "path" and click "Edit" and add the path to the postgres binaries at the end, in my case it was "C:\Program Files\PostgreSQL\8.4\bin" and then restart the computer (or at least restart the apache/php processes)

Please note that the system-path can have several values, each separated by a semicolon ";".

emil at example dot com (2009-01-07 06:04:20)

Unable to load dynamic library 'C:\\php\\ext\\php_pgsql.dll' - The specified module could not be found.

another solution:

copy libpq.dll/all files from zip (if you have php from installer)

add to httpd.conf:

#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

PHPIniDir "c:/PHP/"

Loadfile "C:\php\php5ts.dll"

Loadfile "C:\php\libpq.dll"

LoadModule php5_module "c:/PHP/php5apache2_2.dll"

#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

AddHandler application/x-httpd-php .php

AddHandler application/x-httpd-php-source .phps

(in php.ini default: extension_dir ="c:\PHP\ext" )

if it doesn't work add c:\php (php path) to your windows path (and restart)

tested on php5.2.8 + apache2.2.3

kouber at php dot net (2008-11-26 05:01:41)

If you get this error on Windows:

Unable to load dynamic library 'C:/php/ext\\php_pgsql.dll' - The specified module could not be found.

Try downloading the PostgreSQL binaries-no-install archive from http://www.postgresql.org/ftp/binary/v8.3.5/win32/ (replace 8.3.5 with the latest stable version) and copy these DLLs to C:/WINDOWS/system32/ :

comerr32.dll

gssapi32.dll

k5sprt32.dll

krb5_32.dll

libeay32.dll

libiconv2.dll

libintl3.dll

libpq.dll

ssleay32.dll

php的安装配置,PHP 安装/配置相关推荐

  1. 【CV】Python下载安装及环境变量配置教程

    目录 Python下载 Python安装 Python环境变量配置 Python下载 可通过https://www.python.org/downloads/下载 1.进入网页后点击Windows,其 ...

  2. mysql安装好需要优化配置一下_Mysql的安装、配置、优化

    Mysql的安装.配置.优化 安装步骤 1.先单击中的安装文件,如果是win7系统,请选择以管理员的方式运行. 2.大概需要30秒的时间,开始进入安装界面.请先把标红的打勾,好进行下一步的动作. 3. ...

  3. oracle数据库配置失败,oracle11g – Oracle 11G XE安装错误:数据库配置失败

    在 linuxMint上安装后运行oracle配置时: /etc/init.d/oracle-xe configure 指定以下错误: sudo /etc/init.d/oracle-xe confi ...

  4. mysql属性配置提高查询_MYSQL性能优化-安装时优化参数配置提高服务性能

    MYSQL性能优化一直是个头痛的问题,目前大多都是直接把页面html静态页面或直接使用了缓存技术,下面我就mysql本身的性能优化来分享一下. 安装时优化参数配置提高服务性能 在Linux下安装Mys ...

  5. 安装JDK1.8+环境配置

    安装JDK1.8+环境配置 1.下载JDK 2.安装JDK 3.环境配置 3.1 新建系统变量 3.2 添加Path路径 3.3 使用cmd命令行验证是否环境配置成功 1.下载JDK 直接官网下载:h ...

  6. linux deploy ENV 目录,手机安装linux deploy 安装和配置

    最近在淘了一款二手三星的sw-2014,正好最近正在研究智能家居.就想用它来搭建domoticz来管理,虽然手头也有一块吃灰的树莓派3b,但是觉得用树莓派搭建有点浪费,索性就用这款手机. [为什么不用 ...

  7. wamp安装和配置_Joomla安装教程

    Joomla的安装非常的简单,只要前面的环境配置没有出问题,一般直接下一步就可以了.大约3分钟能够完成安装. 1,本节目标 成功安装joomla.成功的标准为能够访问joomla的前台 2,确认wam ...

  8. 的安装配置_JDK安装与配置

    JDK的配置,是学习java编程的第一步. 相信学计算机的都会接触到编程,编程最头疼的就是环境配置,但是每个学编程的都必须给自己的电脑进行环境配置. 安装教程 (安装包资源) 链接:https://p ...

  9. mysql windows 管道连接,科技常识:Windows Server 2016 MySQL数据库安装配置详细安装教程...

    今天小编跟大家讲解下有关Windows Server 2016 MySQL数据库安装配置详细安装教程 ,相信小伙伴们对这个话题应该也很关注吧,小编也收集到了有关Windows Server 2016 ...

  10. Linux平台 Oracle 18c RAC安装Part2:GI配置

    三.GI(Grid Infrastructure)安装 3.1 解压GI的安装包 3.2 安装配置Xmanager软件 3.3 共享存储LUN的赋权 3.4 使用Xmanager图形化界面配置GI 3 ...

最新文章

  1. Jupyter 环境配置
  2. MoreUnit与MoreUnit
  3. 六自由度高超声速飞行器的建模与控制器设计
  4. 希捷推2TB 2.5英寸SSHD和5TB 2.5英寸机械硬盘
  5. [Xcode 实际操作]六、媒体与动画-(1)使用图形上下文按一定比例缩放图片
  6. 全志 添加外挂RTC Hym8563
  7. 专攻国内实体瘤CAR-T细胞疗法,南京卡提医学获数千万元A轮融资...
  8. Linux C基础笔记(4)终结篇
  9. c语言进度,C语言实现动态进度条
  10. C++中的拷贝构造函数
  11. IDEA右键菜单管理--懒人专用
  12. 08-搭建Rest服务 - 04权限管理
  13. App中WebView网页加载优化实战干货
  14. 携程工作感言(一)(6.30)
  15. choose标签使用
  16. Unity 3D涂色
  17. [J2EE][shiro][授权和认证框架]
  18. 户外运动品牌的PLM 冒险!PLM软件转型升级常见问题
  19. k8s实现nginx-ingress通过统一IP访问服务无缝对接生产上游Nginx
  20. 百度Java面试题前200页。

热门文章

  1. SQLite.NET提供程序的选择
  2. 02-NLP-01-jieba中文处理
  3. Linux学习整理(一)
  4. ubuntu重启+sublime快捷键
  5. 【巧妙算法系列】【Uva 11464】 - Even Parity 偶数矩阵
  6. Android中图片的目录
  7. 一台机器上启动多个tomcat
  8. Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart
  9. cve-2019-11076 Cribl UI 1.5.0 未授权命令执行漏洞分析
  10. jenkins rec cve-2019-1003000 复现