ElmsPark Guides
PageMotor Setup Guide

Installing PageMotor on A2 Hosting

A plain-English walkthrough for A2 Hosting's cPanel. About ten minutes, and you do not need to be technical.

โฑ ~10 minutes ๐Ÿงฐ No coding ๐Ÿ–ฅ Works on all A2 Hosting shared plans
Before you start, have these ready: your A2 Hosting account login, the PageMotor files (the .zip you downloaded), and the name of your website. That is everything.

On a different cPanel host? Everything in this guide is standard cPanel, so the steps are nearly identical anywhere. We also have dedicated guides for GoDaddy and a different one for Vultr (a VPS, not shared hosting).

Use this guide with any AI assistant

Download it as a prompt file, paste it into Claude, ChatGPT, Gemini or any LLM, and it will walk you through every step interactively.

Download as LLM prompt

1Put PageMotor on your site

  1. Sign in to your A2 Hosting account at my.a2hosting.com, then go to My Accounts. Click Manage next to your hosting package, then click Login to Control Panel on the hosting dashboard to open cPanel.
A2 Hosting account dashboard showing hosting packages and Login to Control Panel button
The A2 Hosting dashboard. Click Login to Control Panel to open cPanel.
cPanel Tools page showing Email, File Manager and Databases sections
cPanel's Tools page. File Manager (under Files) and the MySQL Database Wizard (under Databases) are both here.
  1. In cPanel, click File Manager and open the folder for your site. For your main domain it is public_html. (Installing on a second, addon domain? Use the folder shown as that domain's Document Root under cPanel โ†’ Domains instead.)
  2. Click Upload, choose your PageMotor .zip, and wait for it to finish.
  3. Back in File Manager, right-click the uploaded zip and choose Extract. Then delete the zip file to keep things tidy.
cPanel File Manager showing public_html directory ready for upload
Navigate to public_html in File Manager, then click Upload to add your PageMotor .zip file.
When it is done you should see pagemotor.php, a lib folder, and a file called config-sample.php sitting in your site folder. (If extracting gave you a single folder called pagemotor instead, open it, select everything inside, choose Move and move it all into your site folder, then delete the empty folder and the zip.) Good. We use that sample file in step 3.

2Create your database

PageMotor keeps your content in a database. A2 Hosting's cPanel has a wizard that does the whole job in one pass.

  1. In cPanel, open the MySQL Database Wizard (under the Databases section).
MySQL Database Wizard Step 1 โ€” Create A Database
The MySQL Database Wizard. Enter a name for your database and click Next Step.
  1. Name the database. Pick something descriptive like pagemotor: A2 Hosting prefixes it automatically with your account name, so the full name shown at the end (e.g. accountname_pagemotor) is the one to copy.
  2. Create the database user. Let the password generator make a strong password, and write it down now.
  3. On the privileges screen, tick ALL PRIVILEGES and finish the wizard.
Copy the final database name and username exactly as cPanel shows them at the end of the wizard, including the account prefix. You will need those two plus the password in the next step.

3Fill in config.php

This is the file that connects PageMotor to the database you just made.

  1. In File Manager, find config-sample.php next to pagemotor.php.
  2. Right-click it and choose Rename. Rename it to exactly config.php. This rename is the step that switches PageMotor on.
  3. Right-click config.php and choose Edit.
  4. Put your three values into DB_NAME, DB_USER and DB_PASSWORD, exactly as the wizard showed them. Leave the rest as they are, then Save.

Here is what the database section of your config.php should look like once filled in. Edit the existing lines to match; you are changing three values, not pasting this block in:

// Database connection info:
define('DB_NAME', 'accountname_pagemotor');  // exact name from the wizard
define('DB_USER', 'accountname_pmuser');    // exact username from the wizard
define('DB_PASSWORD', 'your-strong-password');
define('DB_HOST', 'localhost');          // correct for A2 Hosting cPanel
define('DB_CHARSET', '');
define('DB_COLLATE', '');
define('DB_TABLE_PREFIX', 'pm_');
define('DB_FLAGS', '');
define('PM_HTML_CHARSET', '');
Two things to double-check: the file must be named exactly config.php (not config-sample.php, and not config.php.txt), and it must sit in the same folder as pagemotor.php.

4Finish in your browser

  1. Visit your website. On this first visit PageMotor quietly sets up its content for you.
  2. Now go to yoursite.com/admin/ and create your admin user.
That is it. You are in, and you can start building pages.

If something is not working

Open these only if you hit them. Each one is quick.

I see "HTTP ERROR 500" or a blank white page

most commonAlmost always a config.php problem. Check three things:

The log says "MySQLi Connection Error"

Good news, that means config.php is now working and PageMotor reached the database step. It just could not log in. Re-check, against the exact names the wizard showed:

The site is very slow on the first few page loads

A2 Hosting's Turbo plans use LiteSpeed with heavy caching. On the very first visit after installation, LiteSpeed may need a moment to warm its cache. This is normal, and subsequent loads are fast. If the site feels slow beyond the first few minutes, check that your plan's LiteSpeed cache is enabled in cPanel under LiteSpeed Web Cache Manager.

I cannot find config-sample.php

It ships inside the PageMotor download, right next to pagemotor.php. Two things to check: the files may have landed in a pagemotor subfolder when the zip extracted, in which case move everything in it up into your site folder (see the note in step 1); and if the folder is genuinely empty, the zip did not extract completely, so repeat step 1.

๐Ÿ“ง Will your site send email? Contact forms, sign-ups and password resets need a proper mail service or they land in spam. Follow the companion guide: Set up reliable email with Mailgun.