From owner-freebsd-ports Sun Apr 28 5:26:31 2002 Delivered-To: freebsd-ports@freebsd.org Received: from sr1.terra.com.br (sr1.terra.com.br [200.176.3.16]) by hub.freebsd.org (Postfix) with ESMTP id 61F2C37B41A; Sun, 28 Apr 2002 05:26:25 -0700 (PDT) Received: from smtp1-poa.terra.com.br (smtp1-poa.poa.terra.com.br [200.176.2.123]) by sr1.terra.com.br (Postfix) with ESMTP id 0DD4E6F45C; Sun, 28 Apr 2002 09:26:24 -0300 (EST) Received: from 200.176.49.189 (cm-net-cwb-C8B031BD.brdterra.com.br [200.176.49.189]) (authenticated user howe) by smtp1-poa.terra.com.br (Postfix) with ESMTP id 652A9A2C9A; Sun, 28 Apr 2002 09:26:23 -0300 (EST) Date: Sun, 28 Apr 2002 09:27:25 -0300 From: Steve Howe X-Mailer: The Bat! (v1.60c) Reply-To: Steve Howe Organization: ACME X-Priority: 3 (Normal) Message-ID: <19743999.20020428092725@carcass.dhs.org> To: dirk@FreeBSD.org Cc: ports@FreeBSD.org Subject: FreeBSD Port: mod_php4-4.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello dirk, Is it possible to setup mod_php4 4.2.0 for apache2 ? I mean, I did it manually on my system, but I would to like know if the port would compile with apache2. Just as a tip, here's how I did it (latest versions of the ports): - Install Apache 2 (portinstall apache2) - portinstall/portupgrade pth (gnu threads - required by Apache2) - Download & extract PHP 4.X (>=4.2.0) - --with-imap and --with=pgsql below isn't required of course but it's how I did it... ./configure --with-apxs2 --with-pgsql --with-tsrm-pth --with-config-file-path=/usr/local/etc --with-imap - make && make install - Add to /usr/local/etc/apache2/httpd.conf: # PHP support LoadModule php4_module libexec/apache2/libphp4.so DirectoryIndex index.php index.html index.htm SetOutputFilter PHP SetInputFilter PHP As you can see, the httpd.conf syntax for php has changed. You might know italready but I could save you a couple hours if you has to discoverout how to do it. Btw, Apache 2.0.35 + PPHP 4.2.0 works great for me (FreeBSD 4.5 - latest) -- Best regards, Steve Howe mailto:howe@carcass.dhs.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message