PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net


 

Installing PhD

The preferred method is using the pear channel, but all methods are documented below.

Using the PEAR Channel

Using a PEAR channel first requires the systems PEAR installation to discover it, so this only has to be done once.

$ pear channel-discover doc.php.net

Next, install PhD. At the time of this writing the latest version of PhD is in beta so the -beta tag is used below:

$ pear install doc.php.net/phd-beta

And for upgrading:

$ pear upgrade doc.php.net/phd-beta

If by chance you already installed PhD by other means then be sure to uninstall that version first.

Using PEAR directly

Installing by using a specific tarball is possible too, but is not recommended.

$ pear install http://doc.php.net/phd/PhD-0.2.3.tgz

Using CVS

Getting the code:

$ cvs -d:pserver:cvsread@cvs.php.net/repository co phd

Install and run from CVS:

$ cd phd
$ pear install -f package.xml

Alternately you can (although not recommended) run PhD directly from CVS, without needing to install it. The same holds true if using the tarball, because all the phd command really does is execute “php build.php” so:

$ cd phd
$ php build.php -d/path/to/phpdoc/.manual.xml
 
doc/phd/install.txt · Last modified: 2008/04/20 04:17 by philip
 
Atom | show source | credits | stats | sitemap | contact | advertising | mirror sites