|
Posted by ljb on 10/19/46 11:40
matthew.crouch@spamlessverizon.net wrote:
> 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)
>...
Did phpinfo show the module information ("PostgreSQL Support")?
If not, and PHP was built with pgsql shared, you probably have the module but it
isn't loaded. You would load it either from php.ini (extension=pgsql.so)
or from a script with dl().
And the function is called pg_connect(), not pgsql_connect().
Navigation:
[Reply to this message]
|