phpDocumentor - 1.4.3 - 安装实例

phpDocumentor - 1.4.3 - 安装实例

PHP版本说明

目前

http://windows.php.net/download/

页 面中PHP在Windows下的安装包包括:


  • PHP 5.3.1 VC9 x86 Non Thread Safe, http://windows.php.net/downloads/releases/php-5.3.1-nts-Win32-VC9-x86.msi
  • PHP 5.3.1 VC9 x86 Thread Safe, http://windows.php.net/downloads/releases/php-5.3.1-Win32-VC9-x86.msi
  • PHP 5.3.1 VC6 x86 Non Thread Safe, http://windows.php.net/downloads/releases/php-5.3.1-nts-Win32-VC6-x86.msi
  • PHP 5.3.1 VC6 x86 Thread Safe, http://windows.php.net/downloads/releases/php-5.3.1-Win32-VC6-x86.msi
  • PHP 5.2.13 VC6 x86 Non Thread Safe, http://windows.php.net/downloads/releases/php-5.2.13-nts-Win32-VC6-x86.msi
  • PHP 5.2.13 VC6 x86 Thread Safe, http://windows.php.net/downloads/releases/php-5.2.13-Win32-VC6-x86.msi

修 正PHP发行版本的缺陷

其中下列安装包打包有错误:


  • PHP 5.3.1 VC9 x86 Non Thread Safe
  • PHP 5.3.1 VC9 x86 Thread Safe

安装后需要把 gmodul_2.dll重命名为gmodule-2.dll。


修正go-pear.bat文件的缺陷

其中下列安装包中go- pear.bat文件有警告:


  • PHP 5.3.1 VC9 x86 Non Thread Safe
  • PHP 5.3.1 VC9 x86 Thread Safe
  • PHP 5.2.13 VC6 x86 Non Thread Safe
  • PHP 5.2.13 VC6 x86 Thread Safe

安装后需要把go-pear.bat进行如下修改:


@ECHO OFF
set PHP_BIN= %CD%\php.exe
"%PHP_BIN% " -d output_buffering=0 PEAR\go-pear.phar
pause

其中下列安装 包中go-pear.bat文件有错误:


  • PHP 5.3.1 VC6 x86 Non Thread Safe
  • PHP 5.3.1 VC6 x86 Thread Safe

安装后需要把go-pear.bat进行如下修改:


@ECHO OFF
set PHP_BIN= %CD%\php.exe
"%PHP_BIN% " -d output_buffering=0 -d phar.require_hash=0 PEAR\go-pear.phar
pause

安 装pear

D:\Program Files\PHP> go-pear

在命令行中运行go-pear。


Are you installing a system-wide PEAR or a local copy?
(system|local) [system] :

按 回车,选择默认的system选项。


Below is a suggested file layout for your new PEAR installation.  To change individual locations, type the number in front of the directory.  Type 'all' to change all of them or simply press Enter to accept these locations.

 1. Installation base ($prefix)                   : D:\Program Files\PHP
 2. Temporary directory for processing            : D:\Program Files\PHP\tmp
 3. Temporary directory for downloads             : D:\Program Files\PHP\tmp
 4. Binaries directory                            : D:\Program Files\PHP
 5. PHP code directory ($php_dir)                 : D:\Program Files\PHP\pear
 6. Documentation directory                       : D:\Program Files\PHP\docs
 7. Data directory                                : D:\Program Files\PHP\data
 8. User-modifiable configuration files directory : D:\Program Files\PHP\cfg
 9. Public Web Files directory                    : D:\Program Files\PHP\www
10. Tests directory                               : D:\Program Files\PHP\tests
11. Name of configuration file                    : C:\WINDOWS\pear.ini
12. Path to CLI php.exe                           : D:\Program Files\PHP
1-12, 'all' or Enter to continue:

输入回车确认修改。


