Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Oct 2001 16:57:45 -0700
From:      "Robert L Sowders" <rsowders@usgs.gov>
To:        Hans de Hartog <dehartog@rootsr.com>
Cc:        freebsd-stable@freebsd.org, owner-freebsd-stable@FreeBSD.ORG, Tim Singletary <tsingle@triana.gsfc.nasa.gov>
Subject:   Re: Howto install apache+mod_ssl+mod_php4 ?
Message-ID:  <OF95B3D642.5571CCE1-ON88256AE7.00837400@wr.usgs.gov>

next in thread | raw e-mail | index | archive | help
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:

----------------------------------------
<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_=
Content-Type: text/html; charset="us-ascii"


<br><font size=2 face="sans-serif">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. &nbsp;Again as mentioned before:</font>
<br>
<br><font size=2 face="Courier New">----------------------------------------<br>
&lt;IfDefine SSL&gt;<br>
LoadModule ssl_module &nbsp; &nbsp; &nbsp; &nbsp; libexec/apache/libssl.so<br>
LoadModule php4_module &nbsp; &nbsp; &nbsp; &nbsp;libexec/apache/libphp4.so<br>
&lt;/IfDefine&gt;<br>
----------------------------------------<br>
Change it like so:<br>
----------------------------------------<br>
&lt;IfDefine SSL&gt;<br>
LoadModule ssl_module &nbsp; &nbsp; &nbsp; &nbsp; libexec/apache/libssl.so<br>
&lt;/IfDefine&gt;<br>
LoadModule php4_module &nbsp; &nbsp; &nbsp; &nbsp;libexec/apache/libphp4.so<br>
----------------------------------------<br>
<br>
And, similarly:<br>
----------------------------------------<br>
&lt;IfDefine SSL&gt;<br>
AddModule mod_ssl.c<br>
AddModule mod_php4.c<br>
&lt;/IfDefine&gt;<br>
----------------------------------------<br>
should be:<br>
----------------------------------------<br>
&lt;IfDefine SSL&gt;<br>
AddModule mod_ssl.c<br>
&lt;/IfDefine&gt;<br>
AddModule mod_php4.c<br>
----------------------------------------<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>Hans de Hartog &lt;dehartog@rootsr.com&gt;</b></font>
<br><font size=1 face="sans-serif">Sent by: owner-freebsd-stable@FreeBSD.ORG</font>
<p><font size=1 face="sans-serif">10/16/2001 04:31 PM</font>
<br>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To: &nbsp; &nbsp; &nbsp; &nbsp;Tim Singletary &lt;tsingle@triana.gsfc.nasa.gov&gt;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc: &nbsp; &nbsp; &nbsp; &nbsp;freebsd-stable@freebsd.org</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject: &nbsp; &nbsp; &nbsp; &nbsp;Re: Howto install apache+mod_ssl+mod_php4 ?</font></table>
<br>
<br><font size=2 face="Courier New">Tim Singletary wrote:<br>
<br>
&gt;&gt;I guess there must be somebody out there that has<br>
&gt;&gt;apache + ssl + php4 working on FreeBSD 4.4????<br>
&gt;&gt;<br>
&gt; <br>
&gt; No problem:<br>
&gt; <br>
&gt; &nbsp; &nbsp;# cd /usr/ports/www/apache13-modssl<br>
&gt; &nbsp; &nbsp;# make install<br>
&gt; &nbsp; &nbsp;# cd /usr/ports/www/mod_php4<br>
&gt; &nbsp; &nbsp;# make install<br>
&gt; <br>
&gt; Works great for me, except for `apachectl restart'.<br>
&gt; <br>
&gt; tim<br>
&gt; <br>
<br>
<br>
Thank you, it works!<br>
<br>
What was the real problem? If you install from the<br>
packages in ftp.freebsd.org:/pub/FreeBSD/....,<br>
apparently dependencies are also on the level of<br>
packages (is that generally true?).<br>
So, mod_php4 also installs vanilla apache over whatever<br>
version of apache that's already there.<br>
If you build and install from /usr/ports/*/*,<br>
dependencies can have better granularity and<br>
mod_php4 only checked for /usr/local/sbin/axps<br>
and was happy with whatever version was there.<br>
<br>
Again, thank you!<br>
Hans de Hartog.<br>
<br>
<br>
<br>
<br>
To Unsubscribe: send mail to majordomo@FreeBSD.org<br>
with &quot;unsubscribe freebsd-stable&quot; in the body of the message<br>
</font>
<br>
<br>
--=_alternative 0083A27588256AE7_=--

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OF95B3D642.5571CCE1-ON88256AE7.00837400>