pg.ddx.io pgsql-php@postgresql.org mailing list archive
help / color / mirror / Atom feedPHP 5.8 -> Postgres on Win2003
4+ messages / 2 participants
[nested] [flat]
* PHP 5.8 -> Postgres on Win2003
@ 2009-01-21 11:53 Raymond O'Donnell <rod@iol.ie>
2009-01-21 21:45 ` Re: PHP 5.8 -> Postgres on Win2003 Chris <dmagick@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Raymond O'Donnell @ 2009-01-21 11:53 UTC (permalink / raw)
To: pgsql-php
Hi all,
Is anyone successfully using PHP 5.8 to talk to PostgreSQL on Windows
Server 2003?
I tried upgrading today from 5.1.4 to 5.8 - I had avoided upgrading for
a while due to a known bug in the PG extension - but it seems that
either the extension is still buggy or I'm doing something silly,
because any call to a pg_* function results in "Call to undefined
function" messages in the log.
I've rolled back to 5.1.4 for the moment, but obviously this isn't
ideal...any input welcome!
Thanks,
Ray.
------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod@iol.ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: PHP 5.8 -> Postgres on Win2003
2009-01-21 11:53 PHP 5.8 -> Postgres on Win2003 Raymond O'Donnell <rod@iol.ie>
@ 2009-01-21 21:45 ` Chris <dmagick@gmail.com>
2009-01-21 22:59 ` Re: PHP 5.8 -> Postgres on Win2003 Raymond O'Donnell <rod@iol.ie>
0 siblings, 1 reply; 4+ messages in thread
From: Chris @ 2009-01-21 21:45 UTC (permalink / raw)
To: Raymond O'Donnell <rod@iol.ie>; +Cc: pgsql-php
Raymond O'Donnell wrote:
> Hi all,
>
> Is anyone successfully using PHP 5.8 to talk to PostgreSQL on Windows
> Server 2003?
>
> I tried upgrading today from 5.1.4 to 5.8 - I had avoided upgrading for
> a while due to a known bug in the PG extension - but it seems that
> either the extension is still buggy or I'm doing something silly,
> because any call to a pg_* function results in "Call to undefined
> function" messages in the log.
You haven't got the pgsql extension loaded. You'll need to copy your
changes from the 5.1.4 php.ini file to the 5.2.8 php.ini (and restart
the webserver if applicable).
--
Postgresql & php tutorials
http://www.designmagick.com/
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: PHP 5.8 -> Postgres on Win2003
2009-01-21 11:53 PHP 5.8 -> Postgres on Win2003 Raymond O'Donnell <rod@iol.ie>
2009-01-21 21:45 ` Re: PHP 5.8 -> Postgres on Win2003 Chris <dmagick@gmail.com>
@ 2009-01-21 22:59 ` Raymond O'Donnell <rod@iol.ie>
2009-01-21 23:11 ` Re: PHP 5.8 -> Postgres on Win2003 Chris <dmagick@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Raymond O'Donnell @ 2009-01-21 22:59 UTC (permalink / raw)
To: Chris <dmagick@gmail.com>; +Cc: pgsql-php
On 21/01/2009 21:45, Chris wrote:
> You haven't got the pgsql extension loaded. You'll need to copy your
> changes from the 5.1.4 php.ini file to the 5.2.8 php.ini (and restart
> the webserver if applicable).
Chris, thanks for the reply. That was the first thing I thought of... I
did in fact copy the entire php.ini file from the old installation to
the new one, and double-checked that the line "extension=php_pgsql.ini"
was uncommented.
The new installation is also in the same place as the old one, so the
registry key to tell PHP where to find php.ini didn't have to be changed.
I'm really puzzled by this one.
Ray.
------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod@iol.ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: PHP 5.8 -> Postgres on Win2003
2009-01-21 11:53 PHP 5.8 -> Postgres on Win2003 Raymond O'Donnell <rod@iol.ie>
2009-01-21 21:45 ` Re: PHP 5.8 -> Postgres on Win2003 Chris <dmagick@gmail.com>
2009-01-21 22:59 ` Re: PHP 5.8 -> Postgres on Win2003 Raymond O'Donnell <rod@iol.ie>
@ 2009-01-21 23:11 ` Chris <dmagick@gmail.com>
0 siblings, 0 replies; 4+ messages in thread
From: Chris @ 2009-01-21 23:11 UTC (permalink / raw)
To: rod@iol.ie; +Cc: pgsql-php
Raymond O'Donnell wrote:
> On 21/01/2009 21:45, Chris wrote:
>
>> You haven't got the pgsql extension loaded. You'll need to copy your
>> changes from the 5.1.4 php.ini file to the 5.2.8 php.ini (and restart
>> the webserver if applicable).
>
> Chris, thanks for the reply. That was the first thing I thought of... I
> did in fact copy the entire php.ini file from the old installation to
> the new one, and double-checked that the line "extension=php_pgsql.ini"
> was uncommented.
An extension will either be a .so or .dll won't it? Or will this syntax
include an external file ? (I've never seen it used so I don't know what
it does). If it's an extra file, did you copy it? :)
> The new installation is also in the same place as the old one, so the
> registry key to tell PHP where to find php.ini didn't have to be changed.
>
> I'm really puzzled by this one.
Anything in the logs about being unable to locate extensions?
--
Postgresql & php tutorials
http://www.designmagick.com/
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2009-01-21 23:11 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-01-21 11:53 PHP 5.8 -> Postgres on Win2003 Raymond O'Donnell <rod@iol.ie>
2009-01-21 21:45 ` Chris <dmagick@gmail.com>
2009-01-21 22:59 ` Raymond O'Donnell <rod@iol.ie>
2009-01-21 23:11 ` Chris <dmagick@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox