RE: [PHP] Problem connecting to Postgres

2004-08-23 Thread Jay Blanchard
[snip] Fatal error: Call to undefined function: pg_connect() in /Users/jcapy2/Sites/Jesper/SyncPosgresToMbrMaxData .php on line 28 [/snip] http://www.php.net/manual/en/features.commandline.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem connecting to Postgres

2004-08-23 Thread Joshua Capy
Thanks On Aug 23, 2004, at 12:04 PM, Jay Blanchard wrote: [snip] Fatal error: Call to undefined function: pg_connect() in /Users/jcapy2/Sites/Jesper/SyncPosgresToMbrMaxData .php on line 28 [/snip] http://www.php.net/manual/en/features.commandline.php -- PHP General Mailing List

Re: [PHP] Problem connecting to Postgres

2004-08-23 Thread Michal Migurski
I am a newby having a configuration problem. I am using PHP 4.3.6 and postgres 7.4.3 The problem is when I try to execute my php scripts that connect to postgres from the command line I get error like this: Fatal error: Call to undefined function: pg_connect() in

Re: [PHP] Problem connecting to Postgres

2004-08-23 Thread Joshua Capy
Yes I have found that I am running v 4.3.2 on the command line and 4.3.6 under apache Is it possible to run the same version both on the command line and running on apache? On Aug 23, 2004, at 12:23 PM, Michal Migurski wrote: I am a newby having a configuration problem. I am using PHP 4.3.6

RE: [PHP] Problem connecting to Postgres

2004-08-23 Thread Jay Blanchard
[snip] Yes I have found that I am running v 4.3.2 on the command line and 4.3.6 under apache Is it possible to run the same version both on the command line and running on apache? [/snip] Yes. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Problem connecting to Postgres

2004-08-23 Thread Joshua Capy
Ok next stupid question At the command line how to I force the execution of the 4.3.6 apache version or change the default to it. On Aug 23, 2004, at 2:39 PM, Jay Blanchard wrote: [snip] Yes I have found that I am running v 4.3.2 on the command line and 4.3.6 under apache Is it possible to run

RE: [PHP] Problem connecting to Postgres

2004-08-23 Thread Jay Blanchard
[snip] At the command line how to I force the execution of the 4.3.6 apache version or change the default to it. [/snip] You need to install the proper CLI version as described http://www.php.net/manual/en/features.commandline.php -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Problem connecting to Postgres

2004-08-23 Thread Jason Wong
On Tuesday 24 August 2004 02:42, Joshua Capy wrote: Ok next stupid question At the command line how to I force the execution of the 4.3.6 apache version or change the default to it. What one usually does is compile different 'versions' of php using the same config options (if you want them