|
|
|
|
![]() ![]() |
Sep 1 2008, 11:54 PM
Post
#1
|
|
|
Newbie ![]() Group: Members Posts: 2 Joined: 1-September 08 Member No.: 67,213 |
I am new using XAMPP and PHP. I am trying to build website using Joomla which is required my computer to have php. So i installed this XAMPP and install my joomla website. My questions is everytime i type localhost is not going to my joomla website that i built. it always goes to localhost/xampp. i know i have to configure the httpd.conf but i have no idea how to configure this. can anyone help me with this. my website folder called "test". how do i redirect to this test folder so that everytime i type local host it will open the test website. I really appreciate your help.
|
|
|
|
Sep 1 2008, 11:59 PM
Post
#2
|
|
|
Look around, what do you see? Incorrect. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 1,118 Joined: 12-April 06 From: Essex, UK Member No.: 21,719 myCENT:47.88 |
I replied in the shoutbox too, try renaming the "xampp" folder to "xampp_old" i think it isnt needed and so can be deleted, but rename it first so its easier to recover.
remember to place the "test" folder inside the "htdocs" folder too. |
|
|
|
Sep 2 2008, 01:13 AM
Post
#3
|
|
|
A computer once beat me at chess, but it was no match for me at kick boxing. ![]() Group: [MODERATOR] Posts: 4,300 Joined: 24-July 05 From: Linix, DOS and Windows…the good, the bad and the ugly Member No.: 9,787 ![]() myCENT:46.50 |
Alternately, install the Joomla into the htdocs/xampp folder and make sure to safe/re-name the existing index.php from the default xammp install in that folder to index_old.php in case you need to reverse the process. Joomla should fire up as the default application if it is installed into htdocs/xammp/index.php. You might need to juggle a few things to get it into the correct location, but it should not be difficult to do.
Another option is to rename the existing htdocs/xammp/index.php, build another htdocs/xammp/index.php that performs a redirect to the Joomla folder??? |
|
|
|
Sep 2 2008, 07:40 AM
Post
#4
|
|
|
Newbie ![]() Group: Members Posts: 2 Joined: 1-September 08 Member No.: 67,213 |
I replied in the shoutbox too, try renaming the "xampp" folder to "xampp_old" i think it isnt needed and so can be deleted, but rename it first so its easier to recover. remember to place the "test" folder inside the "htdocs" folder too. Hi Guys, Thanks for helping. i did rename that htdocs tp htdocs_old and create another htdocs and i put that joomla inside that. Now evertime i type localhost is not joomla website show up but it show "IT WORKS!!!". i rename the index.html and php to old why the localhist not recognized my joomla php? can any one help me please? |
|
|
|
Sep 2 2008, 09:23 AM
Post
#5
|
|
|
|||[ n00b King ]||| ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 714 Joined: 20-June 07 From: Auckland Member No.: 45,102 myCENT:12.37 |
I have am running OSX so yeah I get apache and some other stuff included. only problem is its running old version of PHP and there is no gd lib support. There is no mysql myphpadmin etc. No problem right there's plenty of links out there pointing you to many ways of getting that stuff to work. After several attempts of getting each component to work (This is of course after some errors that I have encountered and probably forgotten about since the whole process was hell and I don't have time to try and understand LOL) anyway I get most of what i need working except for some reason I cant get GB lib to work with my version of apache and PHP5. So i give up and install xampp. I think it came with mysql too so yeah what the hell I installed it and now I have two apaches. The one from OSX and xampp. I can run either and if both are running they conflict obviously. The funny thing is now xampp runs and loads the sites I have on the orginal apache. I never had this in the past I remember it having its own directory and so I check and sure enough it does. except its not running folders in there. I tried moving / creating files in its htdocs but they dont load except the folders from my original setup. Weird aye. All in all my server is completely messed up. Following the security setup guidelines don't even work either its poor documentation from xampps part or my servers messed up because I'm not seeing what they are pointing out in the steps. I probably wont try fix it anytime soon because of time on top of that last week I got SQL injected LOL the guy was nice enough to point out my flaw in PHP code and not do any serious damage. So I have to say I'm still a complete newbie with xampp and among other things. I hope you find the solution and post it here. Peace Sone |
|
|
|
Sep 2 2008, 02:34 PM
Post
#6
|
|
|
Look around, what do you see? Incorrect. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 1,118 Joined: 12-April 06 From: Essex, UK Member No.: 21,719 myCENT:47.88 |
QUOTE Thanks for helping. i did rename that htdocs tp htdocs_old and create another htdocs and i put that joomla inside that. Now evertime i type localhost is not joomla website show up but it show "IT WORKS!!!". i rename the index.html and php to old why the localhist not recognized my joomla php? can any one help me please? you dont need to rename the HTDOCS folder. You need to rename the XAMPP folder that is inside the HTDOCS folder. Eg go to C:\XAMPP (or wherver you installed it. then go into the HTDOCS folder and if there is a folder inside that called XAMPP (so the file location is C:\XAMPP\HTDOCS\XAMPP) rename that last XAMPP folder. So now you have C:\XAMPP\HTDOCS and inside there you have XAMPP_OLD or something. Now try going to your localhost http://127.0.0.1 and see what happens. If you still get the "It works" Message you need to look for and rename, ANY "index" file or any other HTML file inside the HTDOCS folder. Basically when you type http://localhost or whatever your browser effectively goes to the folder xampp/htdocs so any file inside the HTDOCS folder is now on display. So clear out that folder. Just copy/cut it into a fodler on your desktop or something and delete the originals, so that the HTDOCS folder is now empty. And place your own index.htm file in there. And test again. |
|
|
|
Sep 3 2008, 07:00 AM
Post
#7
|
|
|
Newbie [Level 1] ![]() Group: [HOSTED] Posts: 15 Joined: 28-August 08 Member No.: 66,981 |
Try creating a sub-folder for your website, in the htdocs directory.
The, you can go to http://localhost/my_folder/ and see the stuff you have got there. |
|
|
|
Sep 9 2008, 07:02 AM
Post
#8
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 214 Joined: 22-April 08 From: Harare, Zimbabwe Member No.: 61,160 |
I dont encourage people to do what I did coz I was new to this thing. I just deleted the entire content of xampp/htdocs/ and placed my index.php and all the other folders in there. It worked the first time and I never had a problem ever since. I still type http://localhost/phpmyadmin and it works. I don't even know where it gets it but it doesn't fail me
|
|
|
|
![]() ![]() |
Similar Topics