Installation on Web Hosting (cPanel)

Installation on Web Hosting (cPanel)

Posted on : 06 Dec, 2024    |    Last Update - 1 year ago   

How to Install the Web-Based Inventory Management System on cPanel

Deploying the Web-Based Inventory Management System on cPanel can be a seamless process with the right steps. Follow this detailed guide to ensure a successful installation.

Prerequisites

  • Ensure your cPanel hosting supports PHP versions 8.2.
  • Verify the following PHP extensions are enabled on your server:
    • fileinfo
    • gd
    • intl
    • mbstring
    • exif
    • mysqli
    • pdo_mysql
    • sodium
  • Access to your cPanel account and an active domain or subdomain.

Installation Steps

  1. Upload the project files:
    • Log in to your cPanel account.
    • Navigate to File Manager under the Files section.
    • Go to the root directory of your domain or subdomain (e.g., public_html).
    • Upload the extracted project files using the Upload option.
  2. Create a database:
    • Go to the MySQL Databases section in cPanel.
    • Create a new database and note its name.
    • Create a new database user and assign a strong password. Remember these credentials.
    • Assign the user to the database with All Privileges.
  3. Import the database:
    • Navigate to phpMyAdmin under the Databases section.
    • Select the newly created database.
    • Click on the Import tab, choose the provided SQL file, and click Go.
  4. Configure the application:
    • Edit the database configuration file in the project (open file, application/config/database.php).
    • Update the database name, username, and password to match the ones created in cPanel.
  5. Set PHP version and extensions:
    • Go to MultiPHP Manager in cPanel.
    • Select your domain or subdomain and set the PHP version to 8.2.
    • In Select PHP Version or PHP Extensions, enable the required extensions:
        6
    • Test the application:
      • Access your domain or subdomain via a web browser (e.g., http://yourdomain.com).
      • Verify that the application loads correctly and all features are functional.

Note

Ensure all prerequisites are met to avoid compatibility issues. If you encounter errors, refer to your cPanel hosting provider's documentation or contact their support team.


Cara Pemasangan Sistem Inventarisasi Barang Berbasis Web di cPanel

Deploy Sistem Inventarisasi Barang Berbasis Web di cPanel dengan mengikuti panduan rinci berikut untuk memastikan instalasi berjalan lancar.

Prasyarat

  • Pastikan hosting cPanel Anda mendukung versi PHP 8.2.
  • Periksa apakah ekstensi PHP berikut telah diaktifkan:
    • fileinfo
    • gd
    • intl
    • mbstring
    • exif
    • mysqli
    • pdo_mysql
    • sodium
  • Akses ke akun cPanel Anda dan domain atau subdomain aktif.

Langkah-Langkah Instalasi

  1. Unggah file proyek:
    • Masuk ke akun cPanel Anda.
    • Pilih File Manager di bagian Files.
    • Buka direktori root dari domain atau subdomain Anda (misalnya, public_html).
    • Unggah file proyek yang telah diekstrak dengan memilih opsi Upload.
  2. Buat database:
    • Pilih MySQL Databases di cPanel.
    • Buat database baru dan catat namanya.
    • Buat pengguna database baru dan masukkan password yang kuat. Simpan kredensial ini.
    • Hubungkan pengguna ke database dengan memberikan All Privileges.
  3. Import database:
    • Pilih phpMyAdmin di bagian Databases.
    • Pilih database yang baru dibuat.
    • Pilih tab Import, unggah file SQL yang disediakan, lalu klik Go.
  4. Konfigurasi aplikasi:
    • Edit file konfigurasi database di proyek (buka file, application/config/database.php).
    • Perbarui nama database, username, dan password sesuai dengan yang dibuat di cPanel.
  5. Atur versi PHP dan ekstensi:
    • Pilih MultiPHP Manager di cPanel.
    • Pilih domain atau subdomain Anda, lalu atur versi PHP ke 8.2.
    • Di bagian Select PHP Version atau PHP Extensions, aktifkan ekstensi yang dibutuhkan:
      • fileinfo, gd, intl, mbstring, exif, mysqli, pdo_mysql, dan sodium.
  6. Uji aplikasi:
    • Akses domain atau subdomain Anda melalui browser (misalnya, http://yourdomain.com).
    • Pastikan aplikasi berjalan dengan baik dan semua fitur berfungsi.

Catatan

Pastikan semua prasyarat terpenuhi untuk menghindari masalah kompatibilitas. Jika Anda menemukan kesalahan, lihat dokumentasi penyedia hosting cPanel Anda atau hubungi tim dukungan mereka.

Still No Luck ? Contact via WhatsApp

Please do not delete the message template!

Open WhatsApp