SMS Gateway Admin Guide Help

Installation

Upload SMS Gateway files

  1. Login to cPanel → Open File Manager.

  2. Navigate to the public_html directory.

  3. Upload the ZIP file you downloaded from CodeCanyon.

  4. Extract the ZIP file inside public_html.

Set the Domain Root to the public Directory (Optional)

  1. In cPanel, go to Domains → Manage your domain.

  2. Find the Document Root setting and change it to:

    /public_html/public

    Save the settings.

  3. Remove any existing .htaccess file in the public_html directory to avoid conflicts.

Create a Database and User

Follow the steps shown in the video below to create a database and user for the SMS Gateway app.

Run the Installation Script

After uploading the files and setting up the database, follow these steps to complete the installation using the built-in installer.

Open the Installer

  • In your browser, go to:

    yourdomain.com/install
  • This will launch the installation wizard.

1. Requirements

The installer will check if your server meets the required configurations. If any of the requirements are not met, it won't let you continue to the next step.

How to Fix Issues?

  • If PHP is outdated: Update it in cPanel → Select PHP Version.

  • If an extension is missing: Enable it in cPanel → PHP Extensions.

  • Click "Refresh" to recheck after making changes.

Once all requirements are met, click Next.

2. File/Folder Permissions

The installer will check if certain files and folders are writable.

How to Fix Issues?

  1. Open File Manager in cPanel.

  2. Right-click on the file or folder having the issue.

  3. Set permissions to 755 for folder and 644 for files (or 777 if required).

  4. Click "Refresh" in the installer.

Once all permissions are correct, click Next.

3. Database Setup

You'll need to enter your database credentials.

What to Enter?

  • Database Host: Usually localhost.

  • Database Name: The name of the database you created.

  • Database Username: The database user you assigned.

  • Database Password: The password you set for the database user.

How to Fix Issues?

  • If the connection fails, double-check that the database name, username, and password match what you created in cPanel.

Once correct, click Next.

4. Admin Setup

Create an admin account to manage the web app.

Fields to Fill:

  • Admin Name: Enter a name.

  • Admin Email: Enter an email (used for login).

  • Password: Set a secure password.

Important:

  • Use a valid email (you might need it for password recovery).

  • Use a strong password to secure your admin account.

Click Next after filling in the details.

5. Final Setup (Cron Job Configuration)

The installer will ask you to set up a cron job to ensure scheduled tasks run automatically. This is necessary for the app to work properly.

How to Set Up Cron Jobs?

  1. Open cPanel → Cron Jobs.

  2. Under Add a New Cron Job, set:

    • Minute: *

    • Hour: *

    • Day: *

    • Month: *

    • Weekday: *

  3. In the Command box, enter the command shown in this step.

  4. Click Add Cron Job.

Once set up, click Finish in the installer.

6. Installation Complete! 🎉

  • The system will finalize the installation.

  • You will be redirected to the login page.

  • Login with the admin email and password you set earlier.

Now, your SMS Gateway web app is ready! 🚀

15 December 2025