# Installation Guide This guide will walk you through the process of installing the application on your own web hosting. ## 1. Server Requirements Before you begin, ensure your hosting environment meets the following requirements: * **Web Server:** Apache with `mod_rewrite` enabled. * **PHP:** Version 7.4 or higher. * **Database:** MySQL or MariaDB. * **PHP Extensions:** PDO (specifically `pdo_mysql`). ## 2. Installation Steps Follow these steps to get the application up and running: ### Step 1: Upload Files Upload all the files and folders from this project to the root directory of your web server (e.g., `public_html`, `www`, `htdocs`). ### Step 2: Create a Database Using your hosting control panel (like cPanel or phpMyAdmin), create a new database and a database user. Grant the user full privileges to the database. Make a note of the following: * Database Name * Database Username * Database Password * Database Host (usually `localhost` or `127.0.0.1`) ### Step 3: Configure the Database Connection Open the `db/config.php` file and update the database credentials with the ones you created in the previous step. ```php PDO::ERRMODE_EXCEPTION, PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC, ]); } return $pdo; } ``` ### Step 4: Run the Setup Script In your web browser, navigate to `http://your-domain.com/db/setup.php`. This will create the necessary tables in your database. You should see a success message. ### Step 5: Secure Your Installation For security reasons, it is highly recommended that you **delete the `db/setup.php` file** after you have run it. ### Step 6: Log In to the Admin Area You can now log in to the admin area at `http://your-domain.com/admin.php`. The default credentials are: * **Username:** `admin` * **Password:** `password` ### Step 7: Change the Admin Password Immediately after logging in, you should change the default admin password. You can do this by navigating to the "Change Password" section in the admin area. You can also change the admin username and password by editing the `admin/config.php` file: ```php