From owner-freebsd-isp Tue Sep 15 16:07:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA01653 for freebsd-isp-outgoing; Tue, 15 Sep 1998 16:07:48 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from paris.dppl.com (paris.dppl.com [205.230.74.150]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA01619 for ; Tue, 15 Sep 1998 16:07:41 -0700 (PDT) (envelope-from yds@ingress.com) Received: from ichiban.ingress.com ([205.230.64.31] helo=ichiban) by paris.dppl.com with smtp (Exim 1.92 #1) id 0zJ4Bl-0001fr-00; Tue, 15 Sep 1998 19:07:13 -0400 Message-ID: <018001bde0fd$9268a080$1f40e6cd@ichiban.ingress.com> From: "Yarema" To: , Subject: Re: Need Apache with php3 and SSL Support Date: Tue, 15 Sep 1998 19:07:11 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message