/    Sign up×
Community /Pin to ProfileBookmark

apache/xampp issue

I’m using xampp from apachefriends.org for my server and it is up and running. I opened the browser and put 127.0.0.1 as the url and it took me to index.php where a menu was displayed. The status reads mysql,php,apache are all activated. I have been placing my html and php files in htdocs. How do I browse my site? If I open my files with the browser all the html is fine however no php is being dispayed. If I type the URL in to view my site on the server it will not display or maybe I have the path wrong. I’ve tried several paths and cannot get it to pull the site up. Anyone have any suggestions?

to post a comment
PHP

3 Comments(s)

Copy linkTweet thisAlerts:
@chazzyMar 02.2006 — hmm do you have a htaccess file? i forget if it's going to be required on something like this.
Copy linkTweet thisAlerts:
@NogDogMar 02.2006 — Usually you can go to http://localhost/file.php (or http://localhost/directory/file.php where "directory" would be a directory just under the htdocs directory).
Copy linkTweet thisAlerts:
@MantisauthorMar 04.2006 — Thanks. Common sense prevails. For some reason I was wanting to make it more complicated and use localhost/xampp/file.php as the path. It's all clear to me now. Threw me for a loop when you type localhost it takes you farther down a tree under xampp therefore I figured my files would have to be under /xampp/ if "localhost" instantly takes me there. Still new to the server side thing and the mentality. There really isn't very good documentation with xampp at least in english. Seems pretty well put together for the most part. I notice funny little things that will make the GUI crash but making progress none the less.
×

Success!

Help @Mantis spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.11,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...