Setting Up WordPress Offline

The Development Environment in 15 Easy Steps
Amol Dhir
A Brief Look
at the Technologies Involved
• PHP: PHP Hypertext Preprocessor, is the language in
which WordPress is written
• Apache: It is a web server, that we are going to use
during the development phase.
• MySql: This is the database, which stores all the
The pleasant part is that we do not need to have a deep
knowledge of any of the above in order to build a
website using WordPress.
Download XAMPP
XAMPP is a package installation which provides us with all
the recourses discussed with one installation and
requires no genius skills (as in case if you try and install
PHP, Apache and MySql each manually)
XAMPP distribution is available as a free download at
Install XAMPP
The installation process is easy, once the setup file is
downloaded all you need to do is keep on clicking
through the process.
Choose the install location and select Apache and MySql as the
services to be installed by XAMPP
The Installation Process
Completing the Installation
XAMPP Control Panel
Start Apache and MySql, if running in green (as above)
appears then the installation is working fine and you
have completed half the task.
Configuring MySql User Details
Open XAMPP interface by accessing localhost (http://localhost).
The screen should look like in the picture above.
Setting Up Directory Passwords
1. Access XAMPP security
console fron the
navigation panel on the
main page (pic. as shown
in previous slide) or
alternatively typing
/xamppsecurity.php in
your address bar and set
the passwords of your
choice as in the picture
shown left.
2. Note down the
passwords somewhere.
*Here you are required to enter the password set by you previously.
Creating Database for WordPress
Step 1: Login to phpMyAdmin, by clicking the phpMyAdmin link in the
navigation panel on XAMPP main page , alternatively you may type
http://localhost/phpmyadmin in the address bar of your browser.
Creating Database for WordPress
Step 2: Setting up the database.
Download & Unzip WordPress from
Unzip WordPress folder in htdocs folder of your XAMPP’s installation path.
Modifying “wp-config-sample.php” Step -1
Open wp-config-sample.php with notepad in Windows.
(from wordpress directory you have just installed.)
Modifying “wp-config-sample.php” Step -2
You need to modify the above underlined items here, the DB_NAME,
DB_USER, and DB_PASSWORD which are wordpress, root &
the password you set respectively.
Once done save it as wp-config.php.
Access Your WordPress
Go to http://localhost/wordpress/wp-admin/install.php ,
fill in the simple information (as above) and access your
Like everyone I also long for little appreciation and nice comments.
I hope the tutorial was helpful.
Thank You - Amol
MintyRich | Simplistic eDesigns
WordPress is an AUTOMATTIC invention.
Shared under: “Creative Commons Attribution-No Derivative Works 2.5 India License”