Home > Backend Development > PHP Tutorial > Teach you how to install phpDocumentor correctly_PHP tutorial

Teach you how to install phpDocumentor correctly_PHP tutorial

WBOY
Release: 2016-07-15 13:32:23
Original
965 people have browsed it

We are working on

Note: The following assumes that the user uses PHP5 and window system!

The first method to install phpDocumentor:

After downloading, if you want to use the command line interface, unzip it to any path (assuming it is in C:Program Files), modify C :Program FilesPhpDocumentor-1.4.2phpdoc.bat. Modify the first line to SET phpCli=C:usrlocalphpcliphp.exe so that the value on the right side of the equal sign is the path of php.exe. My machine is SET phpCli=D:php5php.exe.

Enter C:Program FilesPhpDocumentor-1.4.2phpdoc on the command line. It is actually a batch file. A DOS interface will appear to select the ini file for you. I won’t know later.

If you want to use the web interface, you must first install apache and php, copy the PhpDocumentor-1.4.2 folder to the document root directory, and then enter in the browser url bar:

http://localhost/PhpDocumentor-1.4.2/phpdoc.php

Then the browser will automatically jump, select index.html, and the subsequent operations are very simple.

The second method to install phpDocumentor:

Install through pear, enter the php directory of dos, enter pear install -a PhpDocumentor. If you want to use the web interface, you must first change a configuration,
pear config-set data_dir /path/to/document_root/pear. The final path should be /php document root path/pear (this value can also be changed in the web interface). I did not successfully test the web interface of the second method.

If you use the web interface, there are still options. One is to select input files, output files, etc. every time. The other is to use a configuration file with everything defined in it. After entering the page, select this configuration file first, and then click the "Create" button,


www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/446146.htmlTechArticleWe are in progress. Note: The following assumes that the user uses PHP5 and window system! The first method to install phpDocumentor: After downloading, if you want to use the command line interface, unzip it to any path (...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template