Re: pgsql+apache module
| From: | Andy MacNamara | Date: | Fri, 08 Dec 2000 17:35:24 +0000 |
| Subject: | Re: pgsql+apache module | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-29377@lists.php.net to get a copy of this message | ||
# dpkg -l apache postgresql php4
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name Version Description
+++-====================-====================-===========================
ii apache 1.3.14-2 Versatile, high-performance HTTP server
ii postgresql 7.0.3-2 Object-relational SQL database
ii php4 4.0.4-0RC3.2 A server-side, HTML-embedded scripting language
ii php4-pgsql 4.0.4-0RC3.2 PostgreSQL module for php4
Those're the versions, and all are from Debian packages. Actually,
originally I had apache and postgres from Debian and a hand-compiled
PHP4, and that just stopped working recently, so I got the PHP4 Debian
packages, and it's still doing the same thing. I guess I'm inclined to
call it a Debian problem and ask there, I just wonder if anyone else is
experiencing the same problems.
On a side note, according to the package info, php4-pgsql requires libc6
2.1.97, which I believe is the version it was compiled against. Will my
having 2.2 affect anything? I remember it broke a couple things when I
upgraded originally.
Thanks,
Andy MacNamara
On Fri, 8 Dec 2000, Martin A. Marques wrote:
> On Friday 08 December 2000 13:09, Andy MacNamara wrote:
> >
> > I've got PHP4/Apache set up on Debian. Whenever I enable pgsql.so in my
> > php.ini, Apache won't serve me html pages anymore. It serves pdf files
> > fine, but html and php stuff doesn't work. In my apache error log file I
> > get "Child process XXXX died from segmentation fault" or something like
> > that. This goes away when I disable the pgsql.so, but then the pg_*
> > functions are disabled, obviously.
> >
> > I checked for the pthreads thing mentioned in the FAQ for MySQL, but pgsql
> > is not linked against libpthreads. It is linked against my libc, though,
> > which is 2.2.
> >
> > Any ideas?
>
> information needed:
> 1) which version of postgres are you using?
> 2) which version of PHP?
> 3) which version of apache?
>
> In all cases, did you compile or did you download the binarys?