FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » non-standard postgres port (non-standard postgres port)
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
non-standard postgres port [message #39065] Mon, 24 September 2007 23:19 Go to next message
drsanchez is currently offline  drsanchez   United States
Messages: 2
Registered: September 2007
Karma: 0
Junior Member
Hi all, I am using a postgres server on a non-standard port (not the default of 5432) and can't figure out how to install FUDforum.
I go to the install.php page, fill out step 1, then step 2 stops me cold.

I've tried localhost:5434, <machine_name>:5434, putting http:// in front of it all, etc.
Is there something I'm missing?

Thanks.
Re: non-standard postgres port [message #39067 is a reply to message #39065] Mon, 24 September 2007 23:36 Go to previous messageGo to next message
Ilia is currently offline  Ilia   
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
What back-end to PostgreSQL are you using, PDO_PGSQL or pgsql?

FUDforum Core Developer
Re: non-standard postgres port [message #39069 is a reply to message #39065] Mon, 24 September 2007 23:46 Go to previous messageGo to next message
drsanchez is currently offline  drsanchez   United States
Messages: 2
Registered: September 2007
Karma: 0
Junior Member
php was compiled with:
'--with-pgsql=/opt'

I've used this instance of php to connect to the PG database in the past, but always through homemade scripts where I can type the connection string directly (e.g., pg_pconnect("host=localhost port=5434, ...").
Re: non-standard postgres port [message #39082 is a reply to message #39069] Tue, 25 September 2007 18:23 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
For the hostname put the following value:

hostname port=5434


FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: next official non RC release
Next Topic: SQL Error has occurred
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 21:49:47 GMT 2024

Total time taken to generate the page: 0.02925 seconds