![]() ![]() Nevertheless, if there is any web application that requires this version, you can go for it: sudo apt install php5.6 We don’t recommend installing the 5.6 version because it is not supported by its developers anymore. If you are using any of such applications, can go for the given command: Well, many web applications are not compatible with PHP 8.x, and still required a 7.x version of PHP. Those who want PHP 8.0 instead of 8.1 can go for this command. The command will be the same for installing any version i.e using the APT package manager, however, the version of the PHP will be different. Note: While performing this tutorial, the latest version was 8.1. According to your requirement, you can go for the one. Once the repository is on your system, we can install any latest or previous version of PHP. ![]() sudo apt install software-properties-common sudo add-apt-repository ppa:ondrej/php Therefore, for the latest and even old versions, we can use the Ondrej repository. However, the default repository doesn’t offer the latest version of PHP. Well, we can install PHP using the default system repository without adding any third-party package source repo. Steps to install Latest PHP on Ubuntu 22.04 LTS 1. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |