tag:blogger.com,1999:blog-6188174695458425487.post3131055622725635217..comments2023-03-30T06:45:21.482-07:00Comments on bjori doesn't blog: Unix manual pages for PHP functionsbjorihttp://www.blogger.com/profile/15834796019670837056noreply@blogger.comBlogger29125tag:blogger.com,1999:blog-6188174695458425487.post-56782777169496288012013-03-22T07:57:03.779-07:002013-03-22T07:57:03.779-07:00This may be an old post.. but still very relevant,...This may be an old post.. but still very relevant, thanks a lot for sharing ( and good-bye php.net/manual/ ^^ ) !smasseyhttps://www.blogger.com/profile/03078551281567294246noreply@blogger.comtag:blogger.com,1999:blog-6188174695458425487.post-55896539562393576532011-05-01T07:51:13.336-07:002011-05-01T07:51:13.336-07:00@Sam: IIRC the doc.php.net wasn't "instal...@Sam: IIRC the doc.php.net wasn't "installed by default" until PEAR 1.9, so you had to "channel-dicover" it first. The channel itself should work fine with PEAR 1.8 after that (if not, please do file a bug report).<br /><br />@Robin: Thanks for the push :)<br />After your kick-in-the-balls we have now published an up2date unix man pages. It is now available on the doc.php.net channel.bjorihttps://www.blogger.com/profile/15834796019670837056noreply@blogger.comtag:blogger.com,1999:blog-6188174695458425487.post-73213613571824933742011-04-19T14:30:29.381-07:002011-04-19T14:30:29.381-07:00The doc.php.net channel doesn't work with pear...The doc.php.net channel doesn't work with pear 1.8.1 on Centos 5.5. Perhaps it is something to do with the HTTP Redirect? <br /><br />I upgraded to 1.9.2 and it worked fine.Samhttps://www.blogger.com/profile/11897648403879845639noreply@blogger.comtag:blogger.com,1999:blog-6188174695458425487.post-68805958868459274612011-04-15T02:57:50.467-07:002011-04-15T02:57:50.467-07:00Committed a freshly generated function reference (...Committed a freshly generated function reference (generated by Phd) to a public Git repository for those interested: https://github.com/rbakels/PHP-Documentation<br /><br />Nothing fancy, except for a recent build of the PHP documentation :).Unknownhttps://www.blogger.com/profile/10110340374290360092noreply@blogger.comtag:blogger.com,1999:blog-6188174695458425487.post-22304137747835987522011-03-18T19:19:49.349-07:002011-03-18T19:19:49.349-07:00Errr... Very good point Sebastian.
We were looking...Errr... Very good point Sebastian.<br />We were looking into how to automatically package and publish pear packages... a year ago...<br />I don't know what happened to that idea, but we should at the very least publish new unix manpage builds, even if they are created manually, ASAP<br /><br />-Hannesbjorihttps://www.blogger.com/profile/15834796019670837056noreply@blogger.comtag:blogger.com,1999:blog-6188174695458425487.post-19278580987324332642011-03-08T07:00:59.151-08:002011-03-08T07:00:59.151-08:00Any chance of getting a new build? April 2010 was ...Any chance of getting a new build? April 2010 was a long time ago ... thanks!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6188174695458425487.post-81265991137718293872010-08-27T05:16:12.417-07:002010-08-27T05:16:12.417-07:00Nice ArticeNice Articephp-maniaxhttp://php-maniax.blogspot.com/noreply@blogger.comtag:blogger.com,1999:blog-6188174695458425487.post-7333389724864224292010-01-12T11:06:13.834-08:002010-01-12T11:06:13.834-08:00Elazar:
Function names with underscore work fine f...Elazar:<br />Function names with underscore work fine for me.<br /><br />Does<br />$ pman in_array<br />work for you?<br /><br />Does the file "man3/in_array.3.gz" have any content?bjorihttps://www.blogger.com/profile/15834796019670837056noreply@blogger.comtag:blogger.com,1999:blog-6188174695458425487.post-7915715913008773532010-01-12T07:49:23.403-08:002010-01-12T07:49:23.403-08:00I've got all 6204 files in man3 as noted in th...I've got all 6204 files in man3 as noted in the earliest test of using the tarball, but a lot of functions that seem to have man pages in that directory are returning "No manual entry for X" from vim. dirname works, for example, but str_replace, get_include_path, set_include_path, in_array, and spl_autoload_register don't. Seems to be any function with an underscore in the name has this problem?MThttps://www.blogger.com/profile/07395877226746532703noreply@blogger.comtag:blogger.com,1999:blog-6188174695458425487.post-91527616081491834242010-01-09T20:13:12.954-08:002010-01-09T20:13:12.954-08:00Awesome, thanks for the tip.Awesome, thanks for the tip.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6188174695458425487.post-79870881592719199442010-01-08T01:44:47.874-08:002010-01-08T01:44:47.874-08:00with the help of
$ wget http://doc.php.net/get/pma...with the help of<br />$ wget http://doc.php.net/get/pman-1.0.1.tgz<br />$ pear install pman-1.0.1.tgz<br /><br />I finally find the problem:<br />Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 8192 bytes) in /usr/share/php/PEAR/Installer.php on line 572<br /><br />So I modify /etc/php5/cli/php.ini and pman can be installed now.Unknownhttps://www.blogger.com/profile/09430810974785357222noreply@blogger.comtag:blogger.com,1999:blog-6188174695458425487.post-52149790108163446802010-01-07T12:32:42.355-08:002010-01-07T12:32:42.355-08:00sam: your download seems broken.
Try
$ wget http:/...sam: your download seems broken.<br />Try<br />$ wget http://doc.php.net/get/pman-1.0.1.tgz<br />$ pear install pman-1.0.1.tgz<br /><br />If that doesn't work, send me an email; hannes.magnusson@gmail.com and I'll look better into this.bjorihttps://www.blogger.com/profile/15834796019670837056noreply@blogger.comtag:blogger.com,1999:blog-6188174695458425487.post-46464212434879711052010-01-07T02:37:18.405-08:002010-01-07T02:37:18.405-08:00sam@sam-desktop:/usr/share/php/PEAR/pman$ man -M /...sam@sam-desktop:/usr/share/php/PEAR/pman$ man -M /usr/share/php/PEAR/pman/ strpos<br />No manual entry for strpos<br /><br />sam@sam-desktop:/usr/share/php/PEAR/pman/man3$ ls -al *strpos*<br />-rw-r--r-- 1 root root 841 2010-01-07 10:13 grapheme_strpos.3.gz<br />-rw-r--r-- 1 root root 820 2010-01-07 10:13 iconv_strpos.3.gzUnknownhttps://www.blogger.com/profile/09430810974785357222noreply@blogger.comtag:blogger.com,1999:blog-6188174695458425487.post-13099514293071161932010-01-06T23:43:24.192-08:002010-01-06T23:43:24.192-08:00Does this work?
$ man -M /usr/share/php/PEAR/pman/...Does this work?<br />$ man -M /usr/share/php/PEAR/pman/ strpos<br /><br />Did you remember to update your vim binding?bjorihttps://www.blogger.com/profile/15834796019670837056noreply@blogger.comtag:blogger.com,1999:blog-6188174695458425487.post-21057858314121665602010-01-06T18:54:26.045-08:002010-01-06T18:54:26.045-08:00I copy all the file to man3 and make a softlike fo...I copy all the file to man3 and make a softlike for pman.sh to /usr/bin/, but still can't use 'K' in VIM:<br />========<br />try pman<br />sam@sam-desktop:/usr/share/php/PEAR/pman$ pman<br />What manual page do you want?<br /><br />try VIM:<br />No manual entry for in_array<br />shell returned 16<br />Press ENTER or type command to continueUnknownhttps://www.blogger.com/profile/09430810974785357222noreply@blogger.comtag:blogger.com,1999:blog-6188174695458425487.post-48792464789255172010-01-06T18:26:56.038-08:002010-01-06T18:26:56.038-08:00This should be a download problem under Ubuntu, My...This should be a download problem under Ubuntu, My error level setting:<br />error_reporting = E_ALL<br />display_errors = On<br />But I didn't get any error info.<br />===========<br />sam@sam-desktop:/usr/share/php/PEAR/pman$ ls -all ./man3/* | wc -l<br />1900<br />sam@sam-desktop:/usr/share/php/PEAR/pman<br />===========<br />seems like a tar probelm:<br />cp /build/buildd/php5-5.2.10.dfsg.1/pear-build-download/pman-1.0.1.tgz ~/<br />cd ~<br />sudo tar -zxcf pman-1.0.1.tgz<br />cd pman-1.0.1/<br />sam@sam-desktop:~/pman-1.0.1$ ls -all<br />total 276<br />drwxr-xr-x 3 root root 4096 2010-01-07 10:16 .<br />drwxr-xr-x 38 sam sam 4096 2010-01-07 10:16 ..<br />drwxr-xr-x 2 root root 270336 2010-01-07 10:16 man3<br />-rw-r--r-- 1 sam sam 53 2009-01-08 02:35 pman.sh<br />sam@sam-desktop:~/pman-1.0.1$ ls -all man3/* | wc -l<br />6204Unknownhttps://www.blogger.com/profile/09430810974785357222noreply@blogger.comtag:blogger.com,1999:blog-6188174695458425487.post-82345892550791439922010-01-06T07:02:32.782-08:002010-01-06T07:02:32.782-08:00Thats.. odd.
I assume you have thousands of files ...Thats.. odd.<br />I assume you have thousands of files under /usr/share/php/PEAR/pman/man3 ?<br /><br />I just noticed, while reinstalling pman locally, you never get the "install ok: channel://doc.php.net/pman-1.0.1" message.<br /><br />Try turning on all possible PHP warnings, maybe pear is error out somehwere.<br /><br />You should have around 6200 files in the pman/man3 directory, plus one executable 'pman'.bjorihttps://www.blogger.com/profile/15834796019670837056noreply@blogger.comtag:blogger.com,1999:blog-6188174695458425487.post-13095754927862814842010-01-06T06:30:05.415-08:002010-01-06T06:30:05.415-08:00More Info:
==========
sam@sam-laptop:~$ sudo find ...More Info:<br />==========<br />sam@sam-laptop:~$ sudo find / -name 'pman';<br />[sudo] password for sam: <br />/usr/share/php/PEAR/pman<br />sam@sam-laptop:~$Unknownhttps://www.blogger.com/profile/09430810974785357222noreply@blogger.comtag:blogger.com,1999:blog-6188174695458425487.post-67094341574238077572010-01-06T06:24:58.202-08:002010-01-06T06:24:58.202-08:00Yes, it is:
sam@sam-laptop:~$ pear config-get bin...Yes, it is:<br /><br />sam@sam-laptop:~$ pear config-get bin_dir<br />/usr/bin<br />sam@sam-laptop:~$ echo $PATH<br />/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/gamesUnknownhttps://www.blogger.com/profile/09430810974785357222noreply@blogger.comtag:blogger.com,1999:blog-6188174695458425487.post-58112925111606386252010-01-06T03:39:14.357-08:002010-01-06T03:39:14.357-08:00sam:
Make sure the path you get from:
$ pear confi...sam:<br />Make sure the path you get from:<br />$ pear config-get bin_dir<br /><br />is in your $PATHbjorihttps://www.blogger.com/profile/15834796019670837056noreply@blogger.comtag:blogger.com,1999:blog-6188174695458425487.post-35332441472814738402010-01-06T02:17:37.496-08:002010-01-06T02:17:37.496-08:00sam@sam-desktop:/usr/share/php/PEAR/pman$ sudo pea...sam@sam-desktop:/usr/share/php/PEAR/pman$ sudo pear install doc.php.net/pman<br />downloading pman-1.0.1.tgz ...<br />Starting to download pman-1.0.1.tgz (3,895,049 bytes)<br />.....................done: 3,895,049 bytes<br />sam@sam-desktop:/usr/share/php/PEAR/pman$ pman strpos<br />The program 'pman' is currently not installed. You can install it by typing:<br />sudo apt-get install pmtools<br />pman: command not found<br />sam@sam-desktop:/usr/share/php/PEAR/pman$ <br /><br />==================<br />I have this problem when I use pear install under Ubuntu9.10Unknownhttps://www.blogger.com/profile/09430810974785357222noreply@blogger.comtag:blogger.com,1999:blog-6188174695458425487.post-81247120867251637532010-01-05T13:21:51.440-08:002010-01-05T13:21:51.440-08:00thank you for sharing this tip with us. Though it ...thank you for sharing this tip with us. Though it is available for some time I seem to have missed it while I wanted it.mvrielhttp://www.naenius.comnoreply@blogger.comtag:blogger.com,1999:blog-6188174695458425487.post-65918246958281848492010-01-05T11:51:30.039-08:002010-01-05T11:51:30.039-08:00Thanks for reminding me of this. Newbies with ubun...Thanks for reminding me of this. Newbies with ubuntu should remember to increase PHP memory before installing... :PRoberts Strindhttps://www.blogger.com/profile/02635270957586554022noreply@blogger.comtag:blogger.com,1999:blog-6188174695458425487.post-55973404287194264492010-01-05T09:07:57.379-08:002010-01-05T09:07:57.379-08:00Anon: There isn't much to see, other then a st...Anon: There isn't much to see, other then a standard manual page.<br />Rudy posted <a href="http://loudi-soc.blogspot.com/2008/06/manpage-output-in-progess.html" rel="nofollow">some screenshots</a> couple of years ago...:bjorihttps://www.blogger.com/profile/15834796019670837056noreply@blogger.comtag:blogger.com,1999:blog-6188174695458425487.post-43670647509274511212010-01-05T07:42:43.309-08:002010-01-05T07:42:43.309-08:00Really would appreciate if you could add a screens...Really would appreciate if you could add a screenshot of vi with the man open.Anonymousnoreply@blogger.com