安裝phpDocument及使用 安裝pear及使用

phpDocument官網:https://www.phpdoc.org/php

提供了簡便的安裝方法:html

 

 

安裝很簡單。對於中間可能出現的問題,進行QAapp

Q:phpDocument須要什麼環境麼?post

A:須要php環境。url

 

Q:配置php訪問路徑。spa

A:配置 phpdoc.bat 使其指向您所安裝php的位置;htm

 

Q:blog

D:\php5>pear install phpdoc/phpDocumentor-alpha
No releases available for package "pear.phpdoc.org/phpDocumentor"
install failed
 
A:
登陸http://pear.phpdoc.org/,查看可以使用的phpDocumentor下載地址,再次運行
D:\php5>pear install http://pear.phpdoc.org/get/phpDocumentor-2.0.0b6.tgz
downloading phpDocumentor-2.0.0b6.tgz ...
Starting to download phpDocumentor-2.0.0b6.tgz (3,002,729 bytes)
.........................................................................
.........................................................................
.........................................................................
.........................................................................
.........................................................................
.............done: 3,002,729 bytes
install ok: channel://pear.phpdoc.org/phpDocumentor-2.0.0b6
 
Q:對於pear的安裝
 
A:查看   安裝pear及使用
 
Q:簡單使用
 
A:

phpdoc -d "D:\phpStudy\WWW\app" -t "D:\phpStudy\WWW\doc"pdo

-d表示要生成文檔的應用,-t表示文檔生成在哪一個目錄。文檔

相關文章
相關標籤/搜索