SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Enthusiast tokindug's Avatar
    Join Date
    Sep 2004
    Location
    Japan
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question trying to troubleshoot apache on XP

    first i would like to say this is the first time i have tried to set up a server on my
    system, and the first time messing around with a server. i just need it to test php scripts.

    i installed apache 2 on my XP os using the .msi and it seemed to install fine.
    i then manually installed php5 and configured them both.

    when i typed in http://localhost in my browser i keep getting an "access denied"
    error. i have check the logs for errors and nothing shows. so i figured it might be my os's firewall, turned it off, same error. I turned it back on, now apache wont start, get a "no sockets available" error.

    any clues would be greatly appreciated.

  2. #2
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,645
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    tokindug,

    There are some very basic things in setting up Apache, PHP and MySQL. They're nicely encapsulated in the attached Word 97 doc file (a many-times warmed-over installation guide tailored to my needs) so my advice would be to print that file and follow along, step-by-step.

    Alternatively, search for "WAMP", a prepackaged Windows/Apache/MySQL/PHP installation that will do it all for you. Since they don't use "the latest and greatest" versions, I don't know how well that will suit you. I also don't know whether you can upgrade individual components of WAMP but someone should be able to answer that for you.

    Regards,

    DK
    Attached Files Attached Files
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator

  3. #3
    SitePoint Enthusiast tokindug's Avatar
    Join Date
    Sep 2004
    Location
    Japan
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i'll go through it and check it out! thanx!!

  4. #4
    SitePoint Enthusiast tokindug's Avatar
    Join Date
    Sep 2004
    Location
    Japan
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    finally went through the explanation you attached and had already done everything in
    there with regards to apache and php. the problem is i cant install mysql because
    something wont let me connect to the localhost.

    apache is up and running but when i type "localhost" in the browser or try to install
    mysql i keep getting a "cannot connect access denied" error. so i assume it has
    something to do with xp itself, i also checked xp's firewall and nothing appears to be affecting apache. anyone else ever have these problems? how do i solve them?

    TIA

  5. #5
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,645
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    tokindug,

    I would recommend that you uninstall it all and start over using the directions in the order specified. They worked for me for my own installations and on another couple of computers, too - tried and proven.

    I have ZoneAlarm setup on my XP box and it will pop-up a window asking whether to allow access. Since that's free and EVERYONE knows more about Internet security than MS, I'd recommend ZoneAlarm (the free version is fine).

    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator

  6. #6
    SitePoint Enthusiast tokindug's Avatar
    Join Date
    Sep 2004
    Location
    Japan
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks for your help DK! i found the problem. i had the config set at localhost:8080 .

    took me long enough to find it!

  7. #7
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,645
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    tokindug,

    Quote Originally Posted by tokindug
    thanks for your help DK! i found the problem. i had the config set at localhost:8080 .

    took me long enough to find it!
    Aw, those sneaky little buggars! Don't you just hate losing (ripping them out by the root) so much hair over something so small?

    Glad that you got it going okay now - you'll enjoy testing offline!

    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •