php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3984 problems with loading pgsql.so
Submitted: 2000-03-30 13:17 UTC Modified: 2000-07-14 23:26 UTC
From: bonkey at oho dot com dot pl Assigned:
Status: Closed Package: PostgreSQL related
PHP Version: 4.0 Release Candidate 1 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bonkey at oho dot com dot pl
New email:
PHP Version: OS:

 

 [2000-03-30 13:17 UTC] bonkey at oho dot com dot pl
/var/log/httpd/error_log:
PHP Warning:  Invalid library (maybe not a PHP library) 'pgsql.so'  in Unknown on line 0

./configure i686-pld-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/usr/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --with-apxs=/usr/sbin/apxs --with-config-file-path=/etc/httpd --with-exec-dir=/usr/bin --disable-debug --enable-magic-quotes --enable-shared --enable-track-vars --enable-safe-mode --enable-trans-sid --enable-sysvsem --enable-sysvshm --enable-xml=shared --with-zlib --with-regex=system --with-gettext --with-mysql --with-dbase --with-filepro --with-ftp --with-hyperwave --with-java --with-pdflib --with-pgsql=shared,/usr

php.ini:
extension_dir   =       /usr/lib/apache/php/
extension=pgsql.so

ls -l /usr/lib/apache/php/pgsql.so:
-rwxr-xr-x    1 root     root        24176 mar 30 18:40 /usr/lib/apache/php/pgsql.so

file /usr/lib/apache/php/pgsql.so:
/usr/lib/apache/php/pgsql.so: ELF 32-bit LSB shared object, Intel 80386, version 1, stripped

System:
Apache 1.3.12 (./configure --prefix=/usr --sysconfdir=/etc/httpd --includedir=/usr/include/apache --sbindir=/usr/sbin --libexecdir=/usr/lib/apache --datadir=/home/httpd --localstatedir=/var --runtimedir=/var/run --logfiledir=/var/log/httpd --with-layout=PLD --without-confadjust --enable-module=all --enable-shared=max --proxycachedir=/var/cache/apache --with-perl=/usr/bin/perl --enable-suexec --suexec-caller=http --suexec-uidmin=500 --suexec-gidmin=500 --disable-rule=WANTHSREGEX --enable-rule=EAPI)

Linux matylda 2.2.14 #2 Fri Mar 17 00:58:09 CET 2000 i686 pld

glibc 2.1.3, gcc 2.95.2

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-14 23:26 UTC] jah at cvs dot php dot net
Problem doesn't seem to exist anymore in current PHP. By the way, is your LD_LIBRARY_PATH set? See bug id #4575 for the explanation.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 31 12:00:02 2025 UTC