我通过 mamp 有 phpdoc。我按照他们的教程,在终端中输入了这个。
pear config-set data_dir /path/to/document_root/pear
当然,我将 /path/to/document_root 更改为我的网络空间文件夹。
但是然后呢?如何通过 web 界面访问 phpdoc?
如果您设置了 pear 的 data_dir ,并且您的 Apache 服务器正在运行,您应该能够在http://localhost/pear/PhpDocumentor/index.html访问 phpDocumentor Web 界面