phpdoc:phpdoc安装来源: 发布时间:星期一, 2009年1月12日 浏览:34次 评论:0
1. 使用pear
命令行: pear config- data_dir /path/to/public_html/pear #The line assumes that /path/to/public_html is the location of index.html you browse to http://localhost/index.html pear upgrade PhpDocumentor-beta 自动地会下载安装以上可能需要sudo 在upgrade时如果出现memory申请提示那么需要修改php.ini但是这里使用并不是我们在浏览器中使用phpinfo看到ini这是cli使用ini文件找到他 php | grep php.ini <?php phpinfo; ?> 按ctrl+D结束查看输出即可得到cli使用php.ini文件 编辑它改变memory大小再次执行upgrade语句搞定 使用http://localhost/pear/PhpDocumentor/index.html即可使用phpdocument了 2.下载phpdocument文件安装 更easy在这里下载解压到合适目录浏览器运行即可 0
相关文章读者评论发表评论 |