libphp4.so not installed from /usr/ports/lang/php4 and mod_php4
is gone??!!
Bill Moran
wmoran at collaborativefusion.com
Sun Oct 15 16:19:01 PDT 2006
Lane <lane at joeandlane.com> wrote:
> Hi,
>
> I'm trying to install mod_php on an existing apache13 server.
>
> The original config documentation requires that this entry be added to
> httpd.conf:
>
> LoadModule php4_module libexec/apache/libphp4.so
>
> libphp4.so was previously built by /usr/ports/www/mod_php4 (iirc) but that
> port has apparently been merged into /usr/ports/lang/php4
>
> So I compiled the port with -DAPACHE=yes and I got the pkg-message.mod message
> telling me to add
>
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php-source .phps
>
>
> to httpd.conf
>
> However, libphp4.so was not created, nor was it installed. Nor is there any
> mention of libphp4.so in pkg-plist (or anywhere, as far as I can tell).
>
> 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.
--
Bill Moran
When I point out limitations of one technique as a motivation for another, I
do so in the context of specific problems; for different problems or in other
contexts, the first technique may indeed be the better choice. Useful
software has been constructed using all of the techniques presented here.
Bjarne Stroustrup, _The_C++_Programming_Language_
More information about the freebsd-questions
mailing list