can't connect to a postgreSQL database from PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



HelpHi everybody!

I've got a problem using PHP to connect to a postgre database, it seems that
the function for postgre are not recognized or something like that because a
I get the following error in the web navigator:
"Fatal Error: Calling to undefined function pg_connect() ...)"

I configured php with: ./configure --with-apache=/usr/local/apache_1.3.26
                                                 --with-pgsql=shared
                                                 --enable-track-vars
                                                --with-xml
after that I reconfigured Apache to take into account php:

                               ./configure --prefix=/usr/local/apache_1.3.26
                                                --activate-module=src/module
s/php4/libphp4.a


Any idea to solve it?

Thank you all.



[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux