#26074 [Com]: PGSQL.DLL missing from 5.0.0 Beta 2 Win Distribution
| From: | nightstorm at tlen dot pl | Date: | Fri, 14 Nov 2003 14:55:54 +0000 |
| Subject: | #26074 [Com]: PGSQL.DLL missing from 5.0.0 Beta 2 Win Distribution | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-50390@lists.php.net to get a copy of this message | ||
ID: 26074
Comment by: nightstorm at tlen dot pl
Reported By: efesar at unm dot edu
Status: Assigned
Bug Type: PostgreSQL related
Operating System: Windows XP Pro SP1
PHP Version: 5CVS-2003-11-01 (dev)
Assigned To: edink
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2003-11-02 11:57:55] edink@php.net
The pgsql extension failed to compile at the build time, assigning this
to myself.
------------------------------------------------------------------------
[2003-11-01 21:34:49] 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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26074&edit=1