Guides

How to install a PHP script on cPanel hosting, step by step

Create the database, upload the zip, run the web installer and secure the site. A plain-language checklist for any PHP + MySQL script.

Admin panel of a PHP script after installation

Most PHP scripts you buy on Envato or Codester install the same way. This checklist works for our scripts and for most others.

1. Create a database

In cPanel open MySQL Databases. Create a database, create a user with a strong password, and add the user to the database with All privileges. Note the database name, user name and password.

2. Upload the files

Open File Manager, go to public_html (or a sub-folder), upload the zip and choose Extract. Make sure the files end up directly in the folder, not inside an extra folder.

3. Run the installer

Open your domain in the browser. A good script opens its installer automatically, checks your server and asks for the database details and an admin password.

4. Secure it

  • Turn on SSL (free in cPanel with AutoSSL or Let's Encrypt).
  • Use a strong admin password.
  • Keep a backup of the database and the uploads folder.

Need help?

If you bought one of our products, open a support ticket with your purchase code and we will help, or choose the installation plan and we will do it for you.

Read next

Support Get a quote