最近将我的系统从 Karmic 升级到 Lucid。我相信这涉及更新 Apache 和 PHP。
现在我的服务器无法处理 PHP 文件,对它们的任何导航都会触发下载而不是解析。
PHP 模块仍然加载在 Apache mods-enabled
AddType application/x-httpd-php .php中,我的 httpd.conf 中也有。
Apache 访问或错误日志中没有有意义的消息,所以我很难过。
任何帮助,将不胜感激。谢谢。
我的 Ubuntu 服务器目前有几个问题。当将 apt 用于任何事情时,它告诉我:
The following packages will be REMOVED
linux-restricted-modules-2.6.28-11-server
linux-restricted-modules-2.6.28-19-server
Run Code Online (Sandbox Code Playgroud)
但是卸载失败,因为目录和图像已经不存在。
dkpg --list | grep linux-restricted-modules
Run Code Online (Sandbox Code Playgroud)
...返回此信息:
rH linux-restricted-modules-2.6.28-11-server 2.6.28-11.15
rH linux-restricted-modules-2.6.28-19-server 2.6.28-19.24
Run Code Online (Sandbox Code Playgroud)
所以 r 意味着我想删除它,我认为 H 意味着它只存在于系统上的一半还是什么?
如何删除此包中剩余的任何内容,以便我可以停止接收这些错误消息?
谢谢。
编辑: apt-get upgrade 的完整输出:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED
linux-restricted-modules-2.6.28-11-server linux-restricted-modules-2.6.28-19-server
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 5,046kB disk space …Run Code Online (Sandbox Code Playgroud)