Back to General Articles

[how to] create a testsite for offline uses
by TheSupportForum 15 Jan 2010

one of the things i've always wanted to do is run an offline version to test my templates and mods

today i have a good solution, and hope this should not break the licence terms as its an offline version for testing purposes

i came across a package call XAMPP





Description:
XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. XAMPP is really very easy to install and to use - just download, extract and start. At the moment there are four XAMPP distributions:

http://www.apachefriends.org/en/xampp-linux.html
http://www.apachefriends.org/en/xampp-windows.html
http://www.apachefriends.org/en/xampp-macosx.html
http://www.apachefriends.org/en/xampp-solaris.html

and the great things its free of charge

How to Install:

1) download the package and install the product
2) place you php or html files in htdocs/foldername
important:
Do not delete the following folder or files within htdocs
xampp - folder
index.php
do not place files in root of htdocs

ensure you run
Apache
MySql
FileZilla

as a service

screesnhot provided below



Now for the Vbulletin offline instructions

1) create a folder for vbulletin
2) open include/config.php.new
change the following lines to matahc below

you dont need to change this
Code:
$config['Database']['dbname'] = 'forum';


for this example i have chosen forum as my vbulletin folder you can change this
Code:
$config['Misc']['forumpath'] = 'C:\xampp\htdocs\forum';


change to this
Code:
$config['Mysqli']['ini_file'] = 'C:\xampp\mysql\bin\my.ini';


Last Stage:

open your browser and type

Code:
http://127.0.0.1/xampp/


scroll down to PHPMyAdmin and create a database for the forum
to install vbulletin on your local machine for testing

Code:
http://127.0.0.1/foldername/index.php


this will redirect to the install script


after installation of forum is complete you can visit your forum by typing

Code:
http://127.0.0.1/foldername


ignore the htdocs folder as this is the root for 127.0.0.1



if this does not work please feel free to PM me for support
screesnhots provided below
Attached Thumbnails
Click image for larger version
Name:	1.jpg
Views:	98
Size:	117.4 KB
ID:	110092   Click image for larger version
Name:	2.jpg
Views:	97
Size:	130.7 KB
ID:	110093   Click image for larger version
Name:	111.jpg
Views:	104
Size:	253.6 KB
ID:	110094   Click image for larger version
Name:	1212.jpg
Views:	101
Size:	95.4 KB
ID:	110095  


vblts.ru supports vBulletin®, 2022-2024