#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2001
    Location
    Austin,TX
    Posts
    62
    Rep Power
    0

    PHP connections to PostgreSQL over SSL


    I'm looking for suggestions on ways to connect from PHP on Apache on one machine to a PostgreSQL server on another machine (so basically over SSL).

    I understand that it's necessary to use hostssl in the pg_hba.conf file but not entirely sure what it involves on the PHP side of things. Which port do you connect on?

    I plan on putting together a guide for users who'd like to separate their web and database servers over an SSL connection.

    -niyogi
  2. #2
  3. Modding: Oracle MsSQL Firebird
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2001
    Location
    Outside US
    Posts
    8,527
    Rep Power
    538

IMN logo majestic logo threadwatch logo seochat tools logo