![]() ![]() Php8.0-cgi php8.0-enchant php8.0-interbase php8.0-mysql php8.0-psr php8.0-soap php8.0-xhprof Php8.0-bcmath php8.0-dev php8.0-imagick php8.0-memcached php8.0-phpdbg php8.0-smbclient php8.0-uuid php8.0-zip Php8.0-apcu php8.0-curl php8.0-gmp php8.0-mailparse php8.0-opcache php8.0-redis php8.0-sybase php8.0-yac Some available extensions are as shown below: $ sudo apt install php8.0. ![]() To install PHP 8 extensions on Ubuntu 22.04|20.04|18.04 use the command syntax: sudo apt install php8.0. With Zend OPcache v8.0.11, Copyright (c), by Zend Technologies Step 4: Install PHP 8 Extensions on Ubuntu 22.04|20.04|18.04 Zend Engine v4.0.11, Copyright (c) Zend Technologies Libperl5.30 perl perl-modules-5.30 php-common php8.0 php8.0-cli php8.0-common php8.0-opcache php8.0-readlineĠ upgraded, 20 newly installed, 0 to remove and 7 not upgraded.Īfter this operation, 78.4 MB of additional disk space will be used.Ĭonfirm the default PHP version on the server: $ php -v The following NEW packages will be installed: Libperl5.30 perl perl-modules-5.30 php-common php8.0-cli php8.0-common php8.0-opcache php8.0-readlineĪpache2-doc apache2-suexec-pristine | apache2-suexec-custom www-browser php-pear file perl-doc libterm-readline-gnu-perl | libterm-readline-perl-perl make The following additional packages will be installed:Īpache2-bin libapache2-mod-php8.0 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libgdbm-compat4 libjansson4 liblua5.2-0 libmagic-mgc libmagic1 Hit the y key to start installation: Reading package lists. Then install PHP 8.0 on Ubuntu 22.04|20.04|18.04 Linux machine: sudo apt install php8.0 ![]() Update APT index just to ensure it is okay for package installation: sudo apt update Press to continue or Ctrl-c to cancel adding it.įrom the update output you should see the repositories added: Hit:1 focal InRelease ![]() # LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php WARNING: add-apt-repository is broken with non-UTF-8 locales, see PLEASE READ: If you like my work and want to give me a little motivation, please consider donating regularly: If you are using nginx, you are advised to add ppa:ondrej/nginx-mainline If you are using apache2, you are advised to add ppa:ondrej/apache2ģ. If you are using php-gearman, you need to add ppa:ondrej/pkg-gearmanĢ. IMPORTANT: The -backports is now required on older Ubuntu releases.īUGS&FEATURES: This PPA now has a issue tracker:ġ. You can get more information about the packages at Hit enter key when prompted to add the repository: Debian oldstable and stable packages are provided as well: Sudo apt install lsb-release ca-certificates apt-transport-https software-properties-common -y Ubuntu 20.04|18.04 (Not needed on Ubuntu 22.04) sudo apt update Run the commands shared below to add this repository to your Ubuntu system. For Ubuntu 20.04/18.04, the latest PHP packages are available in the Ondřej Surý PPA repository. Ubuntu 22.04 ships with PHP 8 packages and many other extensions required for PHP 8 integrations. sudo systemctl reboot Step 2: Add Ondřej Surý PPA repository ( Only Ubuntu 20.04/18.04) sudo apt updateĪ reboot is important after any upgrade. Update all system packages to the latest by running the commands below. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |