[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: chrooted Apache and extensions



Am Montag, 02.12.02 um 14:46 Uhr schrieb Waldemar Brodkorb:
>

> This happened only if your php4 is compiled with shared support
> for postgres. (pgsql.so)
> This is not the default in php4 in the ports.
> You can simple figure it out by typing:
>  ldd /usr/lib/apache/modules/libphp4.so
>
I found another solution.  I start httpd in rc.local instead of in rc 
and I start it like

LD_PRELOAD=/usr/local/lib/libpq.so.2.2 httpd -DPHP4

That works fine as well.

- Marc