Php 错误:无法加载libphutil

Php 错误:无法加载libphutil,php,include-path,phabricator,libphutil,Php,Include Path,Phabricator,Libphutil,我们在一台服务器上运行了Phabricator。今天,我按照“升级说明”中给出的标准步骤对其进行升级 当我尝试使用systemctl start phabricator phd启动pdh时,它失败了 错误是 ERROR: Unable to load libphutil. Update your PHP 'include_path' to include the parent directory of libphutil/. 我尝试了其他不同的方法来启动它,但所有的人都给出了相同的错误。 希望

我们在一台服务器上运行了
Phabricator
。今天,我按照“升级说明”中给出的标准步骤对其进行升级

当我尝试使用
systemctl start phabricator phd
启动
pdh
时,它失败了

错误是

ERROR: Unable to load libphutil. Update your PHP 'include_path' to include the parent directory of libphutil/.
我尝试了其他不同的方法来启动它,但所有的人都给出了相同的错误。
希望有人能帮我解决这个问题。

通常
phd
通过
bin/phd restart
重新启动。这行吗?如果是,那么问题是您的启动脚本。如果没有,则说明Phabricator可能安装不正确。

已修复。 这是一个许可问题。下面是固定的

chmod g+rX,o+rX libphutil/ -Rc
chmod g+rX,o+rX arcanist/ -Rc
chmod g+rX,o+rX phabricator/ -Rc

我遇到了同样的问题。解决方法之一是:将libphutil、arcanist、phabricator(网站曾经启动过)放在
arcanist/
所在文件夹中的同一路径上

git clone https://github.com/phacility/libphutil.git

这解决了我的问题。

使用了
git克隆https://github.com/phacility/libphutil.git
不再工作了。现在看看回购协议。里面什么都没有。然而,解决办法似乎如下:


sudo apt安装libphutil
然后
dpkg-L libphutil
查看它在系统中的位置。一旦您找到了它的位置(例如:/usr/share/libphutil),就可以在arcanist中用符号链接到它,如下所示:
ln-s/usr/share/libphutil path_to_arcanist/externals/includes
。现在它应该可以工作了。

这已经不起作用了。现在看看回购协议。里面什么都没有。请尝试以下方法:。