6/18/2023 0 Comments Xampp install ubuntu terminalNow open the URL You will see Hello World printed on your browser. Now we will change the permission of the files in htdocs using the following command sudo chmod +x -R /opt/lampp/htdocs/ Create a php file with the name myphp.php with the following code: htdocs is generally located in /opt/lampp/htdocs/. For that you need to create a php file in the htdocs directory of Xampp. You can also verify if phpmyadmin is running by opening the URL Now Lets try to run some PHP code using our Apache server. You can use the URL to open the Dashboard. You can also use the commands below to run the Xampp control panel. Now start all three services by pressing start all button. This will launch the Xampp control panel like shown below. In the dialog box, click next(for each step) and move through the process of installation. xampp-linux-圆4-7.2.nĪ installation set up dialog box will open. Run the installer, but don’t close the Terminal. Note : The version of XAMPP you’ll download might be different, so change the version in this command accordingly.įor above command to run you have to provide your system’s password Execute this command sudo chmod +x xampp-linux-圆4-7.2.n Change the execution rights if the installation file, So we can run it as executable file. STEP 2. Open your Terminal and Change directory to the Downloads folder (by default it downloads into the Downloads folder) $ cd Downloads Open the link in your favorite browser and download the latest version of LAMPP software that you want for Ubuntu Linux. In this post we will see How to install XAMPP in Ubuntu 16.04.
0 Comments
Leave a Reply. |