Top

Installation

This page has all the information you will need to set up your project. Here, you will get to know what the things are that you will need to install before you start working on your project. Make sure you don't miss a single step.

Prerequisites

Please follow these steps to setup and configure all prerequisites: Before you begin, make sure your development environment includes PHP and an PHPMyAdmin.(XAMPP,WAMPP or Apachi Tomcate)

You will need the PHP installation on your server.

For Windows

Step 1: installed PHP

Make sure the newest version is installed.

https://www.php.net/downloads.php

For Linux

To Install PHP, first Apache2 is installed on your serve.

Step 1: Update your system

Update your system by executing the below given command in your terminal.

sudo apt-get update

Step 2: Install PHP

Although you already have PHP installed in your system, as it is included while installing any linux based os, but if it is not included run the following command to install PHP.

$ sudo apt install -y php

As most web apps use some PHP extensions, install the most common ones using the command below.

$ sudo apt install -y php-{common,mysql,xml,xmlrpc,curl,gd,imagick,cli,dev,imap,mbstring,opcache,soap,zip,intl}
                                

Restart Apache's webserver to load PHP.

$ sudo systemctl restart apache2
                                

Check the version of PHP through this command:

php -v

Setting Up Cuba

Now that you have installed PHP in your system its time to setup the cuba theme and start creating you wonderful website.


Step 1: Check PHP Version

Make Sure that PHP is installed in your system by running this command

php --version

Be sure to install php first if you don't have it installed on serve by running this command.


Example, Open the link http://localhost/cuba/index.php in your browser to view the project.