PHP/MySQL Problem

Discussion in 'OS X and OS X Apps' started by javalite, Apr 9, 2008.

  1. javalite

    javalite New Member

    Joined:
    Jul 28, 2007
    Messages:
    20
    Likes Received:
    0
    Location:
    Taguig City
    Good day!

    I am currently having this problem with PHP's on my macbook. I can't seem to run it. The Apache server is operational. I tried some instructions on the net about uncommenting the PHP codes of Apache thru terminal but to no progress. Even the tech support at Apple doesn't know. (Worst part, its their first time hearing about PHP.:( )

    And I've installed MySQL, too, but when I input commands thru Terminal, it says that MySQL isn't found. I am having such a hard time with these two, this because I am learning DB administration thru Mac. (The price of having PC users as blockmates, profs and supervisors.:( )

    I hope anyone can help me. Thanks in advance!:rolleyes:
     
  2. briareos

    briareos Member

    Joined:
    Dec 19, 2006
    Messages:
    496
    Likes Received:
    0
    Try using MAMP instead.
    www.mamp.info

    But if you really want to manually install PHP and MySQL, your problems will be isolated within php.ini and httpd.conf. Now about MySQL, it might be a problem with the path. Try looking for the directory it is installed and invoke the program from there.
    Treat your Mac like a Linux box. When you go to the Terminal, it's not much different from one. Your PC friends might be able to help you then.
     
  3. iora

    iora Member

    Joined:
    Mar 3, 2007
    Messages:
    420
    Likes Received:
    0
    Location:
    NCR
  4. briareos

    briareos Member

    Joined:
    Dec 19, 2006
    Messages:
    496
    Likes Received:
    0
  5. javalite

    javalite New Member

    Joined:
    Jul 28, 2007
    Messages:
    20
    Likes Received:
    0
    Location:
    Taguig City
    thanks for all the info's. These will be great for my internship problem. I'll try to look them up today.:rolleyes:

    Before that, if I use MAMP, won't that overwrite anything in the Apache terminal file? (The ones with all them httd.conf and phps.ini?)

    Should I re-comment them before I execute MAMP?
     

Share This Page

  • About PhilMUG

    Since the mid-1990s, PhilMUG (formerly the Philippine Macintosh Users Group) has grown to become not just the Philippines’ but one of the world’s foremost Apple user groups. Our online community brings together thousands of members from the Philippines and around the world for the latest news and discussions covering all Apple products and related hardware and software. Anyone can join PhilMUG, from newbies to experts, subject to our membership rules and guidelines.
  • Like us on Facebook

  • Buy us a beer!

    The staff works very hard to make sure that PhilMUG is running 24/7. Care to buy us a beer or help out with our hosting fees? We'd really appreciate it!

    Donate to us!