MSSQL 2005 EXPRESS or MSSQL 2000 must be installed first and these
RanGame1
RanLog
RanShop
RanUser
databases are already attached before you proceed this setup
or in short , Making RAN Server Guide must be completed before you proceed this setup
================================================== ====
RanWeb Requirements:
================================================== ====
Quote:
Install WAMP5 (Php engine is already included)
PHP5 APACHE MYSQL for Windows : install WAMP5
Install WAMP5 ZEND OPTIMIZER ADD ON
SourceForge.net: Downloading ...
Cimed's RANCP
http://ianznet.110mb.com/ran/rancp.zipCONFIGURING WAMP5
1. After installing, Start WAMP5 server then click the icon on the tray icons
2. go to PHP settings menu > PHP extensions
3. scroll down , click the php_mssql on menu
- now WAMP5 server will automatically restart (not the PC)
- after restart now mssql is now enabled and your DONE
RANCP
Extract your rancp.zip on www folder (usually: C:\wamp\www )
CONFIGURE RANCP
Your config.php must look like this:
for Users using SQL 2005 EXPRESS
Quote:
<?php
//
$CONFIG['servername'] = "IaNz Ran Online"; //Web Name
$CONFIG['dbaddress'] = "PCNAME\SQLEXPRESS"; //DB IP
$CONFIG['dbuser'] = "sa"; //DB ID
$CONFIG['dbpass'] = "1234"; //DB PASS
$CONFIG['dbdbname'] = "RanUser";
$CONFIG['dbdbname1'] = "RanGame1";
$CONFIG['dbdbname2'] = "RanShop";
$CONFIG['registration'] = "1";
$CONFIG['maxaccounts'] = "0";
$CONFIG['maxemail'] = "1";
$CONFIG['email'] = "0";
$CONFIG['emailaddress'] = "";
$CONFIG['emailsmtp'] = "";
$CONFIG['emailuser'] = "";
$CONFIG['emailpass'] = "";
?>
for Users using SQL 2000 Evaluation or SQL 2000 Enterprise Edition
Quote:
<?php
//
$CONFIG['servername'] = "IaNz Ran Online"; //Web Name
$CONFIG['dbaddress'] = "PCNAME"; //DB IP
$CONFIG['dbuser'] = "sa"; //DB ID
$CONFIG['dbpass'] = "1234"; //DB PASS
$CONFIG['dbdbname'] = "RanUser";
$CONFIG['dbdbname1'] = "RanGame1";
$CONFIG['dbdbname2'] = "RanShop";
$CONFIG['registration'] = "1";
$CONFIG['maxaccounts'] = "0";
$CONFIG['maxemail'] = "1";
$CONFIG['email'] = "0";
$CONFIG['emailaddress'] = "";
$CONFIG['emailsmtp'] = "";
$CONFIG['emailuser'] = "";
$CONFIG['emailpass'] = "";
?>
After editing config.php, go to Internet explorer or Mozila Firefox
You can type localhost/rancp to see your rancp page
Note: WAMP5 automatically open all public IP available to use, so from IP 127.0.0.1 to public IP 192.xx.xx.xx whatever your IP its all set.
For those who have errors.....
Follow this guide to fix your problem if your using the WAMP5 Engine.
Open your config.php
Quote:
<?php
//
$CONFIG['servername'] = "Ran Online"; //Web Name
$CONFIG['dbaddress'] = "SERVER\SQLEXPRESS"; //DB IP Your PC's name
$CONFIG['dbuser'] = "sa"; //DB ID
$CONFIG['dbpass'] = "1234"; //DB PASS
$CONFIG['dbdbname'] = "RanUser";
$CONFIG['dbdbname1'] = "RanGame1";
$CONFIG['dbdbname2'] = "RanShop";
$CONFIG['registration'] = "1";
$CONFIG['maxaccounts'] = "0";
$CONFIG['maxemail'] = "1";
$CONFIG['email'] = "0";
$CONFIG['emailaddress'] = "";
$CONFIG['emailsmtp'] = "";
$CONFIG['emailuser'] = "";
$CONFIG['emailpass'] = "";
?>
OK heres the fix for this problem
1. Stop all services from WAMP
2. Get ntwdblib.dll version 2000.80.194.0
http://rapidshare.com/files/94696242/ntwdblib.rar.html use this file and extract the ntwdlib.dll to the following directories.
* C:\wamp\php\
* C:\wamp\Apache2\bin\
* C:\windows\system32\
3. Open wamp\php\php.ini and set the mssql.secure_connection = On (optional, you may leave this part)
4. Click on Start AllSservices from the WAMP menu on the system tray.
and thats it..your ran CP will start working..
For XAMMP user:
* C:\xammp\php\
* C:\xammp\Apache2\bin\
* C:\windows\system32\