Install XAMPP in Ubuntu Linux ?

Hi!

If you need to install xampp in Ubuntu linux, here's a quick guide of how to do that. It's in steps ! So, it'll be easy to go through the article as usual in my blog.


1. First go through this link and download xampp for Linux.

2 . Now, you'll be having a file named like xampp-linux-y.y.yy.tar

3. Now, get your terminal.


     Type sudo nautilus & hit Enter




4. Now, File Manager window will be opened & you've to go to your root directory & find a directory opt & get inside it.



5. Then, take your xampp-linux-y.y.yy.tar & extract it inside /opt.


You'll see a directory named lampp.

6. Now, take out terminal again & type cd /opt .


7. Then, Type sudo chmod 777 lampp. (Give Read,write & execute privileges to all users).


8. Tpe sudo naulius & take back file manager window & go to /opt/lampp/htdocs.


 Make a directory to store your php files. (Name it the way you want) Ex: MYPHP.

9.  Then, take terminal back & type sudo /opt/lampp/lampp start. 


10. Start Web Browser & type http://localhost in the addressbar.


11. Then, Select English & Type http://localhost/MYPHP to go to your php file directory.




Enjoy! PHP with XAMPP.

No comments: