Re: apache 1.3.9 pgsql 7.1 php4 on solaris 2.7
| From: | Yasuo Ohgaki | Date: | Wed, 25 Apr 2001 14:38:54 +0000 |
| Subject: | Re: apache 1.3.9 pgsql 7.1 php4 on solaris 2.7 | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-8877@lists.php.net to get a copy of this message | ||
You can't load libpq.so, but pgsql.so. If you compiled PostgreSQL extension as
self contained module.
(Location of shared object is probably wrong, also)
I suggest to compile PostgreSQL module in PHP. Minimum configure line would be
./configure --with-apxs --with-pgsql
Make sure to use libpq7.1. With 7.0, it will gives you a lot of troubles.
Regards,
--
Yasuo Ohgaki
""Marc Blum"" <mblum@student.ethz.ch> wrote in message
news:9c64tv$k7u$1@toye.p.sourceforge.net...
> Hello
>
> We're trying to get this running. php4 is running as dynamically linked
> module.
>
> the php.ini file contains the entry: extension=libpq.so and extensiondir=./
> libpq.so has been copied to the php directory and the modules and libs
> subdirs.
>
> postmaster is up and running but in our testscript the function pg_connect()
> cannot be found (undefined)
>
> We assume that php (or apache?) doesn't load the libpq.so correctly...
>
> apache hasn't been configured --with-pgsql=?? but --enable-module=so has
> been done.
>
> Your help is greatly appreciated! Please reply directly to
> mblum@student.ethz.ch
>
> Regards, Marc
>
>
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>