doc:phd:install

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

doc:phd:install [2008/04/20 04:17]
philip added how to upgrade, and phd="php build.php" info
doc:phd:install [2017/09/22 13:28]
Line 1: Line 1:
-===== 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. 
-<code> 
-$ pear channel-discover doc.php.net 
-</code> 
-Next, install PhD. At the time of this writing the latest version of PhD is in beta so the -beta tag is used below: 
-<code> 
-$ pear install doc.php.net/phd-beta 
-</code> 
-And for upgrading: 
-<code> 
-$ pear upgrade doc.php.net/phd-beta 
-</code> 
-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. 
-<code> 
-$ pear install http://doc.php.net/phd/PhD-0.2.3.tgz 
-</code> 
- 
-==== Using CVS ==== 
-Getting the code: 
-<code> 
-$ cvs -d:pserver:cvsread@cvs.php.net/repository co phd 
-</code> 
- 
-Install and run from CVS: 
-<code> 
-$ cd phd 
-$ pear install -f package.xml 
-</code> 
- 
-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: 
-<code> 
-$ cd phd 
-$ php build.php -d/path/to/phpdoc/.manual.xml 
-</code> 
  
doc/phd/install.txt · Last modified: 2017/09/22 13:28 (external edit)