Re: Php + pgsql
| From: | Yasuo Ohgaki | Date: | Fri, 18 Jan 2002 02:06:44 +0000 |
| Subject: | Re: Php + pgsql | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-5618@lists.php.net to get a copy of this message | ||
The cause are
- you haven't build PHP by yoursel
- build PHP with different system
- you have old libpq.so in your system
- others?
Build PHP with your system and make sure you don't have
old libpq.so enabled on your system.
Use following order for ld.so.conf if you have old libpq.
/usr/local/pgsql/lib /usr/lib /usr/lib/qt-2.1.0/lib /usr/lib/qt-1.45/lib /usr/X11R6/lib /usr/local/BerkeleyDB.3.2/lib-- Yasuo Ohgaki Leonard Bouchet wrote:
Hi, I saw this problem has been reported a few times, but I still can't make it work on my system. I get Syntax error on line 226 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/libphp4.so into server: /etc/httpd/modules/libphp4.so: undefined symbol: PQoidValue when I tried to start apache 1.3.22 I've compiled php 4.0.6 with ./configure --with-pgsql=/usr/local/pgsql --with-apxs --without-mysql And my ld.so.conf is /usr/lib /usr/lib/qt-2.1.0/lib /usr/lib/qt-1.45/lib /usr/X11R6/lib /usr/local/BerkeleyDB.3.2/lib /usr/local/pgsql/lib So I can't figure out why it still doesn't work for me... Any help would be appreciated Thanks a lot in advance -leo (PostgreSQL version: 7.1.3)