Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Authentication Required when accessing Localhost

- - - - -

  • Please log in to reply
2 replies to this topic

#1
Minklet

Minklet
  • Member
  • 2 posts
  • Joined 30-January 08
Hi, firstly my apologies for asking what is probably a relatively straightforward question. However, I really have looked for the solution for the best part of 20 hours this week.

Ive finally managed to get mySQL, Apache and PHP working, after much shouting and crashing. However, when I try to access http://localhost I get an 'Authentication Required' box asking for username and password. I havent set anything like this on this machine and deliberately left all password fields blank for later editing, in case such a problem.

I really don't know what to do...

If i do have to uninstall all three, what files should I delete after the uninstall process? Obviously I dont want to reinstall with the same configuration still on the machine. I would rather not have to do this though, so any other solutions would be better.


Any help you can give me would be greatly appreciated. I'm really am getting quite desperate now, just want to be able to build a site.


Thanks

EDIT: Should also add that when I try to access a specific file i.e. http://localhost/test.php It tells me that it cannot find.

Edited by Minklet, 30 January 2008 - 08:11 AM.



How to remove advertisement from MSFN

#2
Minklet

Minklet
  • Member
  • 2 posts
  • Joined 30-January 08
For f***s sake this is the most ludicrously labyrinthine installation of a program i've ever imagined. Ive managed to get past the username and password by adding my listening port to the localhost URL. However, despite being able to use the php info script, it now wont read any other php.

This is a joke, ive been trying to install this for 2 weeks now. How can it possibly be this complex when its a prerequisite to install this if you all you want to do is LEARN.

I found a patch on the apachelounge forum because apparently the dll for php5 supplied with the zip does not work with apache 2.2 Whilst ignoring that this is absolutely rediculous in itself, i followed the instructions to find that the replacement is actually php5apache2.dll and so wont work as it needs to be php5apache2_2.dll Obviously renaming hasnt worked, when i tried to load it apache crashed.

Can one of you please help? I know its irritating having to talk people who are new to things through, but ive exhausted all my options now. I cant think of anything else to do and i wouldnt ask on here if i had an alternative. I cant afford to pay someone to teach me, I don;t have a tutor to go to and all the books and internet resources contradict each other or are less than unhelpful.

#3
tain

tain

    Cyber Ops

  • Super Moderator
  • 3,683 posts
  • Joined 24-September 05
  • OS:none specified
  • Country: Country Flag

Donator

Is it possible that there is another server responding to your local port 80 requests?

If all you want to do is learn then you might want to play around with a pre-built LAMP setup. Makes it much easier. Try xampp.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users