Beginning install...
Configuration written to C:\WINDOWS\pear.ini...
Initialized registry...
Preparing to install...
installing phar://D:/Program Files/PHP/PEAR/go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.3.tar...
installing phar://D:/Program Files/PHP/PEAR/go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.2.3.tar...
installing phar://D:/Program Files/PHP/PEAR/go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.9.0.tar...
installing phar://D:/Program Files/PHP/PEAR/go-pear.phar/PEAR/go-pear-tarballs/Structures_Graph-1.0.2.tar...
installing phar://D:/Program Files/PHP/PEAR/go-pear.phar/PEAR/go-pear-tarballs/XML_Util-1.2.1.tar...
install ok: channel://pear.php.net/Archive_Tar-1.3.3
install ok: channel://pear.php.net/Console_Getopt-1.2.3
install ok: channel://pear.php.net/Structures_Graph-1.0.2
install ok: channel://pear.php.net/XML_Util-1.2.1
install ok: channel://pear.php.net/PEAR-1.9.0
PEAR: Optional feature webinstaller available (PEAR's web-based installer)
PEAR: Optional feature gtkinstaller available (PEAR's PHP-GTK-based installer)
PEAR: Optional feature gtk2installer available (PEAR's PHP-GTK2-based installer)

PEAR: To install optional features use "pear install pear/PEAR#featurename"

******************************************************************************
WARNING!  The include_path defined in the currently used php.ini does not contain the PEAR PHP directory you just specified:
<D:\Program Files\PHP\pear>
If the specified directory is also not in the include_path used by your scripts, you will have problems getting any PEAR packages working.
Would you like to alter php.ini <D:\Program Files\PHP\php.ini>? [Y/n] :

按回 车,修改php.ini。


php.ini <D:\Program Files\PHP\php.ini> include_path updated.

Current include path           : .;C:\php5\pear
Configured directory           : D:\Program Files\PHP\pear
Currently used php.ini (guess) : D:\Program Files\PHP\php.ini
Press Enter to continue:

按回车继续。


** WARNING! Old version found at D:\Program Files\PHP, please remove it or be sure to use the new d:\program files\php\pear.bat command

The 'pear' command is now at your service at d:\program files\php\pear.bat


* WINDOWS ENVIRONMENT VARIABLES *
For convenience, a REG file is available under D:\Program Files\PHP\PEAR_ENV.reg
 .
This file creates ENV variables for the current user.

Double-click this file to add it to the current user registry.
请按任意键继续. . .

按 任意键继续。


安装PhpDocumentor依赖包

D:\Program Files\PHP> pear install XML_Parser

在命令行中输入pear install XML_Parser安装XML_Parser。


downloading XML_Parser-1.3.2.tgz ...
Starting to download XML_Parser-1.3.2.tgz (16,260 bytes)
....done: 16,260 bytes
install ok: channel://pear.php.net/XML_Parser-1.3.2
D:\Documents and Settings\Administrator> pear install XML_Beautifier

在 命令行中输入pear install XML_Beautifier安装XML_Beautifier。


downloading XML_Beautifier-1.2.0.tgz ...
Starting to download XML_Beautifier-1.2.0.tgz (12,948 bytes)
....done: 12,948 bytes
install ok: channel://pear.php.net/XML_Beautifier-1.2.0

安装 PhpDocumentor

D:\Documents and Settings\Administrator> pear install PhpDocumentor

在命令行中输入pear install PhpDocumentor安装PhpDocumentor。


downloading PhpDocumentor-1.4.3.tgz ...
Starting to download PhpDocumentor-1.4.3.tgz (2,423,486 bytes)
....done: 2,423,486 bytes
install ok: channel://pear.php.net/PhpDocumentor-1.4.3

[PhpDocumentor - 官方网站]

http://www.phpdoc.org/

[PhpDocumentor - 关键词]

phpDocumentor


[PhpDocumentor - 相关论坛]

http://php.board.newsmth.net/

[PhpDocumentor - 版本]

当前版本1.4.3


[PhpDocumentor - 下载]

源代码, http://phpdocu.sourceforge.net/

[PhpDocumentor - 安装]

使用pear安装


[phpDocumentor - 相关问题]

phpDocumentor tags:, http://manual.phpdoc.org/HTMLSmartyConverter/HandS/phpDocumentor/tutorial_tags.pkg.html

你可能感兴趣的:(职场,休闲,phpdocumentor)