Important: If prompted by a firewall, allow connections for the web server and the database.
- Download XAMPP self-extracting package:
http://www.apachefriends.org/download.php?xampp-win32-1.7.1.exe - Double-click it and extract to C:\ - this will create C:\xampp folder.
- Download Smarty zip package:
http://www.smarty.net/files/Smarty-2.6.25.zip - Create a new folder called smarty in the xampp folder (i.e. C:\xampp\smarty).
- Unzip the Smarty zip package to a temporary directory, e.g. C:\tmp\smarty
- Go to that temporary directory, go to the Smarty-2.6.25 subfolder and then copy everything there (demo, libs, ...) to C:\xampp\smarty
- Open C:\xampp\php\php.ini with notepad, search for Paths and Directories, scroll down to Windows and then replace the line
include_path = ".;C:\xampp\php\pear\"
with the line
include_path = ".;C:\xampp\php\pear\;C:\xampp\smarty\libs\" - Create a new folder called example in the C:\xampp\htdocs folder (i.e. C:\xampp\htdocs\example).
- Create a new folder called smarty in the C:\xampp\htdocs folder (i.e. C:\xampp\htdocs\smarty).
- Create a new folder called templates in the C:\xampp\htdocs\smarty folder (i.e. C:\xampp\htdocs\smarty\templates).
- Create a new folder called configs in the C:\xampp\htdocs\smarty folder (i.e. C:\xampp\htdocs\smarty\configs).
- Create a new folder called templates_c in the C:\xampp\smarty folder (i.e. C:\xampp\smarty\templates_c).
- Create a new folder called cache in theC:\xampp\smarty folder (i.e. C:\xampp\smarty\cache).
- Start the XAMPP Control Panel Application by double-clicking xampp-control.exe in C:\xampp (i.e. C:\xampp\xampp-control.exe).
- Click Start next to Apache and wait until the green Running label appears.
- Click Start next to MySql and wait until the green Running label appears.
- Click Admin... next to Apache - it will open a page in your web browser.
- Select the language (these instructions use English).
- Click Security, it will open a page XAMPP SECURITY.
- Click the link http://localhost/security/xamppsecurity.php in the middle of the page.
- Enter the desired password for MySQL SuperUser in the provided space next to New password. Enter it again in the provided space next to Repeat the new password.
- Click the Password changing button.
- You need to restart MySql - switch to the XAMPP Control Panel Application, click Stop next to MySql, wait for the green Running label to disappear, then click Start to start it again - wait for the green label Running to appear.
- Click Admin... next to MySql - it will open a page in your web browser.
- Login using root as username and entering the password that you set in the step 21.
- Click the Privileges tab at the top, then select Add a new User in the middle of the page.
- In the Login Information section, enter isltest next to User name:, isltest next to Password:, isltest next to Re-type:.
- In the Database for user section, select Create database with the same name and grant all privileges.
- Click Go at the bottom.