skip to Main Content

I’ve juste add ppa:ondrej/php on my ubuntu server, and it prompt me the message below.

Why am I advised to add ppa:ondrej/nginx (stable) too? What’s the exact purpose of this?

For information I have already installed 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.

I don’t know very well the Personal Package Archives (PPA), so I would appreciate some help about how it works.

2

Answers


  1. Chosen as BEST ANSWER

    According to the homepage for ppa:ondrej/nginx, here the PPA description:

    This branch follows latest NGINX Stable packages compiled against latest OpenSSL for HTTP/2 and TLS 1.3 support.
    
    BUGS&FEATURES: This PPA now has a issue tracker: https://deb.sury.org/#bug-reporting
    
    PLEASE READ: If you like my work and want to give me a little motivation, please consider donating: https://donate.sury.org
    

    So yes, same purpose as ppa:ondrej/php but to install up to date Nginx (stable) versions.


  2. Also, ppa:ondrej/nginx includes brotli nginx module, which is not included into the official Ubuntu nginx packages, making this ppa very useful nowadays as brotli is supported by majority of browsers and offers better compression than gzip.

    Additionally, it’s the latest stable version (for instance, the official Ubuntu:focal repository has nginx 1.18, but ppa:ondrej/nginx has nginx 1.20).

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search