doc:phd:install
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
doc:phd:install [2008/04/14 19:04] – updated instructions, added pear channel info philip | doc:phd:install [2009/11/06 11:57] – derick | ||
---|---|---|---|
Line 3: | Line 3: | ||
==== Using the PEAR Channel ==== | ==== Using the PEAR Channel ==== | ||
- | Using a PEAR channel first requires | + | At the time of this writing the latest version of PhD is in beta so the -beta tag is used below. |
+ | PhD is chunked into multiple sub-packages (currently " | ||
+ | |||
+ | To install just the PhD core and the Generic package, type: | ||
< | < | ||
- | $ pear channel-discover | + | $ pear install |
</ | </ | ||
- | Next, install PhD. At the time of this writing the latest version of PhD is in beta so the -beta tag is used below: | + | And for upgrading: |
< | < | ||
- | $ pear install | + | $ pear upgrade |
</ | </ | ||
If by chance you already installed PhD by other means then be sure to uninstall that version first. | If by chance you already installed PhD by other means then be sure to uninstall that version first. | ||
+ | |||
+ | To list all available packages: | ||
+ | < | ||
+ | $ pear remote-list -c doc.php.net | ||
+ | </ | ||
+ | and to install optional packages: | ||
+ | < | ||
+ | $ pear install doc.php.net/ | ||
+ | </ | ||
+ | |||
+ | Note that since the optional packages depend on the PhD core package they will pull down and automatically install the required packages if missing. That means it enough to simply write: | ||
+ | < | ||
+ | $ pear install doc.php.net/ | ||
+ | </ | ||
+ | to install everything that is required. | ||
==== Using PEAR directly ==== | ==== Using PEAR directly ==== | ||
Installing by using a specific tarball is possible too, but is not recommended. | Installing by using a specific tarball is possible too, but is not recommended. | ||
< | < | ||
- | $ pear install http:// | + | $ pear install http:// |
</ | </ | ||
- | ==== Using CVS ==== | + | ==== Using SVN ==== |
Getting the code: | Getting the code: | ||
< | < | ||
- | $ cvs -d:pserver:cvsread@cvs.php.net/ | + | $ svn co http://svn.php.net/ |
</ | </ | ||
- | Install and run from CVS: | + | Install and run from SVN: |
< | < | ||
$ cd phd | $ cd phd | ||
Line 31: | Line 49: | ||
</ | </ | ||
- | Alternately you can (although not recommended) run PhD directly from CVS, without needing to install it: | + | 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 | $ cd phd | ||
- | $ php build.php -d/ | + | $ php render.php -d/ |
</ | </ | ||
+ | |||
+ | Now go on and read the [[http:// |
doc/phd/install.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1