In the article Installing WordPress automatically, you learnt about installing WordPress using the 1-click installer. Easy as they seem, 1-click installers may sometimes do the unexpected and pose problems for you.
One obvious issue is that installation happens behind the scenes making it difficult for troubleshooting in the future. Auto-installation can include auto updates to WordPress when newer versions are available. While this good to plug any security holes, it may end up breaking your plugins due to compatibility issues. 1-click installers don’t provide options for you to choose database username, password, etc and generate them automatically, making it difficult for you to track these aspects.
To solve all the problems associated with auto-installation, you can opt for manual installation of WordPress using cPanel.
Setting up the Database
WordPress stores content such as posts, blogs, comments, pages, user names, etc in a database. To setup the database for your WordPress installation, you have to perform the following tasks:
Create a database.
Create a database user.
Add the user to the database.
See Creating a database for more details.
Download WordPress from its official download page. Ensure that you always download the latest stable version (saved as a .zip file).
Uploading and Extracting the Files
Upload the .zip file using the File Manager and extract the files into the appropriate document root folder. If you are installing WordPress on your main domain, the files should be located in /public_html folder. If you are installing WordPress on a subdomain, the files should be under /public_html/subdomain folder.
See Using the File Manager, for more details.
Once the .zip file has been extracted, visit yourdomain.com/wordpress using your browser. You will see the following message.
Click Create a Configuration File. See Messing with the Configuration File for more details about wp-config.php.
Enter the database details that you created earlier. See Creating database to understand more about Database Host and Table Prefix.
If you encounter an error, go back and re-enter the information, then try again. On successful verification of your database details, you will the following message:
Click Run the Install. It is time for the final step. Enter your details in the form as shown below and click Install WordPress.
Congratulations! You have successfully installed WordPress.