dsff788655567 2016-07-30 15:19
浏览 44
已采纳

WIN7 + PHP7 + POSTGRES 9.5 + APACHE 2.4 MISSING PDO

my phpinfo () can not load the 'php_pdo_pgsql.dll' and 'php_pgsql.dll'. The dlls are inside the folder 'c: / php / ext' correctly!

enter image description here


Now, if I uncomment the pdo MYSQL and restarting APACHE, it is usually loaded! the problem happens only with POSTGRES! enter image description here

Any solution? Thank you!

  • 写回答

1条回答 默认 最新

  • douchun3680 2016-07-30 15:43
    关注

    On a Windows server, configured with Apache, i added the following line to httpd.conf to load libpq.dll solved the my problem:

    LoadFile "C:/Program Files/PostgreSQL/9.5/bin/libpq.dll"

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

报告相同问题?