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. Again as mentioned before:</font> <br> <br><font size=2 face="Courier New">----------------------------------------<br> <IfDefine SSL><br> LoadModule ssl_module libexec/apache/libssl.so<br> LoadModule php4_module libexec/apache/libphp4.so<br> </IfDefine><br> ----------------------------------------<br> Change it like so:<br> ----------------------------------------<br> <IfDefine SSL><br> LoadModule ssl_module libexec/apache/libssl.so<br> </IfDefine><br> LoadModule php4_module libexec/apache/libphp4.so<br> ----------------------------------------<br> <br> And, similarly:<br> ----------------------------------------<br> <IfDefine SSL><br> AddModule mod_ssl.c<br> AddModule mod_php4.c<br> </IfDefine><br> ----------------------------------------<br> should be:<br> ----------------------------------------<br> <IfDefine SSL><br> AddModule mod_ssl.c<br> </IfDefine><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 <dehartog@rootsr.com></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"> </font> <br><font size=1 face="sans-serif"> To: Tim Singletary <tsingle@triana.gsfc.nasa.gov></font> <br><font size=1 face="sans-serif"> cc: freebsd-stable@freebsd.org</font> <br><font size=1 face="sans-serif"> Subject: Re: Howto install apache+mod_ssl+mod_php4 ?</font></table> <br> <br><font size=2 face="Courier New">Tim Singletary wrote:<br> <br> >>I guess there must be somebody out there that has<br> >>apache + ssl + php4 working on FreeBSD 4.4????<br> >><br> > <br> > No problem:<br> > <br> > # cd /usr/ports/www/apache13-modssl<br> > # make install<br> > # cd /usr/ports/www/mod_php4<br> > # make install<br> > <br> > Works great for me, except for `apachectl restart'.<br> > <br> > tim<br> > <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 "unsubscribe freebsd-stable" 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>