![]() # cd /tmpĬomposer (version 2.5.1) successfully installed to: /tmp/composer.phar You may need PHP Composer to install and configure Laravel Framework.ĭownload and install PHP Composer by executing following command at Linux bash prompt. Install PHP module by executing following command at Linux bash prompt. Php 8.1 common, devel, minimal PHP scripting language Last metadata expiration check: 0:06:23 ago on Mon 07:31:44 AM CST. Therefore, you can easily install it by using dnf command and there is no need to install EPEL or REMI yum repositories.Ĭheck the available versions of PHP module in yum repository. In Rocky Linux 9, PHP 8.1 is available in standard yum repositories. # dnf install -y git unzipĬonfirm the Linux Kernel and operating system versions that are being used in this tutorial. You may also need git and unzip commands during installation of PHP Composer, therefore, it is better to install them now. ![]() In such scenario, you should reboot your Linux operating system with newly installed Kernel. Sometimes, above command also updates your Linux Kernel. # dnf makecacheĮxecute following command to update software packages in your Linux operating system. Rebuild your cache for enabled yum repositories. # vi /etc/hostsĪdd following line in this file to setup name resolution for your server. # hostnamectl set-hostname Įdit /etc/hosts file by using vim text editor. Set a Fully Qualified Domain Name (FQDN) for your Linux server by executing hostnamectl command.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |