--with-pgsql=WHERE?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Matt

    --with-pgsql=WHERE?

    I need an installation with Postgres support, and was happy to find in
    my phpinfo that there was a
    --with-pgsql=shared
    option in the config line.

    but I still got "call to undefined function: pgsql_connect (4.3.11)

    So I figured whatev, I'll put a new installation (PHP5, in fact), but I
    always fail config with:
    Cannot find libpq-fe.h. Please specify correct Postgresql installation path

    'course i looked in my handy old webmin to see where Postgres might
    be... tried various paths I found in various places
    --with-pgsql=/var/lib/pgsql/
    --with-pgsql=/usr/share/pgsql
    --with-pgsql=/usr/bin/psql
    obviously not a lib, but getting desparate...
Working...