From owner-freebsd-stable Tue Oct 16 16:57:56 2001 Delivered-To: freebsd-stable@freebsd.org Received: from gscamnlm03.wr.usgs.gov (gscamnlm03.wr.usgs.gov [130.118.4.113]) by hub.freebsd.org (Postfix) with ESMTP id 3068F37B405; Tue, 16 Oct 2001 16:57:48 -0700 (PDT) To: Hans de Hartog Cc: freebsd-stable@freebsd.org, owner-freebsd-stable@FreeBSD.ORG, Tim Singletary Subject: Re: Howto install apache+mod_ssl+mod_php4 ? MIME-Version: 1.0 X-Mailer: Lotus Notes Release 5.0.8 June 18, 2001 Message-ID: From: "Robert L Sowders" Date: Tue, 16 Oct 2001 16:57:45 -0700 X-MIMETrack: Serialize by Router on gscamnlm03/SERVER/USGS/DOI(Release 5.0.8 |June 18, 2001) at 10/16/2001 04:57:48 PM, Serialize complete at 10/16/2001 04:57:48 PM Content-Type: multipart/alternative; boundary="=_alternative 0083A27588256AE7_=" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multipart message in MIME format. --=_alternative 0083A27588256AE7_= Content-Type: text/plain; charset="us-ascii" Don't forget to move the mod lines for php4 outside the ifdefine for ssl, as mentioned previously, this will take care of the apachectl restart problem. Again as mentioned before: ---------------------------------------- LoadModule ssl_module libexec/apache/libssl.so LoadModule php4_module libexec/apache/libphp4.so ---------------------------------------- Change it like so: ---------------------------------------- LoadModule ssl_module libexec/apache/libssl.so LoadModule php4_module libexec/apache/libphp4.so ---------------------------------------- And, similarly: ---------------------------------------- AddModule mod_ssl.c AddModule mod_php4.c ---------------------------------------- should be: ---------------------------------------- AddModule mod_ssl.c AddModule mod_php4.c ---------------------------------------- Hans de Hartog Sent by: owner-freebsd-stable@FreeBSD.ORG 10/16/2001 04:31 PM To: Tim Singletary cc: freebsd-stable@freebsd.org Subject: Re: Howto install apache+mod_ssl+mod_php4 ? Tim Singletary wrote: >>I guess there must be somebody out there that has >>apache + ssl + php4 working on FreeBSD 4.4???? >> > > No problem: > > # cd /usr/ports/www/apache13-modssl > # make install > # cd /usr/ports/www/mod_php4 > # make install > > Works great for me, except for `apachectl restart'. > > tim > Thank you, it works! What was the real problem? If you install from the packages in ftp.freebsd.org:/pub/FreeBSD/...., apparently dependencies are also on the level of packages (is that generally true?). So, mod_php4 also installs vanilla apache over whatever version of apache that's already there. If you build and install from /usr/ports/*/*, dependencies can have better granularity and mod_php4 only checked for /usr/local/sbin/axps and was happy with whatever version was there. Again, thank you! Hans de Hartog. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message --=_alternative 0083A27588256AE7_= Content-Type: text/html; charset="us-ascii"
Don't forget to move the mod lines for php4 outside the ifdefine for ssl, as mentioned previously, this will take care of the apachectl restart problem.  Again as mentioned before:

----------------------------------------
<IfDefine SSL>
LoadModule ssl_module         libexec/apache/libssl.so
LoadModule php4_module        libexec/apache/libphp4.so
</IfDefine>
----------------------------------------
Change it like so:
----------------------------------------
<IfDefine SSL>
LoadModule ssl_module         libexec/apache/libssl.so
</IfDefine>
LoadModule php4_module        libexec/apache/libphp4.so
----------------------------------------

And, similarly:
----------------------------------------
<IfDefine SSL>
AddModule mod_ssl.c
AddModule mod_php4.c
</IfDefine>
----------------------------------------
should be:
----------------------------------------
<IfDefine SSL>
AddModule mod_ssl.c
</IfDefine>
AddModule mod_php4.c
----------------------------------------



Hans de Hartog <dehartog@rootsr.com>
Sent by: owner-freebsd-stable@FreeBSD.ORG

10/16/2001 04:31 PM

       
        To:        Tim Singletary <tsingle@triana.gsfc.nasa.gov>
        cc:        freebsd-stable@freebsd.org
        Subject:        Re: Howto install apache+mod_ssl+mod_php4 ?


Tim Singletary wrote:

>>I guess there must be somebody out there that has
>>apache + ssl + php4 working on FreeBSD 4.4????
>>
>
> No problem:
>
>    # cd /usr/ports/www/apache13-modssl
>    # make install
>    # cd /usr/ports/www/mod_php4
>    # make install
>
> Works great for me, except for `apachectl restart'.
>
> tim
>


Thank you, it works!

What was the real problem? If you install from the
packages in ftp.freebsd.org:/pub/FreeBSD/....,
apparently dependencies are also on the level of
packages (is that generally true?).
So, mod_php4 also installs vanilla apache over whatever
version of apache that's already there.
If you build and install from /usr/ports/*/*,
dependencies can have better granularity and
mod_php4 only checked for /usr/local/sbin/axps
and was happy with whatever version was there.

Again, thank you!
Hans de Hartog.




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message


--=_alternative 0083A27588256AE7_=-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message