Blame | Letzte Änderung | Log anzeigen | RSS feed
$Id: INSTALL 256227 2008-03-28 02:27:12Z ashnazg $phpDocumentor Installation instructions---------------------------------------phpDocumentor is very easy to install. The hardest part is installing PHPand possibly a Web Server, if you plan to use the web interface phpdoc.php.To install phpDocumentor, use a compression program to decompress thecontents to a directory, preserving internal directory structure of thearchive. If you wish to use the web interface, you must unzip thearchive into a subdirectory accessible by the web server.NOTE:There have been problems with the non GNU tar not being able to extracts someof the long directory paths properly. The simplest solution for BSD users isto download the zip version of phpDocumentor.PEAR installation-----------------This is by far the easiest way to install phpDocumentor. Included in thisrelease is a package.xml file.If you plan to use the web interface, you must run this command prior to installation:pear config-set data_dir /path/to/public_html/pearThe line above assumes that /path/to/public_html is the location of index.html if you browseto http://localhost/index.htmlTo install or upgrade phpDocumentor, simply runpear upgrade PhpDocumentorTo use the web interface, browse to http://localhost/pear/PhpDocumentor/index.htmlThe cli interface is installed in the pear bin_dir, you can find this directory by running:pear config-showCommand-line interface installation and usage instructions----------------------------------------------------------To use phpDocumentor as a command-line interface, you need to install PHPversion 4.1.0 or greater.*IMPORTANT* any version of PHP below 4.1.0 will not work with version 1.3.0 or later ofphpDocumentor!!! To use the advanced tokenizer-based parser, you must have php 4.3.0Windows-------You need the cli version of PHP (php-cli.exe or cli/php.exe in 4.3.0+).Either run phpDocumentor from the directory that PHP resides in, or putphp.exe in your DOS PATH enviroment variable. The simplest usage of phpDocumentor is:C:\>php.exe "C:\Path\To\phpdoc" -t targetdir -o HTML:default:default -d parsedirwhere targetdir is the directory you wish phpDocumentor to create output,and parsedir is the directory you wish to parse.Unix----Make sure that the cgi/cli version of PHP is in your path. The simplest usageof phpDocumentor is:phpdoc -t targetdir -o HTML:default:default -d parsedirYou can also use makedoc.sh. Simply copy it to your project path and edit it.When you wish to (re)build your project's documentation, simply run it.Web interface installation and usage instructions-------------------------------------------------To use phpDocumentor as a web interface, you need to install a Web serverand configure it, as well as install PHP version 4.1.0 or greater. Consultthe documentation of your webserver and of PHP for installation support.Windows and Unix----------------Open a web browser and browse to index.html at the location that you set up.Instructions are in the web interface.vim: set expandtab :