phpDocumentor - 无法打开输入文件:phpdoc.php

phpDocumentor - 无法打开输入文件:phpdoc.php

问题描述:

我正在尝试使用 phpDocumentor(第一次,我不知道我在做什么).实际上,我只想将它与 SublimeText 2 和 this 插件一起使用.你能一步一步指导我我该怎么做才能让它工作?这是我现在所做的:(我使用的是 Windows 7)从这里下载phpDocumentor并将其放置在某处.我已经为 phpdoc/bin 创建了系统路径(因此 phpdoc.bat 可以由 sublime 插件执行),然后还添加了 php 的系统路径(来自 WAMPserver 安装)

I'm trying to use phpDocumentor (for the first time, I have no idea what I'm doing). Actually, I want to use it only with SublimeText 2 and this plugin. Can you guide me step by step what should I do to make it working? Here's what I've done now: (I'm using Windows 7) Downloaded phpDocumentor from here and placed it somewhere. I've created system PATH's for phpdoc/bin (so phpdoc.bat can be executed by sublime plugin) and then also added system path to php (from WAMPserver installation)

当我尝试使用我的插件(或在控制台窗口中执行 phpdoc)时,我收到此错误:

When I try to use my plugin (or execute phpdoc inside console window) I get this error:

无法打开输入文件:\phpdoc.php

运行:

pear

它会为你设置%PHP_PEAR_PHP_BIN%.