Installing MAMP and CodeIgniter on Mountain Lion

Installing MAMP:

  1. Download MAMP at  http://mamp.info/en/. Once the .dmg file is downloaded, double click on it if it did not unzip itself. Than drag the MAMP folder into Applications folder.
  2. From Application folder, double click MAMP program and click “Start Servers”. At this point the web server, database server and application server has been activated on your Mac.Screen Shot 2013-07-18 at 1.47.28 PM
  3. If you click Open Start Page, MAMP will show you the MAMP Page on your local webserver (http://localhost:8888/MAMP)
  4. For more details on installing and MAMP setting up, read more here.

Installing CodeIgniter:

  1. Download CodeIgniter here.
  2. Unzip CodeIgniter by double-clicking it.
  3. Rename CodeIgniter folder into “ci” (this is the common practice).
  4. Copy the folder to the PHP and mySQL enabled server, which is, in this case is in Applications/MAMP/htdocs
  5. Configure system/application/config/config.php by adding $config[‘base_url’] = “http://localhost/ci/”;
  6. Go to http://localhost/ci/Screen Shot 2013-07-18 at 1.47.09 PM
  7. More about getting started with CodeIgniter here
Advertisements