![]() ![]() Ok now let’s configure your PHP sudo vim /etc/php/7.4/apache2/php. To install a PHP module, the typical process is to install the module (either via the package manager or through a manual build/install process) and then. Remember this pattern, you may need it in the future for other things like a2disconf or a2dissite (will explain it in another post) Note: This could be 7.0 and up, but for example Drupal recommends PHP 7. Amazon Linux 2 sudo privileges Install PHP 7.4 on Amazon Linux 2. This tutorial is aimed to show you the steps for installing PHP 7.4 on Amazon Linux 2. Try to figure out the other one using the pattern above. On Ubuntu, when mysqli is missing, execute the following, sudo apt-get install php7.x-mysqli sudo service apache2 restart. Setting up a PHP environment for a PHP-based project on Amazon Linux 2 it’s a straightforward process, and it can be achieved in a few steps. You can install multiple php versions on your system and you can disable or enable them by running a2dismod X or a2ensite X Where X and XX are your modules names you get after running php -mįew basic ones are: sudo apt install libapache2-mod-php7.4 php7.4-common php7.4-mbstring php7.4-xmlrpc php7.4-gd php7.4-xml php7.4-mysql php7.4-cli php7.4-zip php7.4-curl PHP is an excellent programming language that. Now you will need modules depending on your requirements The PHP can be installed on Ubuntu 22.04 from Ubuntus official repository or by importing the PPA repository. ![]() ![]() The command above will check your installation. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |