PHP not loading php_pgsql.dll on Windows

后端 未结 17 1796
面向向阳花
面向向阳花 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:13

    The only time I've seen this error (and the file name and ext path were definitely correct) was when I tried using an incorrect version of the DLL ie. I used one that was compiled against a different version of PHP to the one I was running.

    Make sure your version is definitely the one compiled against PHP 5.2.8.

    Edit: or, the permissions on the file were set incorrectly.

提交回复
热议问题