From owner-freebsd-questions@FreeBSD.ORG Thu Jul 17 06:04:34 2008 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 DF4631065672 for ; Thu, 17 Jul 2008 06:04:34 +0000 (UTC) (envelope-from ws@au.dyndns.ws) Received: from ipmail05.adl2.internode.on.net (ipmail05.adl2.internode.on.net [203.16.214.145]) by mx1.freebsd.org (Postfix) with ESMTP id 56F378FC0C for ; Thu, 17 Jul 2008 06:04:34 +0000 (UTC) (envelope-from ws@au.dyndns.ws) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApIAAHdbfkiWZWdv/2dsb2JhbAAIsDw X-IronPort-AV: E=Sophos;i="4.31,201,1215354600"; d="scan'208";a="161838865" Received: from ppp103-111.static.internode.on.net (HELO [192.168.1.157]) ([150.101.103.111]) by ipmail05.adl2.internode.on.net with ESMTP; 17 Jul 2008 15:33:23 +0930 From: Wayne Sierke To: Brad Mettee In-Reply-To: <4.3.2.7.2.20080711160604.039f86d0@mail.pchotshots.com> References: <4.3.2.7.2.20080711151918.03aa81c0@mail.pchotshots.com> <4.3.2.7.2.20080711151918.03aa81c0@mail.pchotshots.com> <4.3.2.7.2.20080711160604.039f86d0@mail.pchotshots.com> Content-Type: text/plain; charset=UTF-8 Date: Thu, 17 Jul 2008 15:32:41 +0930 Message-Id: <1216274561.81342.58.camel@predator-ii.buffyverse> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: general question - php5 extensions 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, 17 Jul 2008 06:04:35 -0000 On Fri, 2008-07-11 at 22:47 -0400, Brad Mettee wrote: > Ok, maybe I wasn't as clear as I should have been. > > It wasn't that I didn't find php5-extensions, or even that it's difficult > to use, but actually tracking down the php5-extensions directory in the > first place was somewhat of a problem because there is no mention anywhere > of it in the lang/php5 doc files. I finally stumbled on a reference to it > in a 2 year old doc I found on google while looking for how to make .so > extension extensions be found by php. Sometimes in these situations a little bit of lateral thinking can be helpful. A couple of quick searches may have found you what you wanted: %locate php | grep extension /usr/ports/lang/php4-extensions /usr/ports/lang/php4-extensions/Makefile /usr/ports/lang/php4-extensions/pkg-descr /usr/ports/lang/php5-extensions /usr/ports/lang/php5-extensions/Makefile /usr/ports/lang/php5-extensions/pkg-descr %cd /usr/ports && make quicksearch name=extension | grep -i php Port: php4-extensions-1.0 Path: /usr/ports/lang/php4-extensions Info: A "meta-port" to install PHP extensions Port: php5-extensions-1.1 Path: /usr/ports/lang/php5-extensions Info: A "meta-port" to install PHP extensions Alternatively pipe to less(1) rather than grep(1) and use its search (/) which can help to locate context-related information which might otherwise be hidden by the more rigid grep filtering. > There's also a couple of extensions > not in the php5-extensions list, but I found them as well (samba share, > "dir php5-* /ad /s" starting in the /usr/ports directory helped a lot). find(1) will help you kick that nasty MS-DOS habit: find /usr/ports -type d -name "php5-*" and even: ls -d /usr/ports/*/php5-* could help reduce gratuitous use of SMB. If you feel strongly enough that the existing documentation is inadequate, you always have the option of submitting a PR to suggest that it be changed, and also of submitting patches that implement your suggestion. Wayne