pg.ddx.io pgsql-php@postgresql.org mailing list archive
help / color / mirror / Atom feedpg_query_params version?
4+ messages / 3 participants
[nested] [flat]
* pg_query_params version?
@ 2009-08-03 19:50 Carol Walter <walterc@indiana.edu>
0 siblings, 2 replies; 4+ messages in thread
From: Carol Walter @ 2009-08-03 19:50 UTC (permalink / raw)
To: pgsql-php
Which version of PHP does pg_query_params need? I wrote a PHP
iprogram using PHP 5. My client has PHP 4 something. I got an error
on the first line that contains a pg_query_params function. Is the
problem likely to be the difference in the versions or should I look
elsewhere?
The error is...
Fatal error: Call to undefined function: pg_query_params() in /
projects/ivl/www/ssl/admin/index.php on line 220
Carol
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: pg_query_params version?
@ 2009-08-03 19:52 Bill Moran <wmoran@potentialtech.com>
parent: Carol Walter <walterc@indiana.edu>
1 sibling, 1 reply; 4+ messages in thread
From: Bill Moran @ 2009-08-03 19:52 UTC (permalink / raw)
To: Carol Walter <walterc@indiana.edu>; +Cc: pgsql-php
In response to Carol Walter <walterc@indiana.edu>:
> Which version of PHP does pg_query_params need? I wrote a PHP
> iprogram using PHP 5. My client has PHP 4 something. I got an error
> on the first line that contains a pg_query_params function. Is the
> problem likely to be the difference in the versions or should I look
> elsewhere?
>
> The error is...
>
> Fatal error: Call to undefined function: pg_query_params() in /
> projects/ivl/www/ssl/admin/index.php on line 220
You already know the problem. The PHP docs:
http://us2.php.net/manual/en/function.pg-query-params.php
claim:
(PHP 5 >= 5.1.0)
Thus that function is only in version 5.1.0 and newer.
--
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: pg_query_params version?
@ 2009-08-03 19:53 Raymond O'Donnell <rod@iol.ie>
parent: Carol Walter <walterc@indiana.edu>
1 sibling, 0 replies; 4+ messages in thread
From: Raymond O'Donnell @ 2009-08-03 19:53 UTC (permalink / raw)
To: Carol Walter <walterc@indiana.edu>; +Cc: pgsql-php
On 03/08/2009 20:50, Carol Walter wrote:
> Which version of PHP does pg_query_params need? I wrote a PHP iprogram
> using PHP 5. My client has PHP 4 something. I got an error on the
> first line that contains a pg_query_params function. Is the problem
> likely to be the difference in the versions or should I look elsewhere?
>
> The error is...
>
> Fatal error: Call to undefined function: pg_query_params() in
> /projects/ivl/www/ssl/admin/index.php on line 220
Dunno for sure - I've never used PHP 4 - but it certainly looks as if
the problem is the older version of PHP.
You should encourage your client to use a newer version of PHP if at all
possible - PHP 4 is not supported any more.
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: pg_query_params version?
@ 2009-08-03 20:11 Carol Walter <walterc@indiana.edu>
parent: Bill Moran <wmoran@potentialtech.com>
0 siblings, 0 replies; 4+ messages in thread
From: Carol Walter @ 2009-08-03 20:11 UTC (permalink / raw)
To: ; +Cc: pgsql-php
Of course, I suspected that this was the problem, however, I can't
change the client's PHP version, so before I made major modifications
to my program, I wanted to make sure this was the problem. In my 25
year career in IT, I have occasionally run across an error message
that didn't mean what it said. =)
Carol
On Aug 3, 2009, at 3:52 PM, Bill Moran wrote:
> In response to Carol Walter <walterc@indiana.edu>:
>
>> Which version of PHP does pg_query_params need? I wrote a PHP
>> iprogram using PHP 5. My client has PHP 4 something. I got an error
>> on the first line that contains a pg_query_params function. Is the
>> problem likely to be the difference in the versions or should I look
>> elsewhere?
>>
>> The error is...
>>
>> Fatal error: Call to undefined function: pg_query_params() in /
>> projects/ivl/www/ssl/admin/index.php on line 220
>
> You already know the problem. The PHP docs:
> http://us2.php.net/manual/en/function.pg-query-params.php
> claim:
> (PHP 5 >= 5.1.0)
>
> Thus that function is only in version 5.1.0 and newer.
>
> --
> Bill Moran
> http://www.potentialtech.com
> http://people.collaborativefusion.com/~wmoran/
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2009-08-03 20:11 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-08-03 19:50 pg_query_params version? Carol Walter <walterc@indiana.edu>
2009-08-03 19:52 ` Bill Moran <wmoran@potentialtech.com>
2009-08-03 20:11 ` Carol Walter <walterc@indiana.edu>
2009-08-03 19:53 ` Raymond O'Donnell <rod@iol.ie>
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