From owner-freebsd-questions@FreeBSD.ORG Wed Nov 5 08:20:44 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 340DC16A4CE for ; Wed, 5 Nov 2003 08:20:44 -0800 (PST) Received: from out004.verizon.net (out004pub.verizon.net [206.46.170.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDEDF43FCB for ; Wed, 5 Nov 2003 08:20:42 -0800 (PST) (envelope-from mike@pcmedx.com) Received: from duron.pcmedx.com ([4.46.22.189]) by out004.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20031105162042.ICTP4654.out004.verizon.net@duron.pcmedx.com>; Wed, 5 Nov 2003 10:20:42 -0600 Received: from localhost (localhost [127.0.0.1]) by duron.pcmedx.com (Postfix) with ESMTP id 86F89AE9E; Wed, 5 Nov 2003 08:20:41 -0800 (PST) Received: from mike (mike.pcmedx.com [192.168.240.244]) by duron.pcmedx.com (Postfix) with SMTP id CF16CAE16; Wed, 5 Nov 2003 08:20:40 -0800 (PST) Message-ID: <003501c3a3b8$c11ba430$f4f0a8c0@pcmedx.com> From: "Mike Maltese" To: References: <20031105015317.B19563@pemaquid.safeport.com> Date: Wed, 5 Nov 2003 08:20:40 -0800 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 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd (http://www.amavis.org) and f-prot (http://www.f-prot.com) at pcmedx.com X-Authentication-Info: Submitted using SMTP AUTH at out004.verizon.net from [4.46.22.189] at Wed, 5 Nov 2003 10:20:42 -0600 cc: doug@safeport.com Subject: Re: How to run php4 as CGI pgm X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2003 16:20:44 -0000 > I install in the following order: > > apache+mod_ssl-1.3.28+2.8.15_1 (with suExec) > mysql-client-4.0.16 > php4-cgi-4.3.4.r1 > > and followed the steps in INSTALL. This did not make libphp4.so. So I am not > sure of the step to follow. Do I need to build php in apache also? www/php4-cgi doesn't make an Apache module, it makes a CGI binary installed as /usr/local/bin/php. If you want the Apache module, you should use the www/mod_php4 port. Otherwise, you will need to add the appropriate directives to httpd.conf to use PHP in CGI fashion. Re-read INSTALLING and take a look at the Apache documentation.