Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Feb 1999 13:40:28 +0100 (CET)
From:      Branko Kmetec <brane@mra.si>
To:        Alessandro Scoscia <alessand@relay.bartoli.it>
Cc:        ports@FreeBSD.ORG
Subject:   Re: Apache-ssl & PHP support
Message-ID:  <Pine.BSF.3.96.990212131800.2188A-100000@frida.mra.si>
In-Reply-To: <Pine.BSF.3.96.990212114532.2553A-100000@relay.bartoli.it>

next in thread | previous in thread | raw e-mail | index | archive | help
As I know there doesn't exist any port for apache with ssl and php3.
You should download next sources:

apache-1.3.x.tar.gz
SSleay-0.9.0b
mod_ssl for apache 1.3.x(version depends on Apache)
php-3.0.6

other software you would like to use with php (I use mysql, imap-uw and
openldap)

I suggest that you upgrade to 2.2.8 or 3.1

- download software
- install SSLeay (easy through the ports) and other software that you'll
use with php
- put sources in the same directory

tar xvzf apache.tar.gz
tar xvzf mod_ssl
tar xvzf php3.tar.gz

cd apache
./configure --prefix=/usr/local/www (or some other directory)
cd mod_ssl

./configure --with-apache=../apache

cd php

./configure --with-apache=../apache --with-mysql --with-ldap --with-imap
--enble-track-vars (for options ldap, mysql, imap and others check

www.php.net and copy some files as for imap, maybe you'll have add a base
directory for aplication

--with-ldap=/usr/local; if the software is installed with ports, than
/usr/local will be fine)

make

make install

cd apache

SSL_BASE=/usr/local ./configure --prefix=/usr/local/www
--enable-module=ssl --activate-module=src/modules/php3/libphp3.a

make

make certificate (for your server certificate you'll have to input some
information)

make install

configure httpd.conf upon your needs

add line to httpd.conf: 
AddType application/x-httpd-php3 .php3

start apache:
/usr/local/www/sbin/apachetl startssl

that should work

In case of problems check INSTALL files in install directories from
mod_ssl and php

Brane
 On Fri, 12 Feb 1999, Alessandro Scoscia wrote:

> Hi,
> excuse for my English!
> I would know if there is a precompiled version of apache-ssl whit PHP
> support for PC platfom (FreeBSD 2.2.5).
> 
> If there is'nt, which sources I need? And how I can compile it?
> 
> Thank you,
> Alessandro.
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-ports" in the body of the message
> 


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990212131800.2188A-100000>