php - ppa :ondrej/nginx? 的目的是什么

标签 php ubuntu nginx launchpad

我刚刚添加 ppa:ondrej/php在我的 ubuntu 服务器上,它提示我下面的消息。
为什么建议我添加 ppa:ondrej/nginx (稳定)也?这样做的确切目的是什么?
有关信息,我已经安装了 Nginx from the official doc .

$ sudo add-apt-repository ppa:ondrej/php
Note: PPA publishes dbgsym
  You need to add 'main/debug' component to install the ddebs,
  but apt update will print warning if the PPA has no ddebs
Repository: 'deb http://ppa.launchpad.net/ondrej/php/ubuntu/ groovy main'
Description:
Co-installable PHP versions: PHP 5.6, PHP 7.x and most requested extensions are included. Only Supported Versions of PHP (http://php.net/supported-versions.php) for Supported Ubuntu Releases (https://wiki.ubuntu.com/Releases) are provided. Don't ask for end-of-life PHP versions or Ubuntu release, they won't be provided.

Debian oldstable and stable packages are provided as well: https://deb.sury.org/#debian-dpa

You can get more information about the packages at https://deb.sury.org

IMPORTANT: The <foo>-backports is now required on older Ubuntu releases.

BUGS&FEATURES: This PPA now has a issue tracker:
https://deb.sury.org/#bug-reporting

CAVEATS:
1. If you are using php-gearman, you need to add ppa:ondrej/pkg-gearman
2. If you are using apache2, you are advised to add ppa:ondrej/apache2
3. If you are using nginx, you are advised to add ppa:ondrej/nginx-mainline
   or ppa:ondrej/nginx

PLEASE READ: If you like my work and want to give me a little motivation, please consider donating regularly: https://donate.sury.org/

WARNING: add-apt-repository is broken with non-UTF-8 locales, see
https://github.com/oerdnj/deb.sury.org/issues/56 for workaround:

# LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
More info: https://launchpad.net/~ondrej/+archive/ubuntu/php
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.

我不太了解 Personal Package Archives (PPA),所以我希望能得到一些关于它如何工作的帮助。

最佳答案

另外,ppa:ondrej/nginx包括 brotli nginx 模块,该模块不包含在官方 Ubuntu nginx 软件包中,这使得这个 ppa 现在非常有用,因为大多数浏览器都支持 brotli 并且提供比 gzip 更好的压缩。
此外,它是最新的稳定版本(例如,官方 Ubuntu:focal 存储库有 nginx 1.18,但 ppa:ondrej/nginx 有 nginx 1.20)。

关于php - ppa :ondrej/nginx? 的目的是什么,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66076321/

相关文章:

php - 解谜: Finding All Words Within a Larger Word in PHP

php - 适用于 PHP 的 AWS Polly 文本转语音服务

linux - 为什么我的 initramfs 脚本没有运行?

apache - 没有 http 服务器将提供来 self 的服务器的页面

http - 导入大文件用node.js代替Nginx?

php - MySql:任何方式: UPDATE $tableName SET value=LEAST(value+$change, maxValue)

php - 使用以问号作为通配符的输入查找潜在的莫尔斯电码字符串匹配

ubuntu - 无法在 Elasticsearch 中创建映射

javascript - 如何使用proxy_pass重写URI nginx反向代理?

symfony - HTTPS 上的网络套接字