Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

rph105

macrumors 6502
Original poster
Jul 21, 2007
266
0
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
 
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
 
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.