Skip to main content

How to install ?

Installation Steps

  1. Create a MySQL Database:
    Set up a new MySQL database and user with full permissions for that database.

  2. Note Down MySQL Details:
    Record your MySQL username, password, database name, and server host name.

    • If MySQL runs on the same server as your website, the host name is usually 127.0.0.1 or localhost.
  3. Configure the Script:
    Open the king-config.php file in a text editor (such as Notepad or VS Code).
    Enter your MySQL details at the top of the file and save it:

    define('QA_MYSQL_HOSTNAME', '127.0.0.1');
    define('QA_MYSQL_USERNAME', 'your-mysql-username');
    define('QA_MYSQL_PASSWORD', 'your-mysql-password');
    define('QA_MYSQL_DATABASE', 'your-mysql-db-name');
  4. Upload King Media Script Files:
    Upload all King Media Script files (including .htaccess) to your web server.

  5. Access King Media in Your Browser:

    • If installed at the root: http://www.mysite.com/
    • If installed in a subdirectory: http://www.mysite.com/king/
  6. Complete the Installation:
    Follow the on-screen instructions to set up your database and administrator account.

  7. Final Step:
    Set your site URL in the admin panel:
    Admin Panel > General > Site URL