![]() Browse the server’s IP address You will get the following webpage.To test the configuration of your web server for PHP processing.Ĭreate a new file named info.php inside var/www/html with the following command: This is the way you can download and run any of the available PHP extensions. Momentarily, it will begin to download and install the extension you picked up. The system will ask for the needed additional space to install the extension. To get a list of PHP extensions, you can enter the following commandĪfterward, press the tab button on your keyboard twice, followed by Y, for a complete extensions listįor example, to install the cas extension, the command you need to enter would be: Now that it’s up and running, you are on the right track! Step 5: Install PHP extensions on Ubuntu 20.04 Next, check and verify the Apache PHP module status by using the command: Well, you can see that, by the time of writing this article, the latest PHP version is 7.4.3 How to Install PHP on Ubuntu 20.04? Master the basics with this step-by-step "pictures included" guide, in less than 7 minutes! Click To Tweet Step 4: Install PHP with Apacheĭid you know that it is possible to install PHP using Apache as well?Īll you have to do is put in the following command:įor the changes to take effect immediately, you need to restart Apache using the given command: Step 3: Verify PHP installation on UbuntuĬoming up, time to verify the PHP version after the installation. Press Y to confirm the latest PHP download and install. Just, copy the below command and paste it into your terminal. Installing PHP is a straightforward task. Then, put in your password and let Ubuntu do the magic work.ĭon’t forget to check our tutorial on what is Ubuntu Linux and how to install it. Simply, type the following command into your terminal and press ENTER. You’re probably wondering how to update your package repository by now. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |