Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where do I put my php files to have Xampp parse them?

Tags:

I finished installing Ubuntu 10 for netbooks, and XAMPP. The XAMPP website tutorial made it very easy to install, then left me high and dry. Everything works, but I have no idea where to put my handwritten php files.

After a few hours of googling, and trying to understand the file explorer, I realized I have no idea where anything is in ubuntu. For an answer, please don't just tell me "go to "X" directory. I won't know how to navigate there.

I also did a file search for htdocs with no luck.

like image 835
CDeanMartin Avatar asked Jun 11 '10 10:06

CDeanMartin


People also ask

Where should I put my PHP files in xampp Mac?

XAMPP's default root should be "htdocs" or "www". Put your PHP files into those folder and try again. if it is not work, find the configuration of Apache and PHP in XAMPP folder.

Where does Apache save PHP files?

A developer will need to create a folder named upload in the Apache server's htdocs directory to support the PHP file upload component. This folder is where the HTML5 file uploads will be saved.

What is htdocs folder?

htdocs stands for “HyperTextDocumentS”. It is a folder name used in xampp. In there you can your own user defined folder for storing data. It is basically web server solution package and kind of virtual server.


1 Answers

in XAMPP the default root is "htdocs" inside the XAMPP folder, if you followed the instructions on the xampp homepage it would be "/opt/lampp/htdocs"

like image 137
Mad Scientist Avatar answered Oct 12 '22 00:10

Mad Scientist