Date: Mon, 16 Oct 2006 08:04:33 GMT From: Mark <admin@asarian-host.net> To: "'Lane'" <lane@joeandlane.com>, <freebsd-questions@freebsd.org> Subject: RE: libphp4.so not installed from /usr/ports/lang/php4 and mod_php4is gone??!! Message-ID: <200610160804.k9G84WV8019562@asarian-host.net> In-Reply-To: <200610151842.24375.lane@joeandlane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Lane > Sent: maandag 16 oktober 2006 1:41 > To: freebsd-questions@freebsd.org > Subject: Re: libphp4.so not installed from > /usr/ports/lang/php4 and mod_php4is gone??!! > > > > > So ... now the question .... > > > > > > How do I get mod_php working again? (with Apache13) > > > > cd /usr/ports/lang/php4 > > make config > > (select the Apache module from the menu) > > rebuild/reinstall php. > > Thanks, Bill. > > But that does not install libphp4.so. libphp4.so is not > created, or if it is created it has a name OTHER than libphp4.so. That is odd. I just built the same port myself, only two days ago, and libphp4.so is most certainly built and installed as: /usr/local/libexec/apache/libphp4.so > and then: > > locate mod_php > > But still I get nothing. There's no such file created as mod_php* (even though perhaps confusingly Apache lists "AddModule mod_php4.c" in httpd.conf; but that's normal). > So I compiled the port with -DAPACHE=yes That shouldn't be necessary. Just "make" suffices. You could perhaps try: "WITH_APACHE=yes", to ensure it uses 1.3+ as version. And, to state the obvious, did you try "make clean" first? - Mark
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610160804.k9G84WV8019562>