拜托,这意味着谁能帮忙?
cannot open /usr/share/apache2/build/config_vars.mk: No such file or directory at /usr/bin/apxs2 line 203.
谢谢
apt-cache policy apache2-dev
apache2-dev:
Installed: 2.4.18-2ubuntu3.10
Candidate: 2.4.18-2ubuntu3.10
Version table:
*** 2.4.18-2ubuntu3.10 500
500 http://fi.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
100 /var/lib/dpkg/status
2.4.18-2ubuntu3 500
500 http://fi.archive.ubuntu.com/ubuntu xenial/main amd64 Packagesapache2 -v
The program 'apache2' is currently not installed. To run 'apache2' please ask your administrator to install the package 'apache2-bin'
sudo systemctl status apache2
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: inactive (dead) since to 2019-06-06 01:08:07 EEST; 2min 15s ago
Docs: man:systemd-sysv-generator(8)
kesä 06 01:08:07 bozz-feedz systemd[1]: Starting LSB: Apache2 web server...
kesä 06 01:08:07 bozz-feedz systemd[1]: Started LSB: Apache2 web server.发布于 2019-06-05 21:00:39
此文件包含在apache2-dev包中(参见搜索结果 on packages.ubuntu.com)。所以你需要用以下方式安装它:
sudo apt-get install apache2-bin apache2-dev然后再试。
https://askubuntu.com/questions/1148853
复制相似问题