Installation Guide

Follow these steps to deploy ThaiRIS on your server.

Server Preparation

  • Install Web Server (Apache or Nginx)
  • Install Database Server (MySQL or MariaDB)
  • Install PHP (Version 7.4 or 8.x recommended)
  • Install Database Management Tool (e.g., PHPMyAdmin) - Optional but recommended
1

Download & Extract

Download the source code package and unzip it into your web server's root directory.

/var/www/html/thairis/   (Example for Linux)
C:\xampp\htdocs\thairis\   (Example for XAMPP Windows)
2

Database Setup

Locate the thairis.sql file in the package folder.

Import this file into your MySQL/MariaDB database server. You can use PHPMyAdmin or command line.

3

Configuration

Edit the file connectdb.php to match your database credentials.

<?php
$host = "localhost";
$user = "your_db_username";
$password = "your_db_password";
$dbname = "thairis";
// ... rest of the code
?>
4

First Login

Access the system via your web browser: http://your-server-ip/thairis

Default Credentials:

Username: admin

Password: admin

After logging in, please create your own user accounts and setup procedure codes.

5

Post-Installation Cleanup

To clear test data (Orders & Reports) from the database, you can run these SQL commands:

DELETE FROM xray_request;
DELETE FROM xray_request_detail;
DELETE FROM xray_report;

Need Help?

Join our community for support and discussions.

Google Group ThaiRIS