Skip to main content

Installation

Installation

Section explains on how to install Lighthouse LMS Lighthouse application.

Lighthouse LMS comes with an installation utility to simplify the installation. First make sure you have the basic prerequisite for the application.

  1. Web server with PHP 8 (Apache, Nginx etc)
  2. MySQL Database (Will support other dbs such as postgres - not tested)

Step 1: Copy the files

When you purchase the application you will get a zip file. Extract the content of the zip file into the root of the website directory. You can also use a directory inside the webserver if you plan to run on a subdirectory but our recommendation is to use the root directory. If you don't want to have a separate domain for this you can create a subdomain.

Step 2: Create database

Create a database and user in your database. If you are using shared web hosting with MySQL, you will get phpMyAdmin to manage the database. If you have VPS you may manage your database using the command line. Once created, note the database server URL, database name, username, and password. This is required in the next step.

Step 3: Installation - Wizard

Once you have copied the code to your web server root directory (step 1), visit the following path in the web browser:

http://your-website.com/install

You will see the installation page.

Enter the hostname of the database server. This will be localhost if you run the database and web server on the same machine. Also enter the username, password, and database name. Wait for the installation to complete. Once done, you will see a confirmation screen.

Step 4: Installation - Manual

For manual installation:

  1. Import the sqlcommand.sql file located at /install/asset/sqlcommand.sql into the database to create the tables.
  2. Open the application/config/config.php file and update the base_url.
  3. Open the application/config/database.php and enter the database connection details.

After completing these settings, visit the home page and login with demo credentials.

Disable Demo Mode

You can disable the demo mode by updating the configuration:

IS_DEMO_MODE = false;

in application/config/custom_constants.php.

Also update this value in the config table in the database, otherwise it may be overridden when saving web settings from the admin dashboard.