Step 3: Install XAMPP On Ubuntu 20.04īy now you should have the installer sitting on your current working directory. Once you have established the version of PHP on your system, be sure to download the installer that corresponds to the PHP version on your system as follows:įor my case, I went with the first option since I have PHP 7.4.3 on my system. To check the PHP version on your system, execute the command: $ php -v Choose the right installer for XAMPP according to the PHP version installed on your system. Once you are done updating your system’s packages, proceed to the XAMPP Downloads page and grab the latest release of XAMPP. Now download and install the latest package version, using: $ sudo apt upgrade Step 2: Download XAMPP on Ubuntu 20.04 To get started, it’s good practice to ensure that all the packages are up to date.įirst update the package index, type: $ sudo apt update In this guide, you will learn how to install XAMMP on Ubuntu 20.04. XAMPP can run on Windows, macOS, and all Linux distributions. The acronym XAMPP stands for: X – Cross-platform, A – Apache server, M-MariaDB, P – PHP and P – Perl. It is basically a localized LAMP server that gives developers a suitable environment to test websites and applications before uploading them to a production server. The XAMPP software package comprises the Apache web server, MariaDB database server, PHP, and Perl. For example, the database can be easily accessed via the network, and privileged users are not password-protected, etc.XAMPP is a free and open-source web server package developed by Apache Friends. It should be noted, however, that XAMPP is not advised for use as a production server because it sacrifices several security vulnerabilities to facilitate the setup of your development environment. As mentioned above, XAMPP servers are great for development and prototyping servers. This article covers how you can set up your lamp environment with XAMPP. You can also go to and to see that the Apache server and MySQL database are up and running. ![]() This will open the XAMPP window, and you can see all the services and their status in the window. To start the said tool, run the following commands. You can also manage XAMPP services through the GUI tool. ![]() Using a Graphical Tool to Manage XAMPP Services sudo /opt/lampp/lampp startĬheck the XAMPP service status at any moment with the following command. You can start the XAMPP service by running the following command in the terminal. Installation should take 10 to 15 minutes, depending on your system.Ĭlick Finish when the installation is completed.Īfter installation, XAMPP files and the new projects you build can be found in the /opt/lampp and /opt/lampp/htdocs directories. Make sure to select both the XAMPP Core and Development files and proceed to installation. Click Next until you are asked to select components of the installation. You will see the setup screen pop up after the command is issued. Start the XAMPP installer using the following command. The XAMPP installer will reside in your navigated folder, but before running it, we need to sort out permissions so that it can become executable using the chmod command. Note: Change the XAMPP version if an updated version is available. Now, run the following wget command to download the XAMPP package from the internet. Download XAMPP for Ubuntuįirst of all, use the cd command to navigate to the folder you want to store or download the XAMPP package for Ubuntu. All the commands in the tutorial will work for any Linux-based system. Note: The methods in this tutorial are implemented on the Ubuntu 20.04 system. You will need terminal access and an account with sudo privileges on the Ubuntu-Desktop system. This tutorial will show you how to set up a LAMP server using XAMPP on Ubuntu. ![]() ![]() The XAMPP server is very easy to set up and requires little configuration, which makes it perfect for software development or prototyping. The XAMPP stack can be used to create PHP applications that are driven by frameworks like WordPress, Joomla, Drupal, PrestaShop, and others. XAMPP is made up of Apache, MySQL, PHP, and Perl. It is open-source and supports Windows, Linux, and macOS. XAMPP is a popular LAMP-stack (Linux, Apache, MySQL, and PHP) for building PHP-based web projects.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |