php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68378 Cannot load pgsql extension
Submitted: 2014-11-08 18:30 UTC Modified: 2014-12-23 19:09 UTC
From: tony at marston-home dot demon dot co dot uk Assigned:
Status: No Feedback Package: PostgreSQL related
PHP Version: 5.6.2 OS: Windows
Private report: No CVE-ID: None
 [2014-11-08 18:30 UTC] tony at marston-home dot demon dot co dot uk
Description:
------------
I am running Windows 7 with Apache 2.4.10 and PostgresSQL version 9.2.5. After upgrading my PHP version from 5.5.18 to 5.6.2 I can longer use the pgsql extension as my code fails with " Call to undefined function pg_connect()". When I run phpinfo() it shows that the pgsql extension is not loaded.

When I look in the Apache error log it shows no errors. When I look in the Windows event viewer it also shows no errors.

This was working perfectly with PHP 5.5.18, so why should a simple upgrade to 5.6.2 cause such a problem?

Expected result:
----------------
I expect the pgsql extension to be loaded and usable.

Actual result:
--------------
The pgsql extension is not loaded, and there are no error messages explaining why.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-11-09 00:32 UTC] requinix@php.net
-Status: Open +Status: Feedback
 [2014-11-09 00:32 UTC] requinix@php.net
You sure you're editing the right php.ini? Use phpinfo() to check which file you should be editing.
 [2014-12-23 19:09 UTC] ab@php.net
-Status: Feedback +Status: No Feedback
 [2014-12-23 19:09 UTC] ab@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 11:01:30 2024 UTC