Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Installing PGA in Ubuntu OS

...

Prerequisites 

 

The following guide gives a sample installation starting from a fresh Ubunutu 12.04 installation. 

  1. Update the ubuntu package manager
    1. sudo apt-get update

    2. sudo apt-get upgrade


  2. Install Apache 

    1. sudo apt-get install apache2


  3. Install PHP 5.4

    1. sudo apt-get install python-software-properties

    2. sudo add-apt-repository ppa:ondrej/php5-oldstable

    3. sudo apt-get update

    4. sudo apt-cache policy php5

    5. sudo apt-get install php5


  4. You can check the installed versions of apache and php using following commands

    1. apache2 -v 

    2. php -v


  5. Install the necessary php extensions

    1. sudo apt-get install unzip

    2. sudo apt-get install curl

    3. sudo apt-get install openssl

    4. sudo apt-get install php5-mcrypt

    5. sudo apt-get install php-soap

 

  1. Install Composer System Wide

...

    1. curl -sS https://getcomposer.org/installer | php

    2. sudo mv composer.phar /usr/local/bin/composer

 

Activate mod_rewrite

 

  1. sudo a2enmod rewrite

  2. sudo service apache2 restart

...

Installing PGA in MAC OS

Installing Prerequisites

  1. To install MCrypt for PHP on MAC please follow the steps in http://coolestguidesontheplanet.com/install-mcrypt-php-mac-osx-10-9-mavericks-development-server/
  2. Once above is completed follow the steps given in http://sangatpedas.com/20140219/installing-laravel-osx-mavericks/ for
    1. Configuring Apache
    2. Installing Composer 

Download and Configure PGA

...