Hello and welcome to our community! Is this your first visit?
Register

Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: apache, php, MySQL

  1. #1
    Mac User Cesar's Avatar
    Join Date
    Jul 2005
    Location
    Eye Republic
    Posts
    74

    Default apache, php, MySQL

    I belong to a computer class wherein we are required to use apache, php and MySQL. Our teacher uses Windows based programs, however he is not adept with Macs.

    I know that Mac OSX has apache in it, but I'm not sure about php and MySQL.

    In our class, 3 of us use macs but we cannot use our laptops because we do not know how to use php and MySQL in them

    To the moderators please help.

  2. # ADS
    Google Adsense

    Join Date
    Always
    Location
    Advertising world
    Posts
    Many




     

  3. #2
    hannibal's Avatar
    Join Date
    Apr 2004
    Posts
    3,383

    Default Re: apache, php, MySQL

    This might help.

    Last edited by hannibal; 08-01-2006 at 09:06 PM.

  4. #3
    Mac Lover coffeelover's Avatar
    Join Date
    Apr 2004
    Age
    37
    Posts
    429

    Default Re: apache, php, MySQL

    In my case, I only had to install mysql, as both apache and php were both already came with my OS X (tiger) installation. I downloaded mysql from www.mysql.org.

    Apache's default document directory is in ~www/Documents. Just remember to enable Personal Web Sharing in System Preferences -> Sharing.

  5. #4
    Mac Lover marcgalang's Avatar
    Join Date
    May 2004
    Location
    Turku, Finland
    Age
    28
    Posts
    203

    Default Re: apache, php, MySQL

    Apache and PHP is installed default on Mac OSX. Just download mysql either from mysql.org or apple download section. I prefer apple download section, it has a nice mysql installer package.

    You might also want to further configure apache and php since the default settings doesnt have php module included (I think) and the user directory is disabled. Just edit /etc/httpd/httpd.conf using your any text editor. It's heavily commented, so configuring it wont be that hard.

    goodluck!

  6. #5
    Mac User Cesar's Avatar
    Join Date
    Jul 2005
    Location
    Eye Republic
    Posts
    74

    Default Re: apache, php, MySQL

    Thank you for the tips, will try them all. Actually, I have downloaded the MAMP before I posted yesterday and I'm still configuring it (or how to use it)

    Basic usage pa lang naman kami sa class nitong apache, php at MySQL, ayaw lang namin mapahiya sa mga windows users.

    Di pa nakatulong yung teacher namin na walang alam sa mac, apologetic naman siya. Aaralin daw muna niya.

    Thanks again.

  7. #6
    Mac Lover markcas's Avatar
    Join Date
    Dec 2005
    Age
    26
    Posts
    143

    Default Re: apache, php, MySQL

    Apache and PHP that came with OS X are waaaay outdated. It's still useable but it's better if you start using apache2/php5.

    You can try following the steps here (hope you're comfortable with terminal):
    http://www.phpmac.com/articles.php?view=252

    There's also a link at the bottom of the tutorial to make apache2 the default server for OS X so you could turn it on and off through System Preferences. I recommed doing that as well.

  8. #7
    Mac Lover artagnan5's Avatar
    Join Date
    Jul 2005
    Location
    Manila
    Age
    29
    Posts
    296

    Default Re: apache, php, MySQL

    once you install MAMP you dont have to configure anything... just test it using your browser typing "localhost:8080" then youre set

    very useful on my MAC am a PC user before
    Canon 7D, Macbook Pro 15", iPhone 3G, Dlink Mifi, iPad (Soon)... :D
    http://www.jeffreyching.com
    http://www.flickr.com/photos/jeffreyching/

  9. #8
    viceer
    Guest viceer's Avatar

    Default Re: apache, php, MySQL

    mySQL will not start... I am using MAMP 1.5b1 running on Leopard. Tried to install the latest verion but still same problem...

  10. #9
    Mac Fanatic alistair's Avatar
    Join Date
    Feb 2005
    Location
    Makati
    Age
    38
    Posts
    928

    Cool Re: apache, php, MySQL

    Quote Originally Posted by markcas View Post
    Apache and PHP that came with OS X are waaaay outdated. It's still useable but it's better if you start using apache2/php5.
    I agree.
    You can try following the steps here (hope you're comfortable with terminal):
    http://www.phpmac.com/articles.php?view=252
    Or, you could use MacPorts. Then, it's all (theoretically) a matter of:
    Code:
    sudo port install apache2
    sudo port install mysql
    sudo port install php5 +mysql +apache2
    I recently got Drupal 5 running on PHP 5, PostgreSQL 8.2 and Apache2 running on my laptop just like that.
    [ "Green Stabofen" avatar by Jesus Pernas ]

  11. #10
    Newbie mariowarner's Avatar
    Join Date
    Jul 2006
    Location
    daet, camarines norte, philippines
    Age
    34
    Posts
    26

    Default Re: apache, php, MySQL

    download entropy's php package at http://www.entropy.ch/software/macosx/php/
    mysql can be found at: http://dev.mysql.com/downloads/mysql...tml#macosx-dmg

    if you don't mind me asking, where are you studying and what's your course?

    thanks.

  12.   



 
Page 1 of 3 123 LastLast

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
  •