Versions Compared

Key

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

...

  1. Requires a Unix or Unix like operating system
  2. Requires a web server (e.g apache web server) with PHP 5.4 or higher. Make sure have enabled mod_rewrite module in httpd.conf file and enable PHP SOAP extension
  3. Install Composer
  4. MYSQL database installation
  5. MCrypt PHP extension

Installations

 Starting from a fresh Ubunutu 12.04 installation

Update the ubuntu package manager

...

  1. sudo apt-get update

  2. sudo apt-get upgrade 

Install Apache 

  1. sudo apt-get install apache2

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

You can check the installed versions of apache and php using apache2 -v and php -v commandsInstalling

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


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


Open the default vhost config file:

...