Php installing MAMP on Mac Os

The Steps to install MAMP are as below.

Download software : http://mamp.info/en/Click Download Now button. (MAMP is free, but the download also includes the commercial product, MAMP Pro, which makes administering MAMP easier.
MAMP Pro is not needed for this tutorial, and you don’t have to install it either.)
Unzip the file and then, License Agreement will appear; click Agree.

Snap 1: Installing MAMP is just a process of downloading a 
 file, unzip it, and dragging the MAMP folder into your Applications folder.



Now, you need to start the Web server. 

TIP: Since you’ll frequently access the MAMP program to turn the Web
 server on and off, it’s a good idea to add it to the OS X Dock.

In Applications->MAMP, start the MAMP program, and then click the Start Servers button if a red light appears to the left of either Apache or MySQL (see Snap2).

Snap 2: When the servers are running, a green button to the left of 
Apache Server and MySQL Server lights up. To stop the servers, click the Stop
 Servers button. A red light next to either server indicates that the 
server is turned off.

Snap 3: After installing MAMP , set Apache and MySQL to
 their normal port settings of 80 and 3306. You can’t do this setting, 
however, if you don’t have administrator privileges for your computer. In that 
case, you have to stick to the 8888 and 8889 port settings that MAMP ships 
with. When you visit a Web page running on your local server, you have to add 
the port, like this: http://localhost:8888/my_cool_page.php.


 Snap 4: The MAMP home page gives you access to a few useful tools, 
like phpMyAdmin, which you’ll use for working with MySQL databases. You 
can always go to the MAMP homepage by typing its URL: 
http://localhost/MAMP; or, in the MAMP controller program, clicking the Open 
Start Page button (Snap 2).




No comments: