You are here

Xampp Issues

5 posts / 0 new
Last post
dayv2005
Offline
Last seen: 15 years 10 months ago
Joined: 2007-08-08 14:17
Xampp Issues

I just recently installed xampp portable. I had everything up and running. I even went to my localhost and the xampp screen comes up meaning my webserver was working correctly. And I clicked on the phpinfo() and that popped up and it seemed to be working correctly. With this all in mind I was wondering if im supposed to be saving all my work in the htadocs? Is this like my internet folder for my web server? Because I seem to save it anywhere else it won’t work? Also id there any way to manage mySql Databases in xampp other than doing it web based?

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 1 month ago
Joined: 2006-01-06 21:27
Yep.

htdocs/ is your web root, so if you put a file in there called index.html, you'll be able to access it from http://localhost/index.html

Also, you can do it manually using the command line.

For more information/help, head over to the Apache Friends forum, as they'll be able to help you more.

"If you're not part of the solution, you're part of the precipitate."

knezan94
Offline
Last seen: 16 years 3 months ago
Joined: 2007-12-05 14:37
htdocs

unfortunaley, real index is in xampp (localhost/xampp/index.php), so you can storage yours files into root/httdocs/xampp/.
I added index.htm and renamed index.php to index2.php, in index.htm i made a table of contents (all was black, only link to index2.php was white so oly I knew where to click to get to xampp status page) and if you wish to install something you just put into htdocs/xampp/

edit: mysql databases are storaged into root/mysql/data

EDIT2: to see my index.htm check this: knezan94.my-webs.org/index_xampp.htm you will se, that there is 2 lines later is link to index2.php wich is xampp's status etc

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 1 month ago
Joined: 2006-01-06 21:27
Nope.

You put everything into xampp/htdocs/
There is simply an index.php (or maybe it's the .htaccess) that redirects you to /xampp/
You can delete everything in xampp/htdocs/ if you want to see for your self.

"If you're not part of the solution, you're part of the precipitate."

richo
richo's picture
Offline
Last seen: 4 days 4 hours ago
Joined: 2007-01-31 22:03
.htaccess controls who can

.htaccess controls who can access the folder. The default 'xampp/htdocs/index.php' is the file that redirects to the xampp status page.

Log in or register to post comments