Xampp is a handy tool for developing your web pages or running a server on your personal computer. This post describes how to set services to manual, increasing security and reduce load on your computer when Xampp isn’t required.
Download and install Xampp into a folder on your computer. Windows installer from here. If server is installed as a service, use steps below for manual start.
Open services (type “mmc” in run for snap-in console or right click computer icon) and set Apache and MySQL server to manual.
Step 1. Select and open Apache service.
Step 2. Change startup type to Manual.
Step 3. Follow same procedure with mySQL server. Next time you start your Windows computer,
Xampp must be started with the Control Panel or a batch file. Ref.: Xampp for Windows.
Use Xampp Control Panel for manual start.
Important! Read this about security.
Follow these links for WordPress installation.:
Copy from Wordpress org:
Installing WordPress on Your Windows Desktop
In order for WordPress to work, it must have access to an Apache server, MySQL, and phpMyAdmin. Installing these separately can be painful. Luckily for us, XAMPP installs all of these with one program, allowing you to run WordPress on your computer. There are two versions of the program, Basic and Lite. The Lite version is usually adequate.
- Download and install XAMPP.
- This installs by default into C:/xampplite or C:\xampp.
- Start XAMPP from c:\xampplite or c:\xampp.
- You may need to restart your computer to allow apache services to start.
- In your browser, go to http://localhost/xampp.
- In the left column under Tools, click phpMyAdmin.
- Login is admin.
- In Create new database enter wordpress.
- In the next box, select utf8 unicode ci.
- Click Create button.
Unzip your WordPress download into the htdocs directory – c:\xampp\htdocs\<yourwebsite>.
- From the <yourwebsite> folder, open wp-config.php in a text editor.
- The connection details you need are as follows:
// ** MySQL settings ** //
define('DB_NAME', 'wordpress'); // The name of the database
define('DB_USER', 'root'); // Your MySQL username
define('DB_PASSWORD', ''); // ...and password
define('DB_HOST', 'localhost'); // 99% chance you won't need to change this
- Save as wp-config.php.
- Install by going to http://localhost/wordpress/wp-admin/install.php