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?
I have a local install but only full function names match but something
like
http://localhost/phpman/manual-lookup.php?pattern=str
does not. A quick google hasn't helped but any refinements greatfully
received!
regards
r.
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
Please ask any followup questions on the proper mailinglist,
phpdoc@lists.php.net for questions about the docs, or
php-webmaster@lists.php.net for questions about the website.
-Hannes
Hannes Magnusson hannes.magnusson@gmail.com writes:
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
Please ask any followup questions on the proper mailinglist,
phpdoc@lists.php.net for questions about the docs, or
php-webmaster@lists.php.net for questions about the website.
Yes, please excuse the wrong group. I realised that after posting.
Hannes Magnusson hannes.magnusson@gmail.com writes:
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
Please ask any followup questions on the proper mailinglist,
phpdoc@lists.php.net for questions about the docs, or
php-webmaster@lists.php.net for questions about the website.Yes, please excuse the wrong group. I realised that after posting.
But while we're here, pman is another option:
$ pear install phpdocs/pman
$ pman mysql_connect
That'll show the mysql_connect() documentation as a local man page.
Regards,
Philip
Hannes Magnusson hannes.magnusson@gmail.com writes:
On Thu, Jun 2, 2011 at 21:03, Richard Riley rileyrg@googlemail.com
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
Please ask any followup questions on the proper mailinglist,
phpdoc@lists.php.net for questions about the docs, or
php-webmaster@lists.php.net for questions about the website.Yes, please excuse the wrong group. I realised that after posting.
But while we're here, pman is another option:
$ pear install phpdocs/pman
$ pman mysql_connectThat'll show the mysql_connect() documentation as a local man page.
not to shabby ;)
and to Richard's question about search the -K option may be just the ticket.
-nathan
Nathan Nobbe quickshiftin@gmail.com writes:
Hannes Magnusson hannes.magnusson@gmail.com writes:
On Thu, Jun 2, 2011 at 21:03, Richard Riley rileyrg@googlemail.com
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
Please ask any followup questions on the proper mailinglist,
phpdoc@lists.php.net for questions about the docs, or
php-webmaster@lists.php.net for questions about the website.Yes, please excuse the wrong group. I realised that after posting.
But while we're here, pman is another option:
$ pear install phpdocs/pman
$ pman mysql_connectThat'll show the mysql_connect() documentation as a local man page.
not to shabby ;)
and to Richard's question about search the -K option may be just the ticket.
-nathan
All very nice - thanks for the info. And if anyone has an emacs
interface to this please drop me a line .
Nathan Nobbe quickshiftin@gmail.com writes:
Hannes Magnusson hannes.magnusson@gmail.com writes:
On Thu, Jun 2, 2011 at 21:03, Richard Riley rileyrg@googlemail.com
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
Please ask any followup questions on the proper mailinglist,
phpdoc@lists.php.net for questions about the docs, or
php-webmaster@lists.php.net for questions about the website.Yes, please excuse the wrong group. I realised that after posting.
But while we're here, pman is another option:
$ pear install phpdocs/pman
$ pman mysql_connectThat'll show the mysql_connect() documentation as a local man page.
not to shabby ;)
and to Richard's question about search the -K option may be just the ticket.
-nathan
All very nice - thanks for the info. And if anyone has an emacs
interface to this please drop me a line .
(setq manual-program "./pman")
(global-set-key [(f1)] (lambda () (interactive) (manual-entry (current-word))))
That will map F1 to the man page under the current word (thanks to cweiske@).
For vi:
set keywordprg=pman
and then hit shift+k over a function.
-Hannes
Hannes Magnusson hannes.magnusson@gmail.com writes:
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?
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
for further info if thats the correct place.
Hannes Magnusson hannes.magnusson@gmail.com writes:
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?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
Hannes Magnusson hannes.magnusson@gmail.com writes:
Hannes Magnusson hannes.magnusson@gmail.com writes:
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?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 toSure 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.
cheers
r.
Hannes Magnusson hannes.magnusson@gmail.com writes:
Hannes Magnusson hannes.magnusson@gmail.com writes:
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?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 toSure 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