php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26074 PGSQL.DLL missing from 5.0.0 Beta 2 Win Distribution
Submitted: 2003-11-01 21:34 UTC Modified: 2003-12-14 21:52 UTC
Votes:33
Avg. Score:4.9 ± 0.4
Reproduced:16 of 23 (69.6%)
Same Version:11 (68.8%)
Same OS:11 (68.8%)
From: efesar at unm dot edu Assigned: edink (profile)
Status: Closed Package: PostgreSQL related
PHP Version: 5CVS-2003-11-01 (dev) OS: Windows XP Pro SP1
Private report: No CVE-ID: None
 [2003-11-01 21:34 UTC] efesar at unm dot edu
Description:
------------
The new distributable did not come with PHP_PGSQL.DLL, and the old distributable from 5.0.0 Beta 1 does not function with Beta 2. 

Also, tried php_pgsql.dll from php-4.3.4RC3-Win32.zip, but that produced the same error. 

==============

[01-Nov-2003 19:24:41] PHP Warning:  PHP Shutdown: Unable to load dynamic library 'c:\program files\apache group\php5\extensions\php_pgsql.dll' - The specified module could not be found.

 in Unknown on line 0

[01-Nov-2003 19:24:43] PHP Warning:  PHP Startup: Unable to load dynamic library 'c:\program files\apache group\php5\extensions\php_pgsql.dll' - The specified module could not be found.

 in Unknown on line 0



Reproduce code:
---------------
// This is really just a configuration issue, but I can prove 
// that PGSQL is not loaded by ...

$test = pg_connect();

Expected result:
----------------
I expect it to at least try to connect to a database.

Actual result:
--------------
[01-Nov-2003 19:26:02] PHP Fatal error:  Call to undefined function pg_connect() in F:\html\phpinfo.php on line 3



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-02 11:57 UTC] edink@php.net
The pgsql extension failed to compile at the build time, assigning this to myself.
 [2003-11-14 09:55 UTC] nightstorm at tlen dot pl
I noticed that php_pgsql.dll in PHP5 snapshots is not available since they added the "psql_version()" function, or something like that. Anyway, this is a fragment of the compile log:

c:\php4build\snap\ext\pgsql\pgsql.c(648) : error C2065: 'PG_VERSION' : undeclared identifier
 [2003-12-14 21:52 UTC] edink@php.net
This has been fixed now. Client library was upgraded to version 7.4.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 20:01:28 2024 UTC