Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Sep 1998 16:13:19 -0700
From:      "Ron 'The Insane One' Rosson" <insane@oneinsane.net>
To:        freebsd-isp@FreeBSD.ORG
Subject:   Re: Need Apache with php3 and SSL Support
Message-ID:  <19980915161319.A26116@oneinsane.net>
In-Reply-To: <018001bde0fd$9268a080$1f40e6cd@ichiban.ingress.com>; from Yarema on Tue, Sep 15, 1998 at 07:07:11PM -0400
References:  <018001bde0fd$9268a080$1f40e6cd@ichiban.ingress.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Yarema,
 After a 24 hour break I started out with the base of apache13-php3 and
looking at the docs from the mod_ssl home page and I got it to compile.
Had to move some items by hand but it does work. The only problem I have now 
is getting the https to say I have a proper cert. If you or anyone else
can help I would be greatful. 
TIA
Ron
P.S. That is the reason for it going to the list. ;-)

On Tue, Sep 15, 1998 at 07:07:11PM -0400, Yarema wrote:
> >I have this problem. I have an application that requires
> >Apache to have  SSL and PHP3 witha MYSQL database. I have
> >tried to both install the modSSL apache and the PHP3 version
> >and then tried to hack the other one in toapache. Has anyone
> >done this. Right now I have a working Apache with PHP3 support
> >Can someone help me to get SSL as well.. I have the SSL port
> >installed still as a side affect.
> 
> 
> I just did exactly that. apache-1.3.1+mod_ssl-2.0.9 and php-3.0.3 as an apxs
> module. One way to do this is to build, install and configure the
> apache-modssl port. Then build php3 with the following:
> 
> ./configure \
> --with-apxs \
> --with-gd=/usr/local \
> --with-mysql \
> --with-zlib \
> --with-config-file-path=/usr/local/etc \
> --with-system-regex=yes \
> --enable-debug=no \
> --enable-debugger \
> --enable-safe-mode=yes \
> --enable-force-cgi-redirect=yes
> 
> and copy libphp3.so to /usr/local/libexec/apache by hand. Make sure you have
> the following lines in the appropriate places in httpd.conf:
> 
> LoadModule php3_module        libexec/apache/libphp3.so
> AddModule mod_php3.c
> 
> and these go in srm.conf:
> 
> AddType application/x-httpd-php3 .php3
> AddType application/x-httpd-php3-source .php3s .phps
> 
> and if you like you can also throw thise in:
> 
> AddIcon /icons/php3.gif .php3
> AddIcon /icons/phps.gif .php3s .phps
> 
> I also have mod_perl built in but I won't go into that. You probably don't
> want it if you're gonna be using php3. but just for reference my
> SERVER_SOFTWARE variable reads:
> 
> Apache/1.3.1 (Unix) mod_perl/1.15 PHP/3.0.3 mod_ssl/2.0.7 SSLeay/0.9.0b
> 
> hmm.. mod_ssl should be 2.09, perhaps Ralf forgot to change it.
> 
> Make sure to read all of the mod_ssl documentation to get the ssl side of
> the server running and possibly change "apachectl start" to "apachectl
> startssl" in /usr/local/etc/rc.d/apache.sh If you don't it might take you a
> long time to figure out why SSL is not working when it *seems* to be set up
> correctly. :)
> 
> HTH.
> --
> Yarema

-- 
-------------------------------------------------------------------
Ron Rosson              	... and a UNIX user said ...
The InSaNe One                 		   rm -rf *
insane@oneinsane.net      	and all was null and void
-------------------------------------------------------------------
It's so nice to be insane, nobody asks you to explain.
[----------------------------System Info---------------------------]
 4:10PM  up 5 days,  4:20, 4 users, load averages: 0.94, 0.92, 0.90

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980915161319.A26116>