phpzomg is a drop-in script to make the downloadable documentation from php.net a little more useful. It came about because I'm frequently on the road without access to the internet, but have a webserver running on my PowerBook. Of course, a webserver with no documentation for your favorite web development language is like a broken pencil -- pointless. Out of this need, phpzomg was born.
The really interesting bit is search. On the left sidebar, try typing (it should find as you type). Use the arrow key to tab through results, and you'll see a tip with basic syntax and description. Hit enter and it'll take you to the full description.
The script should be dropped into any location you like, put a copy of the php docs in a directory called "html", and you can access your new php docs at http://[yourserver]/[path_to_php_dir]/index.php/
Just follow this layout:
Or, if you prefer, go to the directory where you want to create your php docs and copy and paste this chunk of bash script:
mkdir php/ cd php/ wget -O php_manual_en.tar.gz http://us3.php.net/get/php_manual_en.tar.gz/from/www.php.net/mirror tar xvzf php_manual_en.tar.gz wget -O index.php http://php.agnoster.net/?src=download