• Activities
    • Health
    • Education
    • Mobile
    • Sports
    • PSL
  • Economy
    • Auto Industry
    • Crypto Currency
    • Economy
    • Smart Devices
  • Tech
    • Startups
    • Social
    • Telecom
    • Technology
  • TechX World
Friday, September 26, 2025
TechX Pakistan
GISEC Global
No Result
View All Result
  • Home
  • Health
  • Education
  • Sports
    • Champions Trophy 2025
    • ICC World Cup
    • Asia Cup
    • PSL
    • Point Table
  • Technology
  • Real Estate
    • Property
  • Lawyer
    • Tax Calculator
    • FBR
  • About us
  • Contact
  • Home
  • Health
  • Education
  • Sports
    • Champions Trophy 2025
    • ICC World Cup
    • Asia Cup
    • PSL
    • Point Table
  • Technology
  • Real Estate
    • Property
  • Lawyer
    • Tax Calculator
    • FBR
  • About us
  • Contact
No Result
View All Result
TechX Pakistan
No Result
View All Result
  • Home
  • Health
  • Education
  • Sports
  • Technology
  • Real Estate
  • Lawyer
  • About us
  • Contact
Home How To

How To install WordPress manually using cPanel

TechX Editor by TechX Editor
November 22, 2022
in How To
Reading Time: 7 mins read
A A
0
How To install WordPress manually using cPanel

WordPress (WP) is a popular content-management system (CMS). Its ease of use, numerous themes and plugins, and strong community support have propelled it to the top of the world’s solutions list. WordPress is used for a wide range of purposes, from simple blogs to complex websites.

What exactly is cPanel?

Your web hosting server account is managed through cPanel. Many control panels, such as Softaculous, will include automated WordPress installation script installers.

Download WordPress

The most recent official version of the CMS can be downloaded from the WordPress website. Download and save the zip file to your desktop computer.

After downloading the zip file, navigate to its directory and extract the entire archive. Make a note of the extracted content’s location and upload it to your web server.

Upload WordPress Install Script to Server

  1. Go to your cPanel account. You will find it by browsing to your_domain_name.com/cpanel.
  2. Enter your user credentials and log in.
  3. Find the File Manager tool and open it.
  4. Look for the public_html directory. The public_html directory is your web root, the directory in which you want to store all your websites.
  5. You need to decide on the location of your WordPress site. There are two options:
  • In the root directory of your domain (e.g., your_domain_name.com/)

Upload all contents of the WordPress folder, but not the folder itself. After the upload, all WP files and subfolders should reside in public_html.

  • In a subfolder of your domain (e.g., your_domain_name.com/site1).

Upload the entire WordPress folder. When finished, rename the WordPress folder to your desired name (e.g. techx.pk)

  1. Once you’ve extracted the WordPress installation archive, remove the zip file from your web server. Delete the zip file by right-clicking it.

The files should be extracted into a WordPress folder. That folder should contain all of the necessary WordPress folders and files. You can start the WordPress installation right now by going to your domain name.com/wordpress.

However, before you begin the installation process, you will need the following:

  • MySQL is a database.
  • A MySQL Database User with the necessary user credentials.
  • A database server.
  • If you want to run multiple WordPress sites in a single database, use a table prefix.
  • A One-of-a-Kind Phrase and Salt Key.

Return to cPanel to create a MySQL database and database user if you haven’t already.

Create a MySQL database and user

Use the MySQL Database Wizard in cPanel to accomplish this. This tool can be found under the Database tab.

  1. Create a database as the first step. Give your database a name. It will be prefixed with the name of your hosting account.
  2. Keep your database name in mind. It will come in handy later.
  3. Select Next Step to begin creating the database.

Users for the Database

The wizard will then ask you to create a database user.

  1. Create a username (no more than seven characters) and a password. The strength metre should ideally turn green and read Very Strong, indicating that the password is bulletproof. The username will be prefixed with the name of your hosting account.
  2. Note your password

Assign a User to the Database and Permissions

The newly created user does not have database access.

  1. Navigate to the page’s Add User To Database section.
  2. Select your newly created user from the User drop-down menu.
  3. From the Database drop-down menu, select your newly created database and click Add.
  4. The next step is to assign database permissions. Select the All Privileges checkbox for the first database user.
  5. Click Make Changes to assign the user privileges.
  6. To double-check, go back and scroll down to view the most recent databases. There should be a database and a privileged user associated with it.

Edit wp-config.php File

The database has been created, and the newly created super user has been assigned to the database. To complete the process, you must edit the wp-config-sample.php file using a text editor.

Admins need to insert four (4) pieces of information to complete the process. The lines below are an example, and the information you insert may look different.

