Temiloluwa
Posted on January 13, 2021
Deploying a PHP web-app can be stressful for beginners who are using cPanel hosting for the first time, or who aren't conversant with the interface. Most issues encountered would be related to improper uploads, server name issues, or database errors.
What is cPanel
cPanel is a web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site to the website owner or the "end-user".
cPanel can be used to host various software, including WordPress, Python Apps, PHP apps, Node.js apps, etc.
Deploying to cPanel
The cPanel interface
This is the default cPanel interface, customizable to user's taste.
Locate the File Manager
Find the public_html folder
Locate the Upload button
Upload a zipped folder of all the site files
Back to the file manager, and extract the files.
Replace all necessary information, such as server name, username, and password, for connecting to your database
With this, your PHP app should be visible at the domain (https://website.com)
You could reach out to me on Twitter if you encounter any issues along the way
Posted on January 13, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.