How to Manually Upload a Script on cPanel

✅ Step 1: Log in to Your cPanel

Visit: yourdomain.com/cpanel

Enter your username and password (provided by your hosting provider)

✅ Step 2: Open File Manager

In the cPanel dashboard, go to File Manager

Navigate to the folder where you want to upload the script, usually:

✅ Step 3: Upload Your Script Files

Click on “Upload” in the top menu

Select your .zip file or individual script files (like index.php, config.php, etc.)

Once the upload is complete, go back to File Manager

✅ Step 4: Extract the ZIP (if applicable)

If you uploaded a zipped script:

Right-click the .zip file

Click “Extract”

Choose the destination folder (usually public_html/)

After extracting, you can delete the original zip file

Create Database

If the script uses a MySQL database:

Go back to cPanel > MySQL® Databases

Create a new database

Create a new MySQL user, and assign the user to the database

Note down:

Database name

Username

Password

✅ Step 6: Configure the Script

Open the script’s folder and look for a file like:

config.php

.env

settings.php

Edit it using the File Manager’s Edit tool

Enter your database details, site URL, etc.

✅ Step 7: Run the Installation (If Needed)

Some scripts have a web-based installer. You can access it like this:

bash

CopyEdit

yourdomain.com/install

or

arduino

CopyEdit

yourdomain.com/setup

Follow the on-screen steps to finish the setup.

✅ Step 8: Test the Script

Visit your site URL (e.g., yourdomain.com)

Check that everything works

Log in to the admin area if the script includes one

✅ Optional: Secure & Clean Up

Delete install folders if the script recommends it (for security)

Set correct file permissions (e.g., 644 for files, 755 for folders)

Was this article helpful?

1 out of 1 found this helpful