php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6289 Apache isn't running with PHP4 module with PostrgreSQL support
Submitted: 2000-08-22 03:53 UTC Modified: 2000-10-02 22:55 UTC
From: stanislav dot kuba at cz dot worldonline dot com Assigned:
Status: Closed Package: PostgreSQL related
PHP Version: 4.0.1pl2 OS: Solaris
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: stanislav dot kuba at cz dot worldonline dot com
New email:
PHP Version: OS:

 

 [2000-08-22 03:53 UTC] stanislav dot kuba at cz dot worldonline dot com
If I compile PHP4 module with PostgreSQL support compilation is OK. But apache cannot start (it cannot find libpq.so). The PHP3 module is without problem.
I use this configure parametrs.

./configure  --with-pgsql --with-apxs=/usr/local/apache/bin/apxs 
or
./configure  --with-pgsql=/usr/local/ --with-apxs=/usr/local/apache/bin/apxs 

and I have PostgreSQL in /usr/local/. The library libpq.so is in /usr/local/lib.

I have
PostgreSQL 6.5
Apache 1.3.9

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-26 09:20 UTC] sniper@php.net
If you don't have it already, try adding /usr/local/lib into LD_LIBRARY_PATH.
Please report back whether this helps or not.

--Jani
 [2000-10-02 22:55 UTC] sniper@php.net
No feedback.

--Jani
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 12:01:33 2025 UTC