How to install ?
Installation Steps
-
Create a MySQL Database:
Set up a new MySQL database and user with full permissions for that database. -
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
orlocalhost
.
- If MySQL runs on the same server as your website, the host name is usually
-
Configure the Script:
Open theking-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'); -
Upload King Media Script Files:
Upload all King Media Script files (including.htaccess
) to your web server. -
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/
- If installed at the root:
-
Complete the Installation:
Follow the on-screen instructions to set up your database and administrator account. -
Final Step:
Set your site URL in the admin panel:
Admin Panel > General > Site URL