PHP, MySQL and Apache

Discussion in 'Web Design and Development' started by rph105, Nov 28, 2007.

  1. rph105 macrumors 6502

    rph105

    Joined:
    Jul 21, 2007
    #1
    ok got these tutorial videos on essential php, so im tryna learn it, only problem is, they are using panther 10.3, i am using leopard 10.5, so i dnt know how to install php, mySQL and apache server for leopard. i dnt even know how to test if its working, if anyone could help, please, it would be appreciated

    Thanks in advance
     
  2. iKernel macrumors newbie

    Joined:
    Nov 28, 2007
    #2
    PHP5 & apache2.0 web server are by default installed on the MAC 10.5 Leopard. You can test it typing in the link http://localhost/ in ur web browser & it will show you the apache test page. For PHP u need to create one file test.php & type in it the code given below:
    <?php
    phpinfo();
    ?>
    & save it in the path given on the apeche test page. You can test whether php is insatalled using link http://localhost/test.php & it will give u the info about php version installed & details about it.

    MySQL - you should insatall it by downloading the appropriate installer for ur system from the website mysql.com & configure it according to the instructions given there.

    You can also check this http://entropy.ch/software/macosx/php
     
  3. Photomax macrumors regular

    Joined:
    Nov 26, 2007
    Location:
    Seattle
    #4
    Chapter two of the book "Blog Design Solutions" does a great job of explaining how to create a local test environment on your Mac.

    Some folks have good luck with Mamp (combined PHPP and SQL) and Locomotive (combined Ruby install) but depending on what you are doing its better to download the fresh components separately.
     

Share This Page