12.04 Apache REINSTALL

Ubuntu
回覆文章
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

12.04 Apache REINSTALL

文章 yehlu »

http://crabdave.iteye.com/blog/647146

您希望继续执行吗?[Y/n]y
选中了曾被取消选择的软件包 apache2-mpm-worker。
(正在读取数据库 ... 系统当前总共安装有 142697 个文件和目录。)
正在解压缩 apache2-mpm-worker (从 .../apache2-mpm-worker_2.2.12-1ubuntu2.2_all.deb) ...
选中了曾被取消选择的软件包 apache2。
正在解压缩 apache2 (从 .../apache2_2.2.12-1ubuntu2.2_all.deb) ...
正在设置 apache2-mpm-worker (2.2.12-1ubuntu2.2) ...
ERROR: Module cgid does not exist!
ERROR: Module cgid does not exist!
It looks like you've deleted /etc/apache2/mods-available/cgid.load, so mod_cgid cannot be enabled. To fix this, please purge and reinstall apache2.2-common.
.: 44: Can't open /etc/apache2/envvars
invoke-rc.d: initscript apache2, action "start" failed.

fix it up:
sudo apt-get --purge remove apache2.2-common
sudo apt-get install apache2.2-common
sudo apt-get install apache2


apt-get install php5 libapache2-mod-php5
回覆文章

回到「Ubuntu」