PHP not loading php_pgsql.dll on Windows

后端 未结 17 1825
面向向阳花
面向向阳花 2020-12-02 08:46

PHP 5.2.8 is refusing to load php_pgsql.dll, with the following error:

Warning: PHP Startup: Unable to load dynamic library \'D:\\PHP\\ext\\

17条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-02 09:12

    This is an update to @Dayron Armas Peña 's answer. The php bundled pgsql 'dll' is found in the following location:

    LoadFile "C:/wamp/bin/php/php5.4.12/libpq.dll"
    

    Adding the above line to the httpd.conf file apart from uncommenting the required lines in the php.ini files has solved my problem.

提交回复
热议问题