From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 12:59:09 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03A201065672 for ; Thu, 13 Jan 2011 12:59:09 +0000 (UTC) (envelope-from four.harrisons@googlemail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5704F8FC28 for ; Thu, 13 Jan 2011 12:59:07 +0000 (UTC) Received: by eyf6 with SMTP id 6so777308eyf.13 for ; Thu, 13 Jan 2011 04:59:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:message-id:subject:from:to:cc:date:mime-version :content-type:content-transfer-encoding; bh=i2VFrjmebZikshDJvkCq1otcAVebJ2Xv62awcd+ZHIU=; b=mKh1P63gyIpwVjKPptWQmab5BFyMLD0lT1SCoCJZpKFjS764oNdFrRVHpQp1G45X9s TETYFWjlw0OMmBh05fBYx81/ugfegk+XuYWI3uKEKm549ellkMRh5k9uAqWJYV2T4j9g 90THiDHD2UqG5XsVhNiT0KtJ1CA329K9keH5o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:subject:from:to:cc:date:mime-version:content-type :content-transfer-encoding; b=sfkiwo0fyPfvf0Gg1W/KdT6UaWpPN+bQRR4AJF1VQ+mwJCXZuVuAtm0P0TUOjhmRxj bB8OCrsSW3qo36E1HlUzgmFViciQ4BqjGYu8anlR4i+z7Cqq9ThivOptTz87IY8sFkhS lmmdg1yb+ndAY7KmCtO4/3Dh56LqYl1wvAYkc= Received: by 10.213.17.2 with SMTP id q2mr522137eba.40.1294922073651; Thu, 13 Jan 2011 04:34:33 -0800 (PST) Received: from ecs ([213.8.162.222]) by mx.google.com with ESMTPS id u1sm19904eeh.4.2011.01.13.04.34.31 (version=SSLv3 cipher=RC4-MD5); Thu, 13 Jan 2011 04:34:32 -0800 (PST) Message-ID: <4d2ef158.017b0e0a.2151.01d2@mx.google.com> From: four.harrisons@googlemail.com To: kline@thought.org Date: Wed, 12 Jan 2011 14:42:04 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Which php?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jan 2011 12:59:09 -0000 On 11/01/2011 16:46, Gary Kline wrote:=0D=0A>=0D=0A>=0D=0A> =09So:: are t= here other ways of installing this stuff? Should I=0D=0A> =09cp -rp this= wordpress directory in [e.g.]=0D=0A> =09/usr/local/www/journey?=0D=0A>=0D= =0A> =09Thanks for any clues,=0D=0A>=0D=0A> =09gary=0D=0A>=0D=0A=0D=0A=0D= =0AIt looks like you have a workign apache2 already.=0D=0A=0D=0A*For PHP=0D= =0A*cd /usr/ports/lang/php5=0D=0Amake config ( choose apache module)=0D=0A= make install clean=0D=0A=0D=0A=0D=0A*PHP5 Extensions=0D=0A*(lots to choos= e from but make sure you have mysql at least selected (=20=0D=0Ayou'll ne= ed this installed obv for wordpress too )=0D=0Acd /usr/ports/lang/php5-ex= tensions=0D=0Amake config=0D=0Amake install clean=0D=0A=0D=0Ain your apac= he httpd.conf in the "AddType" section add=0D=0A=0D=0A AddType = application/x-httpd-php .php=0D=0A AddType application/x-httpd-ph= p-source .phps=0D=0A=0D=0AIn the DirectoryIndex section (or on a new line= after it)=0D=0AAdd this line=0D=0ADirectoryIndex index.php index.html in= dex.htm=0D=0A=0D=0A*Checks=0D=0A*On shell do php-v=0D=0A=0D=0Aon a webpag= e in your webroot (e.g test.php)=0D=0A=0D=0Aadd this php code=0D=0A=0D=0A=0D=0Ahttp://localhost/test.php=0D=0AIf tha= t shows you a nice php page then you should be good to go with the=20=0D=0A= wordpress installer=0D=0A=0D=0AGood luck!=0D=0APaul.=0D=0A=0D=0A=0D=0A--=20= =0D=0A-------------------------=0D=0APaul Macdonald=0D=0AIFDNRG Ltd=0D=0A= Web and video hosting=0D=0A-------------------------=0D=0At: 0131 5548070= =0D=0Am: 07534206249=0D=0Ae: paul@ifdnrg.com=0D=0Aw: http://www.ifdnrg.co= m=0D=0A-------------------------=0D=0AIFDNRG=0D=0A40 Maritime Street=0D=0A= Edinburgh=0D=0AEH6 6SA=0D=0A-------------------------=0D=0A=0D=0A=0D=0A__= _____________________________________________=0D=0Afreebsd-questions@free= bsd.org mailing list=0D=0Ahttp://lists.freebsd.org/mailman/listinfo/freeb= sd-questions=0D=0ATo unsubscribe, send any mail to "freebsd-questions-uns= ubscribe@freebsd.org"=0D=0A