doc:phd:install
Differences
This shows you the differences between two versions of the page.
doc:phd:install [2009/09/11 13:43] bjori Use SVN, channel-discover no longer needed |
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 ==== | ||
- | 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/ | ||
- | </ | ||
- | And for upgrading: | ||
- | < | ||
- | $ pear upgrade doc.php.net/ | ||
- | </ | ||
- | 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:// | ||
- | </ | ||
- | |||
- | ==== Using SVN ==== | ||
- | Getting the code: | ||
- | < | ||
- | $ svn co http:// | ||
- | </ | ||
- | |||
- | Install and run from SVN: | ||
- | < | ||
- | $ cd phd | ||
- | $ pear install -f package.xml | ||
- | </ | ||
- | |||
- | Alternately you can (although not recommended) run PhD directly from SVN, without needing to install it. The same holds true if using the tarball, because all the phd command really does is execute "php render.php" | ||
- | < | ||
- | $ cd phd | ||
- | $ php render.php -d/ | ||
- | </ | ||
- | |||
- | |||
- | Now go on and read the [[http:// |
doc/phd/install.txt · Last modified: 2017/09/22 13:28 (external edit)