Re: libphp4.so not installed from /usr/ports/lang/php4 and mod_php4 is gone??!!

2006-10-15 Thread Bill Moran
Lane <[EMAIL PROTECTED]> 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_

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: libphp4.so not installed from /usr/ports/lang/php4 and mod_php4 is gone??!!

2006-10-15 Thread Lane
On Sunday 15 October 2006 18:18, Bill Moran wrote:
> Lane <[EMAIL PROTECTED]> 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.
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.

After taking the steps you describe, I expect that I should get something in a 
directory listing such as:

ls -al /usr/local/libexec/apache | grep php

However nothing is listed

Nor is anything listed when I do:

ls -al /usr/local/libexec/apache | grep "Oct 14"  Apparently no new modules 
where added today.

I thought maybe it was installed in another place, so I ran

/etc/periodic/weekly/310.locate

and then: 

locate mod_php

But still I get nothing.

Perhaps mod_php is no longer available for FreeBSD 5.4?

lane
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: libphp4.so not installed from /usr/ports/lang/php4 and mod_php4 is gone??!!

2006-10-15 Thread Joerg Pernfuss
On Sun, 15 Oct 2006 18:42:24 -0500
Lane <[EMAIL PROTECTED]> wrote:

> But still I get nothing.
> 
> Perhaps mod_php is no longer available for FreeBSD 5.4?

Please post the output of:

`pkg_info -L php4-4.4.4`
`cat /var/db/ports/php4/options`

Joerg
-- 
| /"\   ASCII ribbon   |  GnuPG Key ID | e86d b753 3deb e749 6c3a |
| \ / campaign against |0xbbcaad24 | 5706 1f7d 6cfd bbca ad24 |
|  XHTML in email  |.the next sentence is true.   |
| / \ and news | .the previous sentence was a lie.|


signature.asc
Description: PGP signature


Re: libphp4.so not installed from /usr/ports/lang/php4 and mod_php4 is gone??!!

2006-10-16 Thread Lane
On Monday 16 October 2006 01:56, Joerg Pernfuss wrote:
> On Sun, 15 Oct 2006 18:42:24 -0500
>
> Lane <[EMAIL PROTECTED]> wrote:
> > But still I get nothing.
> >
> > Perhaps mod_php is no longer available for FreeBSD 5.4?
>
> Please post the output of:
>
>   `pkg_info -L php4-4.4.4`
>   `cat /var/db/ports/php4/options`
>
>   Joerg
Joerg, Mark, and others:

Apparently the problem is now solved.

I did make deinstall from /usr/ports/lang/php4 then I lost power (meaning the 
computer rebooted).

When the power came back on I (once again) ran "make config all install" 
from /usr/ports/lang/php4 and voila!  /usr/local/libexec/libphp4.so was 
installed!

I give up.

Thanks for your interest.

lane
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"