Re: I can't do a connection to POSTGRES from PHP4 as NSAPI
| From: | Martin A. Marques | Date: | Fri, 16 Mar 2001 22:58:07 +0000 |
| Subject: | Re: I can't do a connection to POSTGRES from PHP4 as NSAPI | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-44337@lists.php.net to get a copy of this message | ||
El Vie 16 Mar 2001 19:53, Norberto Rojas escribió:
> Hi,
>
> I built the latest PHP4 to use it as NSAPI with postgress connection:
>
> ./configure --with-nsapi=/usr/netscape/server4/
> --with-pgsql=/var/lib/pgsql --enable-libgcc --enable-track-vars
> make
> make install
> "stop web server" & "restart"
>
> ,but when I try to pg_connect to postgres, I get the following:
>
> PHP Fatal Error: call to undefined function
>
> : pg_connect line 8
Norberto, check the compilation (make command), because you are simple not
compiling PHP with postgres support. Check the configure, to see if it really
finds the postgres distro, or if it checks it, doesn't find it, and says "I
won't give support for postgres".
> I dont understand why this is happening.
> What can I do? I searched for this error and could not find any help.
>
> Thanks in advance
--
System Administration: It's a dirty job,
but someone told me I had to do it.
-----------------------------------------------------------------
Martín Marqués email: martin@math.unl.edu.ar
Santa Fe - Argentina http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------