Installing WordPress on a Local Server
To install WordPress on a local server, there are several things you need to do first.
First, disable any antivirus software temporarily during installation if it prevents Apache from running. You can re-enable it after completing the installation.
Second, it is recommended to use a relatively modern computer. Some devices run on a 64-bit system, while others use a 32-bit system, and the required software may be available for both versions.
Third, make sure your computer or laptop is free from viruses or technical problems before starting the installation.
Benefits of Installing WordPress on a Local Ne
Installing WordPress on a Local Server Using XAM
Installing WordPress on a local server offers several advantages, including:
-
Improving team productivity
-
Making collaboration easier
-
Working without an internet connection
-
Creating an internal working environment
-
Easier administration
-
Greater control over local files and systems
Users connected to the company’s internal network can access files according to the permissions granted to them.
You can also edit your website files at any time without needing an internet connection.
A local server can also be used to create databases for your company or install and test scripts before uploading them to a live server.
Installing the Local Server Software
To learn how to install XAMPP, click here to download the program.
First, download the software from its official website or another trusted source.
After downloading it, open the installation file.
Installing WordPress on a Local Server
A welcome screen will appear. Click Next.
Installing WordPress on a Local Server
The program will display the main components required to create the local server on your computer.
You can then click Next to continue the installation process.
Installing WordPress on a Local Server
On the next screen, the program will show the default installation path, usually on drive C.
You can select a different installation path by clicking the folder icon and choosing your preferred location.
Installing WordPress on a Local Server
After choosing the installation location, click Next.
A language selection screen will appear.
You may then see a screen explaining that XAMPP supports the automatic installation of several Content Management Systems.
Click Next.
Installing WordPress on a Local Server
A confirmation screen will appear before installation begins.
Click Next to continue.
Installing WordPress on a Local Server
The installation process will now begin.
Do not interrupt the program while it is installing.
Installing WordPress on a Local Server
Once the installation is complete, click Finish.
Installing WordPress on a Local Server
The installation is now complete.
You can open XAMPP from the installation location you selected earlier.
The XAMPP Control Panel will appear.
Click Start next to Apache and then click Start next to MySQL.
Installing WordPress on a Local Server
To open the local server and begin testing, click Admin or open your browser and enter the IP address:
127.0.0.1
The following screen should appear.
Installing WordPress on a Local Server
Read also: How to Install WordPress from cPanel
Installing WordPress on the Local Server
After downloading WordPress from the following link:
Download the appropriate version and extract the files.
Then move the WordPress folder into the XAMPP directory you selected earlier.
Installing WordPress on a Local Server
To begin the WordPress installation, open your browser and enter:
The following screen should appear.
If it appears correctly, this means you have completed the previous steps successfully.
Open the local server control panel and click Admin next to MySQL.
You should see the following screen.
Click New to create a new database.
The following screen will appear.
Enter a name for your database and click Create.
If the database appears successfully, your steps have been completed correctly.
You can now return to the WordPress installation screen and continue the installation process.
Return to the WordPress setup page and click Let’s Go.
You will then see the database configuration screen.
Enter the name of the database you created in the previous step.
For the username, enter:
root
Leave the password field empty if you are using the default local XAMPP configuration.
Keep the database host and table prefix fields at their default values unless you have changed your local server settings.
Proceed to the next step to continue the installation.
If the following screen appears, the database connection has been completed successfully.
On the next screen, enter your website information.
You can enter the website title in either Arabic or English, then add your email address, username, and password.
After entering the required information, click Install WordPress.
The WordPress installation is now complete.
Congratulations, you have successfully installed WordPress on your local server.
Click Log In to go to the WordPress login screen.
Enter your username and password, then click Log In to access the WordPress dashboard.
You have now successfully installed WordPress.
More WordPress Tutorials
Read also: How to Protect Your Website from Viruses and Hacking


