doc:phd:faq

Ask questions here

This is a list of questions, with or without answers. Use FIXME where content is needed.

How do I install PhD?

There are many different ways to install PhD, including:

How do I manage using PhD from SVN using PEAR?

Download:

$ cd /my/svn/dir
$ svn co https://svn.php.net/repository/phd/trunk phd
$ cd phd
$ ls

Installing:

$ cd /the/phd/svn/dir
$ svn up
$ pear install -f package.xml

Upgrading:

$ cd /the/phd/svn/dir
$ svn up
$ pear upgrade -f package.xml

More information about using pear

$ pear help
$ pear help install options

Note: -f, --force : overwrite newer installed packages

Note: pear requires the channel doc.php.net be added (pear channel-discover doc.php.net). The channel is available by default in recent pear versions.

How do I configure PhD?

Read the PhD Wiki page for further setup and configuration help. Also:

$ phd -h

By default, PhD attempts to build several themes (xhtml, bigxhtml, chm, and phpweb) and use .manual.xml that's first generated by configure.php

How do I use PhD with non-php.net centric projects?

  • Short answer: Create a theme, and build.
  • Long answer: It's not yet friendly for this but two close examples of smaller projects that use PhD are: The PHP documentation howto and PhD guide.
doc/phd/faq.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1