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] [EMAIL PROTECTED]

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

Reply via email to