// ** MySQL settings – You can get this info from your web host ** //
/** The name of the database for WordPress */
define(‘DB_NAME’, ‘paterpaker_demowp’);
/** MySQL database username */
define(‘DB_USER’, ‘paterpaker_dbuser’);
/** MySQL database password */
define(‘DB_PASSWORD’, ‘abc.123.!@#’);
/** MySQL hostname */
define(‘DB_HOST’, ‘localhost’);

The important pieces of information are:

  • DB_NAME. Database name.
  • DB_USER. Username of the database user.
  • DB_PASSWORD. This is the database user password.
  • DB_HOST. In 99% of cases, it’s ‘localhost.’
    Make sure to include the prepended parts when typing the value for DB_NAME and DB_USER. Additionally, bear in mind that for most cPanel hosts, the DB_HOST value is ‘localhost.’

Run WordPress Install Scripts

To finish the installation, run the install script by browsing to your WP’s directory.

  • If you uploaded the files to the root directory, browse to http://your_domain_name.com/wp-admin/install.php
  • If you uploaded WP installation files to a subfolder, browse to http://your_domain_name.com/site1/wp-admin/install.php

In each case, once the install scripts are initiated, WordPress will prompt you to enter database details and write them in a new wp-config.php file. If this fails, you can go back and edit and upload the wp-config.php file yourself.

Complete the WordPress Installation

The next step is the well-known five-minute WP installation procedure. Enter details such as Site Title, your desired WordPress Username and Password, and your Email Address. Please note that the username and password are for this instance of WordPress only. Do not enter the same username and password you used for your database user.

All of this information can be changed later in the WordPress Admin.

Once you are finished, click Install WordPress. When the installation procedure is completed, WP will redirect you to the login screen.

Conclusion

If you have followed this tutorial step-by-step, you should have accomplished the following:

  • Downloaded and extracted the latest version of WordPress installation files.
  • Uploaded the files to your desired directory.
  • Created a MySQL database and database user.
  • Successfully updated the wp-config-sample.php file and renamed it to wp-config.php.
  • Run WordPress installation scripts, created your first WordPress admin user and named your website.
  • Installed and logged into WordPress.

To read our blog on “How To protect WordPress site from cyberattacks,” click here

 

 

Share49Tweet31Share9Send
TechX Editor

TechX Editor

Hi! I'm the Editor at TechX Pakistan, where I specialize in managing and enhancing the SEO for our website. My role involves optimizing content to ensure maximum visibility and engagement, analyzing performance metrics to drive traffic, and staying up-to-date with the latest in search engine algorithms. My goal is to ensure that our website not only reaches but also resonates with our target audience, ensuring they find exactly what they need quickly and efficiently.

Related Posts

How to Get an Internship at the National Assembly of Pakistan

by TechX Editor
April 21, 2025
0
How to Apply for National Assembly Internship of Pakistan

The National Assembly of Pakistan has announced its Parliamentary Internship Program – Summer Batch 2025, offering a six-week hands-on experience for students and...

Read moreDetails

How to Check Ufone Remaining MBs in 2025

by TechX Editor
April 5, 2025
0
How to Check Ufone Remaining MBs in 2025

In 2025, staying connected is essential, and monitoring your data balance ensures uninterrupted internet access. Ufone offers multiple ways to...

Read moreDetails

Follow Us

Promoted

TechX Pakistan Named Digital Media Partner for Pakistan CIO Summit & Awards 2025

World CIO Summit Pakistan 🇵🇰 | Official Media Partner: TechX Pakistan

by TechX Editor
August 28, 2025
0

The nation witnessed an unforgettable milestone in its technology journey as Pakistan hosted its biggest tech show ever, the World...

Inside CIO 200 Summit 2025: From Keynotes to Awards and AI Dialogues

Inside CIO 200 Summit 2025: From Keynotes to Awards and AI Dialogues

by TechX Editor
August 25, 2025
0

On 23rd August 2025, the prestigious Pearl Continental Hotel Karachi became the epicenter of innovation as it hosted the CIO...

Meet TechX Pakistan Team – The Digital Media Force Behind CIO 200 Summit 2025

Meet TechX Pakistan Team – The Digital Media Force Behind CIO 200 Summit 2025

by TechX Editor
August 24, 2025
0

At the CIO 200 Summit 2025, held on 23rd August at Pearl Continental Hotel Karachi, one name stood out as...

TechX Pakistan Highlights Preparations for World CIO Summit 2025

TechX Pakistan Highlights Preparations for World CIO Summit 2025

by TechX Editor
August 23, 2025
0

The World CIO Summit & Awards 2025 – Pakistan Edition is one of the most anticipated technology gatherings of the...

Recent News

Pakistanis Paying Rs. 94.89 Tax on Every Litre of Petrol

Pakistanis Paying Rs. 94.89 Tax on Every Litre of Petrol

September 25, 2025
Meta to Open Four New “Meta Lab” Retail Pop-Ups Ahead of Holiday Season

Meta to Open Four New “Meta Lab” Retail Pop-Ups Ahead of Holiday Season

September 25, 2025
PM Youth Loan Scheme 2025 – Easy Business Loans in Pakistan

PM Youth Loan Scheme 2025 – Easy Business Loans in Pakistan

September 25, 2025
Sui Northern Opens Applications for New Gas Meters

Sui Northern Opens Applications for New Gas Meters

September 25, 2025
Govt Launches Mera Ghar Mera Ashiana Housing Scheme

Govt Launches Mera Ghar Mera Ashiana Housing Scheme

September 25, 2025
Sindh Sets New Vehicle Age Limits and Safety Rules

Sindh Sets New Vehicle Age Limits and Safety Rules

September 24, 2025
Currently Playing

TechX Pakistan at GITEX Dubai 2024 | Innovation, AI & Global Tech Highlights

TechX Pakistan at GITEX Dubai 2024 | Innovation, AI & Global Tech Highlights

00:02:06

TechX Pakistan at LEAP 2025 | Saudi Arabia’s Mega Tech Conference Uncovered

00:03:37

Pakistan – The Mineral Marvel | Pakistan Pavilion at Future Minerals Forum 2025

00:03:09

TechX Pakistan at ITCN Asia Karachi 2024 | Innovation, Startups & Future Tech Highlights

00:02:22

TechX Pakistan at ITCN Asia Lahore 2024 | Official Media Partner Coverage

00:03:41

TechX x Doogee | GITEX 2024 Collaboration Featuring Iranian TikTok Star

00:01:09

Highlights from the World CIO 200 Summit - Pakistan Edition 2024 | TechX Pakistan

00:01:42

Leap 2024 | The most attended tech event in Saudi Arabia | covered by TechX Pakistan

00:03:46

Gitex Dubai 2023 Sneak Peeks by TechX Pakistan

00:01:47

Gitex Africa 2023: TechX Pakistan Honored To Cover The Event. @GITEXAFRICA

00:01:50

LEAP 2023, a Global Technology Event at Riyadh covered by TechX Pakistan

00:02:40

GITEX GLOBAL 2022 Presence of Pakistan, Connexion Lounge sponsored by @MinistryofITTelecomPakistan

00:01:40

ITCN Asia 2022 | 21st International IT and Telecom Show | Curtains Opened | TechX Pakistan

00:05:28

London Tech Week 2022 Highlights | #Pakistan #Software

00:02:58

#Zindigi Future Fest 2022 Curtains Opened | Day 01 Glimpses | Tour | TechX Pakistan

00:03:13

Wait is Over, ITCN Asia Pakistan Tech Fest 2022 is live now!

00:01:44

CXO Meetup Dubai by Tech Destination Pakistan - P@SHA x PSEX x MoITT

00:02:41

Workshop on IT Investment Opportunities by Tech Destination Pakistan

00:00:56

Pakistan Pavilion at GITEX Dubai 2021

00:01:39

#GITEX 2021 Curtains Opened | Day 01 Glimpses | 5G | Technology | Tour | TechX Pakistan

00:01:33

GITEX Technology Week 2020 by TechX Pakistan - Official Media Partner

00:01:27

Newsletter

Loading

Since 2019, TechX Pakistan has been revolutionizing local tech and social blogging. We bring the latest news, interviews, and events on global and local advancements.

Join us in exploring IT startups, business insights, and social media trends. Celebrate and drive the tech evolution with us!

USEFUL LINKS

Home

About Us

Contact Us

Privacy Policy

Sponsored

Terms and Conditions

Site Map

CATEGORIES

Health

Crypto Currency

Technology

Sports

Finance

Curent Affairs

FOLLOW US

TECH INSIGHTS

Stay informed about the latest advancements in technology. Join our WhatsApp Group to receive curated news, insights, and updates straight to your inbox.

© 2025 TechX.pk - All right reserved 

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In

Add New Playlist

No Result
View All Result
  • Home
  • Health
  • Education
  • Sports
    • Champions Trophy 2025
    • ICC World Cup
    • Asia Cup
    • PSL
    • Point Table
  • Technology
  • Real Estate
    • Property
  • Lawyer
    • Tax Calculator
    • FBR
  • About us
  • Contact

© 2019 - 2024 TechX Pakistan - All Rights Reserved

Go to mobile version