Upgrading apache 1.3 to 2.2 for intel imac

Discussion in 'Web Design and Development' started by fall3n, Sep 27, 2006.

  1. fall3n macrumors 6502

    Joined:
    Aug 17, 2006
    #1
    Ok, so after much hassle of dealing with other packages and all the crap I decided it's best to start fresh and install each thing (apache2, php 5, mysql 5) seperatly, however I'm having a hard time even getting apache2 to install. Anyone have a good tutorial that will work perfectly for an intel iMac (intel c2d is best if possible)?
     
  2. frankblundt macrumors 65816

    frankblundt

    Joined:
    Sep 19, 2005
    Location:
    South of the border
    #2
    There's a howto here which shows how to compile an intel version of Apache from the 2.2 source - i still haven't found a pre-compiled UB version.

    You might want to do a clean OS install first, if that's possible.
     
  3. fall3n thread starter macrumors 6502

    Joined:
    Aug 17, 2006
    #3
    yah, i found that one. I do it and get this errory "-bash: ./configure: No such file or directory"
     
  4. frankblundt macrumors 65816

    frankblundt

    Joined:
    Sep 19, 2005
    Location:
    South of the border
    #4
    even in the directory it extracted to?

    edit] actually... from further down on that page:

     
  5. frankblundt macrumors 65816

    frankblundt

    Joined:
    Sep 19, 2005
    Location:
    South of the border
    #5
    same guy has pages on MySQL and PHP for Intel Macs too

    and this (again from the comments section) implies that you can rereoute the Personal Web Sharing to manage Apache 2 - and presumably start and stop it automatically/manually from there:

    and if the make command doesn't work:
     
  6. fall3n thread starter macrumors 6502

    Joined:
    Aug 17, 2006
    #6
    hmmm, thanks for the tips. I just installed everything to work on apache 1.3 and it works perfectly. I think for tonight i'll leave it at that. I do want to get running on apache2 though. So basically from what I've been reading, if I just install apache2 into a seperate directory then I can presumably use both apache2 and apache1.3, correct?
     
  7. frankblundt macrumors 65816

    frankblundt

    Joined:
    Sep 19, 2005
    Location:
    South of the border
    #7
    you can't run both concurrently, or at least i don't think so, or if they did they'd have to listen on different ports.. but anyway, you can have them both on there certainly tho. I installed 2 and just turned off the built-in one, and it's happy as Larry
     
  8. fall3n thread starter macrumors 6502

    Joined:
    Aug 17, 2006
    #8
    ah, cool. you must have had to install corresponding versions of php 5 and mysql 5 to go with the apache2, yes?
     
  9. frankblundt macrumors 65816

    frankblundt

    Joined:
    Sep 19, 2005
    Location:
    South of the border
    #9
    bearing in mind that this wasn't an Intel Mac, yes. Apache 2.0.?, PHP 4.something at least and MySQL 4 i think - it was a long time since i did it, but apart from the fact that it took me ages to work out how to manage users in MySQL, (I've ended up using PhpMyAdmin, which makes it all a piece of cake) and a bit of fiddling to get Apache to talk to PHP, and a bit more to get the permissions and stuff working, and then OpenSSL and Apache Authentication... it was pretty straightforward :D

    I used Larry Ullman's books to pick up PHP and MySQL but for the rest I just kept arseing about with it, slowly adding various functions to a test site i had to play with, referring to PHP.net and Apache man pages or Google whenever I got stuck, and after 18 months, I'm reasonably comfortable with it all now.

    I'd like to try Apache 2.2 at some point, but i'm not in any rush. It seems to work pretty well now for most of what i want it to do

    and it's a great deal more flexible than the external hosting that i've ended up haveing to move a site to, which has been a nightmare - it's so much easier when you can see what's going on right there in front of you rather than doing everything through whatever abysmal interface tools the hosts provide you with.
     

Share This Page