PhpDocumentor ubuntu 安装

发布于 2024-12-13 10:26:42 字数 350 浏览 5 评论 0原文

我使用 Ubuntu 11.10,我想安装 phpdocumentor。我使用教程如何在 Ubuntu 上安装 PhpDocumentor。但:

如果您导航到 http://localhost/PhpDocumentor/(请注意,URL 区分大小写),您将发现安装已准备好运行。

我得到一个 404 页面。也许应该在虚拟主机中设置一些东西?

I use Ubuntu 11.10, and I want install phpdocumentor. I use the tutorial How to install PhpDocumentor on Ubuntu. But:

If you navigate to http://localhost/PhpDocumentor/ (note that the URL is case sensitive) you will find the installation ready to run.

I get a 404 Page. Maybe something should be set up in virtual - hosts?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

Hello爱情风 2024-12-20 10:26:42

也许检查 /var/www 下文件和目录的文件权限。就像 www-data “需要拥有”apache 写入文件的输出目录一样,网页文件上的文件权限也可能需要拥有......它们可能无法访问,因为它们是通过 sudo 由 root 安装的。因此,如果 /var/www 及其下的 phpdocumentor 文件不属于 www-data,请尝试更改所有权(sudo chown -R www-data /var/www/PhpDocumentor)并查看是否可以解决问题。

当然,如果您根本看不到 /var/www/PhpDocumentor 目录,那么这就是问题所在......本教程前面的“sudo pear config-set data_dir /var/www”命令应该确保安装将文件放在那里。

Perhaps check the file permissions on the files and directories under /var/www. Like how www-data "needs to own" the output directory where files get written by apache, it's possible the file permissions on the webpage files need to be owned also... they might not accessible due to being installed by root via sudo. So, if /var/www and the phpdocumentor files under it are not owned by www-data, try changing the ownership (sudo chown -R www-data /var/www/PhpDocumentor) and see if that solves it.

Of course, if you don't see the /var/www/PhpDocumentor directory at all, then that's the problem... the "sudo pear config-set data_dir /var/www" command earlier in the tutorial should have made sure that the installation puts the files there.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文