Install XAMPP Server On Linux Mint, Ubuntu and Debian | Linux Mint Tutorial For Beginner
XAMPP is a free and open-source cross-platform web server solution stack package developed by Apache Friends, consisting mainly of the Apache HTTP Server, MariaDB database, and interpreters for scripts written in the PHP and Perl programming languages. If you want to learn more you can check out my youtube channel.
Download xampp from https://www.apachefriends.org/index.html Now open turminal nad use tose commands To write file name in commands just write xampp and press tab it will give the full name
$ chmod +x xampp-linux-x64-7.4.10-0-installer.run
$ ls -lah
$ sudo ./xampp-linux-x64-7.4.10-0-installer.run
Once xampp installer is open click next few times to install it
When Installation is successfull you can see xampp control panel
In linux xampp control panel is little differant than windows os
From manage servers you can start apache to host php server and mysql for database
To open xampp panel once again from terminal use those commands
$ ls -lah
$ sudo ./xampp-linux-x64-7.4.10-0-installer.run
$ cd /opt/lampp/
$ ls -lah
$ ./manager-linux-x64.run
Inside /opt/lampp/htdocs we have htdocs folder where we can create our project
But now we don't have permission to create a project
Let's make htdocs own user folder so we don't need to access permission everytime
$ ls -lah
$ ./manager-linux-x64.run
$ cd /opt/lampp/
$ ls -lah
$ sudo chown name_of_your_user:name_of_your_user ./htdocs/
Thank you$ ls -lah
$ sudo chown name_of_your_user:name_of_your_user ./htdocs/
No comments: