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 :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
non-standard postgres port [message #39065] Mon, 24 September 2007 19:19 Go to next message
drsanchez is currently offline  drsanchez   United States
Messages: 2
Registered: September 2007
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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 19: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
add to buddy list
ignore all messages by this user
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 19:46 Go to previous messageGo to next message
drsanchez is currently offline  drsanchez   United States
Messages: 2
Registered: September 2007
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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 14:23 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
For the hostname put the following value:

hostname port=5434


FUDforum Core Developer
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
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: Mon Sep 24 03:53:13 EDT 2018

Total time taken to generate the page: 0.00687 seconds