libphp4.so not installed from /usr/ports/lang/php4 and mod_php4is gone??!!

Mark admin at asarian-host.net
Mon Oct 16 01:04:36 PDT 2006


> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org 
> [mailto:owner-freebsd-questions at freebsd.org] On Behalf Of Lane
> Sent: maandag 16 oktober 2006 1:41
> To: freebsd-questions at 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



More information about the freebsd-questions mailing list