![]() ![]() In this case, it will again ask for your confirmation or cancellation. Instead of removing Ubuntu PPA, you can also purge PPA which also downgrade installed packages to the stock version in Ubuntu repositories. Use the below command to install curl: sudo apt install curl. For instance, remove php PPA via command: sudo add-apt-repository -remove ppa:ondrej/php ![]() To remove an Ubuntu PPA, add -remove flag in adding PPA command. In all previous commands, you can replace php8.0 with php7.4, php7.3, php7.2, php7.0, or php5.6 to install a specify version of PHP packages Uninstall PHP: Just add or remove package names after “sudo apt install” depends what you need. ![]() There are also many other packages available, e.g., php8.0-amqp, php8.0-apcu, php8.0-memcache, php8.0-memcached, and more. Sudo apt install php8.0-fpm libapache2-mod-php8.0 php8.0-mysql php8.0-xml If you’re using Apache2, adding the apache2 PPA is recommended: sudo add-apt-repository ppa:ondrej/apache2Ĥ.) Finally refresh system package cache and install php 8.0 packages via command: sudo apt update I’m using Nginx web server, and it’s recommended to add the Nginx stable PPA instead: sudo add-apt-repository ppa:ondrej/nginx Ondřej Surý, a Debian Developer who maintains the official PHP packages in Debian, is maintaining an Ubuntu PPA that contains the latest PHP 5.6, PHP 7.0, PHP 7.1, PHP 7.2, PHP 7.3, PHP 7.4, and PHP 8.0 packages as well as PECL extensions for all current Ubuntu releases.ġ.) Simply open terminal or connect to your remote Ubuntu server, and run command to make sure software-properties-common is installed: sudo apt install software-properties-commonĢ.) Then run command to add the php PPA repository by running command: sudo add-apt-repository ppa:ondrej/phpįor non-UTF-8 locales, run LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/phpģ.) If you are using php-gearman, you need to run command to add the gearman PPA: sudo add-apt-repository ppa:ondrej/pkg-gearman Want to install PHP 8.0 as well as many PECL extensions in your Ubuntu Server? Well there’s a well trusted PPA that contains the packages for all current Ubuntu releases. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |