From owner-freebsd-questions@FreeBSD.ORG Tue Feb 22 08:27:11 2005 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 6AD2F16A4CE for ; Tue, 22 Feb 2005 08:27:11 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id F312843D31 for ; Tue, 22 Feb 2005 08:27:10 +0000 (GMT) (envelope-from gjbailey@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so994788wra for ; Tue, 22 Feb 2005 00:27:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=I4+LS8KuHjrOu/XncNYIl8W+QEK0sOwFFj3HrYFyEP99wCvdeRf5xVFgnA3LAqgFqq+tJPUPIXrmOHHQSRQXhNhizvTfJI//TItTVoiTkNzZhNX7R8c+6ei3Qntouu4WM4AnilwSHgoFRB9limspXbythxzmoCEqVX+OmBD1Bgc= Received: by 10.54.31.8 with SMTP id e8mr42166wre; Tue, 22 Feb 2005 00:27:10 -0800 (PST) Received: by 10.54.23.62 with HTTP; Tue, 22 Feb 2005 00:27:10 -0800 (PST) Message-ID: <48a5f32a050222002754c8da87@mail.gmail.com> Date: Tue, 22 Feb 2005 10:27:10 +0200 From: Gareth Bailey To: freebsd-questions Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: PHP installation woes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Gareth Bailey List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2005 08:27:11 -0000 Hi there, Could someone please give the low down on installing and configuring php on freebsd? I am running the 4.10 release as our development server with apache 1.3, php 4 and mysql 4. Up until now, the only way i have got php to work is to extract the php tarball, configure (with the switches below), make and make install from source. ./configure '--with-apxs=/usr/local/sbin/apxs' '--enable-versioning' '--with-gd' '--with-mysql' '--with-jpeg-dir=/usr/local/bin' '--with-zlib' '--with-mysql=/usr/local' '--prefix=/usr/local' '--with-mime-magic=/usr/share/misc/magic.mime' '--enable-sockets' '--enable-memory-limit' '--disable-all' The problem with this method is that it doesn't seem to install module libaries, and i'm just not convinced that i am going about it correctly. I also at some stage tried installing from ports (/usr/ports/lang/php4) with: # make 'insert switches from above here' build # make 'insert switches from above here' install None of the switches were acknowledged, as phpinfo() showed no support for the switches i required. I would really appreciate it if someone could recommend a way to install php with control over modules that are supported. Thanking you in adv, Gareth