Shanu k k
Shanu k k

Reputation: 1285

How to start my php project in Linux mint

Hi i am new in mint Linux and i would like to ask on how to start my php project in Linux mint.I have installed netbeans and Xampp. It's quite different from windows. i can't get htdocs folder?. I tried the following

1)Start IDE File > Open Project
2)Set name and location.(in windows Xampp\htdocs\projectname)

But mint Linux how i get a path like /home/user/NetBeansProjects/PhpProject1. I can't get htdocs folder. But using localhost i can't run my project.I don't know whether it's the actual way or not.Please help me.

Upvotes: 2

Views: 3255

Answers (3)

Martins
Martins

Reputation: 15

This is simple, I struggled with it though

  1. Navigate to var/www/html
  2. Write click on it and select open as admin

Then copy the project folder to it. Head to the browser and localhost/projectfolder

Upvotes: 0

Fareed
Fareed

Reputation: 1

since you installed xampp, your htdocs is here: opt>lampp>htdocs. Once there you can create a folder for your project. for example: opt>lampp>htdocs>florist

Then to visit the site: http://localhost/florist/yourpagename.html

Upvotes: 0

Naincy
Naincy

Reputation: 2943

Linux is bit different from windows. You will not get any htdocs folder in Linux.

Please see this link and follow the steps. It will help you.

https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-14-04

Upvotes: 3

Related Questions