gpt4 book ai didi

php - 软件包 libapache2-mod-auth-mysql 不可用

转载 作者:IT老高 更新时间:2023-10-29 00:00:46 31 4
gpt4 key购买 nike

我正在尝试在 Linux Mint 16 Mate x64 上安装 LAMP 堆栈,但运行此命令时总是出错:

sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql

我正在使用默认源存储库。我设法安装了 apache2php5mysql 但每当我安装这三个包时,它都会返回:

Package libapache2-mod-auth-mysql is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source

E: Package 'libapache2-mod-auth-mysql' has no installation candidate

因此,我无法使用友好 URL 功能。

最佳答案

根据this thread libapache2-mod-auth-mysql 包不再维护,也不再需要:

I get the impression that many people have ended up here because they want to install a LAMP stack, since some instructions somewhere state that this package should be installed to get a LAMP stack. This is incorrect. This package is only required for Apache authentication against MySQL (as opposed to doing it at the web app end, which is far more common). It appears to me that there are cargo culted instructions floating around the Internet.

Robie Basak

我刚刚安装了一个没有该软件包的 LAMP 堆栈,它工作正常。

sudo apt-get install php5-mysql phpmyadmin

关于php - 软件包 libapache2-mod-auth-mysql 不可用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20458641/

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