PHP Installation on a Mac
I'm hoping to test this out on a Mac at school. I'm not a Mac person. However, my son-in-law recommended
MAMP. Try
http://www.mamp.info/en/index.html.
I'm pretty sure the steps will be very similar to the steps for WAMP.
PHP Installation on a PC for Vista
I do not have a machine with Vista on it to test installation of PHP. However, a student recommended
XAMPP. Try
http://www.apachefriends.org/en/xampp.html.
I'm pretty sure the steps will be very similar to the steps for WAMP that I have listed below.
PHP Installation on a PC for Windows XP
I could not get the steps for PHP installation in the book to work for me. I was able
to get these steps to work on a PC.
- Go to http://www.wampserver.com/en/
- Click on Download the latest release of Wampserver 2
- Notice the warning:
WARNING : do not try to install WampServer 2 over WAMP5. If WAMP5 is installed on your computer,
save your data, uninstall it and delete the WAMP5 directory before installing WampServer 2.
- Click on DOWNLOAD WampServer 2.0f
- Click Save File
- Find where you saved your file. If you can't remember, do a search for WampServer2.Of.exe
- Click on WampServer2.Of.exe, and click Run
- If you know you do not have Wamp5 installed, click yes
- Close your other applications and click Next
- Select I accept the agreement and click Next
- Keep or change the default folder and click Next
- Decide if you want a quick launch icon or a desktop icon and click Next
- Select Install
- Select your default browser and add your email if you choose and click Next
- Select Finish
- Using My Computer go to C:\wamp\www or the location where you installed wamp.
- Either rename or delete index.php
- This folder is now your server. Drag any pages here that you would need if you were
uploading to any server. (You do not need to change the properties on the txt files.
- Open your browser
- Enter http://localhost/ in the address bar
- Bookmark this location
- Save all of your pages in your wamp/www folder (or mamp/www folder).
- You must invoke the wamp server so that it shows to be online, enter http://localhost in your address bar, and
you should see the default index page with links to your pages saved in your www folder.
- You can now view any of your html or php pages locally.