Apache Problem

Discussion in 'Web Design and Development' started by Not Available, Jul 29, 2009.

  1. Joined:
    Jun 30, 2009
    #1
    Well... I might have F*CKED Apache. I know it's not working because I get the PHP code displayed on my local web page. I tried editing httpd.conf, but apparently, it's empty. So what on Earth do I do? I can't seem to be able to reinstall Apache. It's... way above my understanding. I've downloaded the package (and I feel like a genius for the fact that I've got through the retarded web site they have) for Unix, but how do I make it work? I need to replace the old files with these ones, so that my Apache is there again.

    Also, how do I use MySQL? I've installed it, but no one bothered writing a decent Guide for it (the official one is bi*ching about double-clicking the *.pkg, as if I were retarded, or something, but when they should explain the hard thing, they send you to phpMyAdmin -- and they send you back to Sun. Idiots...). Deh, open source... What I need to do, basically, is get a username and password for localhost. I want to go through this book as if I hadn't had an Internet connection).

    In fact, I'd like to remove the current installation I have of Apache, MySQL and PHP, and get a well-written guide on how to install each of them.

    Thanks a lot in advance, my brain looks like a war zone...
     
  2. nuxx macrumors member

    nuxx

    Joined:
    Jun 5, 2007
    Location:
    Tokyo
    #2
    To be honest, if you're trying to set up a local server environment on your Mac for development I would suggest you use either MAMP, XAMPP or even Bitnami.

    These install versions of Apache, MySQL and PHP onto your Mac which are independent of the versions shipped with OS X.
     
  3. Not Available thread starter Guest

    Joined:
    Jun 30, 2009
    #3
    And how do I use it? I've had MAMP installed, but even if I start all services from the Widget it came from and place my things into the htdocs folder of the application, it still won't work.
     
  4. nuxx macrumors member

    nuxx

    Joined:
    Jun 5, 2007
    Location:
    Tokyo
    #4
    Difficult to know what to suggest without specific details, but you can easily test your MAMP install by starting the Apache and MySQL servers in MAMP and then pointing your browser to http://localhost:8888/MAMP/ (providing your using the default Apache port 8888 with MAMP) or simply click the 'Open start page' button in MAMP.

    If all's well you'll see the MAMP start page where you can access phpMyAdmin to administer your MySQL databases.

    If you're placing your own site folder/files in /Applications/MAMP/htdocs/ you should point your browser to http://localhost:8888/mysite/ for example.
     

Share This Page