Before you start, you'll need:

  • CPanel account (User and Password)
  • Database (Sql)
  • Source code (Zip/Tar)

If you do not know how to backup, please refer an example at http://knowledgebase.younetco.com/gettingstarted/article/article_915 (Backup Database & Source code via SSH)

Instructions

CPanel Interface

1. Create Database name and Database account

Ignore either one or both if they exist

a. Database name

On main interface of CPanel >> DATABASES >> MySQL & Databases

Create new Database, its prefix is beforehand so just need to enter remaining section as phpfox or other name

Ex: its prefix text is "cpanel", Database name is "cpanel_phpfox"

b. Database account

On the same page of "Database name" 

Add new User >> enter sufix as phpfox or other name

Ex: its prefix text is "cpanel", Database UserName is "cpanel_phpfox"

Enter Password of Database account

c. Add User To Database

This is final step, please choose Database name and Database account above >> Add >> tick to checkbox "ALL PRIVILEGES" >> Make Changes

Access to phpMyAdmin to import Database

2. Copy source code into server

You can access via FTP account or CPanel account >> File Manager

Copy source code into it on the original directory of site or sub-domain for sub directory (based on server configuration, perhaps it's different a bit)

Right mouse >> Extract Zip file

3. Configure Database & Source at PF.Base/file/settings/server.sett.php

Great! You're complete now.

September 17, 2018
Category: Developers