From owner-freebsd-questions@FreeBSD.ORG Mon Oct 30 17:15:44 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 2893A16A40F for ; Mon, 30 Oct 2006 17:15:44 +0000 (UTC) (envelope-from ibaranick-forum01@yahoo.com) Received: from web31806.mail.mud.yahoo.com (web31806.mail.mud.yahoo.com [68.142.207.69]) by mx1.FreeBSD.org (Postfix) with SMTP id A83E443D45 for ; Mon, 30 Oct 2006 17:15:43 +0000 (GMT) (envelope-from ibaranick-forum01@yahoo.com) Received: (qmail 57867 invoked by uid 60001); 30 Oct 2006 17:15:43 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type; b=1ZVU7HcZw+fVBeczB6UPr+7bCiiWlep/udp1RxL1haK26/vNSTGI/TRSBuddCIXK8AnHWh+VY3tA2JAwRE8i7NqdP/wMGnpe9kHYhnT4sPlaDuZalKbw+JHHvoRK6eoN8fjMbRlckde0BPeNeWRX4aURZtFLL0vczR3Hru7xGAo= ; Message-ID: <20061030171543.57865.qmail@web31806.mail.mud.yahoo.com> Received: from [63.209.165.251] by web31806.mail.mud.yahoo.com via HTTP; Mon, 30 Oct 2006 09:15:43 PST Date: Mon, 30 Oct 2006 09:15:42 -0800 (PST) From: Nick To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: WordPress, Apache, modules, mod_rewrite - how to verify? 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: Mon, 30 Oct 2006 17:15:44 -0000 Thanks! Can anyone help me regarding mod_rewrite? Can't find it in the po= rts.=0A=0A=0A----- Original Message ----=0AFrom: Eric =0ATo: freebsd-questions@freebsd.org=0ASent: Monday, October 30, 2006 10:1= 2:28 AM=0ASubject: Re: WordPress, Apache, modules, mod_rewrite - how to ver= ify?=0A=0ANick wrote:=0A> I've been looking on the web for hours but haven'= t found any help, though of asking on some forums when I suddenly remembere= d! There's freebsd-questions!! =0A> =0A> Anyway, I'm a MS SQL Server guy,= trying to mess around with FreeBSD at home. I've managed to install 6.1, = CVSup, xorg, KDE, Apache 1.3. I haven't touched this box for a while due t= o my work schedule, now I'm trying to pick up where I left off... I just in= stall ed WordPress from ports, trying to use it to learn PHP and MySQL. (A= t work, I'm almost 100% SQL Server only! I'm hoping to change to a Linux /= Oracle, Data Warehouse type of position.... but outside of work, I would l= ike to learn some PHP, Perl and MySQL... may be start a little side web biz= or something...)=0A> =0A> So, main question:=0A> =0A> WordPress requires P= HP 4 and MySQL 3 or later, and optional mod_rewrite. How do I verify if th= ese are installed?=0A> =0A> I used "pkg_version -v" to check my installed p= orts' versions, I have these:=0A> apache-1.3.37_1=0A> mod_perl-1.29_1=0A> m= ysql-client-5.1.11=0A> perl-5.8.8=0A> php5-5.1.4=0A> php5-mysql-5.1.4=0A> p= hp5-pcre-5.1.4=0A> php5-xml-5.1.4=0A> wordpress-2.0.4_1,1=0A> =0A> I think = I still need to install mod_php and mod_rewrite, but I can't see them in /u= sr/ports/www=0A> =0A> How do I verify that php, MySql and mod_rewrite are i= nstall and function properly in Apache?=0A> =0A> Thanks!=0A> =0A> Nick=0A= =0Amake a file called pinfo.php in your web servers data directory root =0A= (/usr/local/www/data by default)=0A=0Aput this in it:=0A=0A=0A=0Asave it and go to:=0A=0Ahttp://yourURL.com/pinfo.php=0A= =0Aand read away=0A=0Athat will dump all php related info.=0A=0Amake sure y= ou install the suhosin patches against PHP and/or use the =0Aextension=0A= =0AEric=0A_______________________________________________=0Afreebsd-questio= ns@freebsd.org mailing list=0Ahttp://lists.freebsd.org/mailman/listinfo/fre= ebsd-questions=0ATo unsubscribe, send any mail to "freebsd-questions-unsubs= cribe@freebsd.org"=0A=0A=0A=0A=0A