7/19/2023 0 Comments Install composer debian 10With the installation complete, verify the version of PHP installed as shown. $ sudo dnf install php php-cli php-mysqlnd php-mbstring php-gd php-curl php-zip -y Then install PHP and associated PHP modules as follows. Next, enable PHP 7.4 module on the command line as shown. To list the versions currently supported on the repositories, run the command: $ sudo dnf module list php ![]() PHP Composer requires a minimum of PHP 5.3.2 and with that, we will install PHP 7.4 since the requirement is satisfied. To install PHP 8.0 and later versions, you need to install PHP from the Remi repository. At the moment, Rocky Linux repositories only provide PHP 7.2, PHP 7.3, and PHP 7.4. To get the ball rolling, you need to install PHP. In this topic, we will demonstrate how to install PHP Composer in Rocky Linux 8. In case you have a project that depends on a given number of libraries, and some of those libraries depend on other libraries, then PHP Composer will allow you to declare the libraries they depend on and find out which packages need to be installed and installs them into your project. Thus, it can also be referred to as a dependency management tool for PHP. ![]() Rather, it handles libraries and packages on a per-project basis, installing them inside your project’s directory. ![]() It’s not exactly a package manager in the same sense as conventional package managers such as APT or DNF. Written in PHP, PHP Composer is an application-level package management tool for PHP programming language.
0 Comments
Leave a Reply. |