Newsgroups: php.doc,php.internals Path: news.php.net Xref: news.php.net php.doc:969382728 php.internals:52854 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95236 invoked from network); 3 Jun 2011 10:48:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Jun 2011 10:48:32 -0000 Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 74.125.82.170 mail-wy0-f170.google.com Received: from [74.125.82.170] ([74.125.82.170:46477] helo=mail-wy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 15/93-08509-EFBB8ED4 for ; Fri, 03 Jun 2011 06:48:31 -0400 Received: by wyb34 with SMTP id 34so1466825wyb.29 for ; Fri, 03 Jun 2011 03:48:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=yBnwTerjbxyQ55C7i9FdeQxOtlwnXjP/FSahMlwepE4=; b=eJY9gZRwFv2tOwZH7LQGaacTkOqwTutSEv8ycCvd3WPv33Zx12wXNX2C7LArEYJktS aaj3SeQSruT/00cWnZzJHu/+IRt14kzC+cozfprqhBka5fZOlXypurl0smPdewORTm8A HTIrbKtcsufcc+la0mQdLsYxxsHv1UL0nz81Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=QzHHI1j3LReg3IAeYAhsyDkw9jeayKFzkXg4UnIDrM9yp1nsEJg15ugFOSu0zUXE5f MAnrC3v2GWoMBYk1eAEeBAiy9dP15ySASehmxK8vce7ilOACP3d0H+o3ScOuOCERjWrT e/kupE+pliDx26UwvgsUCDoWF/MZk9b7J3408= MIME-Version: 1.0 Received: by 10.216.79.10 with SMTP id h10mr1742633wee.20.1307098107630; Fri, 03 Jun 2011 03:48:27 -0700 (PDT) Received: by 10.216.50.212 with HTTP; Fri, 3 Jun 2011 03:48:27 -0700 (PDT) In-Reply-To: References: Date: Fri, 3 Jun 2011 12:48:27 +0200 Message-ID: To: PHP Development , PHP Documentation ML Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Local PHP docs with search facility From: hannes.magnusson@gmail.com (Hannes Magnusson) On Fri, Jun 3, 2011 at 12:39, Richard Riley wrote: > Hannes Magnusson writes: > >> On Fri, Jun 3, 2011 at 06:41, Richard Riley wrote: >>> Hannes Magnusson writes: >>> >>>> On Thu, Jun 2, 2011 at 21:03, Richard Riley wrote: >>>>> >>>>> Could some kind soul advise me on how to install php docs localy and >>>>> have the excellent patterns search work based on an sqllite database? >>>> >>>> https://wiki.php.net/doc/phd/view >>>> >>> >>> Just as a side note on this informative thread (and to anyone else that >>> comes across it in google), the instructions there dont actually install >>> any of the manual so no look ups / function searches work at all. I'll >>> look into it in more detail later. I'll head over to >> >> Sure it will. You just need to read the page, which has a very clear >> requirement. >> >> If you can't follow it then http://php.net/mirroring could be a >> simpler approach for you. >> >> -Hannes > > I'm not sure it will at all, since they dont show you how to install the > phd_php part or inform you that you need to. For a beginner thats a > hurdle enough. You are probably too familiar with it to notice > this. Result: > > ,---- > | phd -d doc-base/.manual.xml -o output_dir -f php -P PHP > `---- > > falls over. > > Fortunately that was correctly documented elsewhere and was pointed out > to me in the php.docs list you recommended. > > https://doc.php.net/phd/docs/ : installation via pear. > > Also, I *think*, the instructions there are in addition to mirroring > since the mirroring line doesnt include the manual subdir : so both sets > are required and you symbolically link to your phpdoc configuration (or > so it seems from the instructions). > > IMO, and with the benefit of being totally new to this and trying to use > the docs, It's not clear from the pages if this phpdoc config is in > addition to or superceded by the mirroring rsync line. I'd appreciate if you could update the wiki with your experience to help people coming after you -Hannes