gpt4 book ai didi

apache - 无法安装 libapache2-mod-fcgid apache mod

转载 作者:行者123 更新时间:2023-12-04 18:32:26 34 4
gpt4 key购买 nike

你好我试图安装 libapache2-mod-fcgid mod 但总是出错。

root@mail:~# sudo apt-get install libapache2-mod-fcgid
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libapache2-mod-fcgid : Depends: apache2.2-common but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

并且没有 fcgid mod 我无法启动 apache 服务器
root@mail:~# service apache2 restart
* Restarting web server apache2 [fail]
* The apache2 configtest failed.
Output of config test was:
apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/fcgid.load: Cannot load /usr/lib/apache2/modules/mod_fcgid.so into server: /usr/lib/apache2/modules/mod_fcgid.so: cannot open shared object file: No such file or directory
Action 'configtest' failed.
The Apache error log may have more information.

Apache 版本 2.4

最佳答案

这对我有用:2022 年的 Ubuntu 21.10:

sudo apt-get install -y libapache2-mod-fcgid

关于apache - 无法安装 libapache2-mod-fcgid apache mod,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25571129/

34 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com