Ok SImple Just FOllow Tis Guide Below by daemon_px
Ok guys, I'm doing this step by step, while I'm installing Appserv 2.4.0 (get it at
Appserv ,this pack comes with Apache, PHP and MySQL.
In this guide I'm not using MySQL, as IO* PHP MU Web Center is designed to work with Microsoft SQL Server, and if people have trouble using it as it is, i wonder if I'd go around asking to change scripts.
Let's move on:
1. Installing Apache webserver & PHP Support:
Just follow on-screen instructions regarding where to Install, in the Setup Type, choose Custom.
Untick phpMyAdmin And MYSQL
Note: DUN UNTICK Apache and PHP.
Next, type in your server name: something like
www.mydomain.com or just leave it as localhost.
If localhost is chosen, the webserver will work only locally.
Remember that you can't just come up with a servername, it has to be registered and working DNS.
You can get free DNS with "auto" update for dynamic IPs from
http://www.no-ip.com or
http://www.no-ip.com/ (I won't give any help on this, read the sites FAQ's).
Type in the server admin e-mail (probably it's your's), and the port where it sould be listening for conections. If possible, just leave it 80.
------------------- my config for this dialog ------------------------
server name: e-daemon.gotdns.org
server admin email:
services.admin@e-daemon.gotdns.org
port: 80
----------------------------------------------------------------------------
Click next, and setup will finish.On the last dialog, let it start apache. No need to start MySQL, as it hasn't been installed.
Now, if you type your chosen server name (localhost or whatever) in your web browser, you'll get a wellcome page from AppServ.
- !!!!!!!!!!!!!!! Your webserver is now running !!!!!!!!!!!!!!!!!!
////////////////////////////////////**********************\\\\\\\\\\\\\\\\\\\\\\\\\\\\ \\\\
2. Configure PHP so it works with SQL (No more "Line 9 error")
I think this is where most people get in trouble, but that's just because they haven't read IO* readme that goes with the webpage files.
Let's open the php.ini file (it's in your windows dir - for me it's "C:\WINNT\php.ini" ). Use notepad to open it, disable word wrap, so you can check line numbers on the status bar.
*In line 576, where it reads
;extension=php_mssql.dll
take the leading ";"
Save the file, close, and restart Apache (If you haven't done it allready, bring up apache monitor - it's in your start menu\AppServ\Apache Control Server - it's easyer to stop/start apache this way).
Now you can extract the files from Website(FragFrog)New Package(Extract to C:appserv/www/here
3. Configure Webcenter and/or your SQL server so they work with each other
After extracting the files, let's open config.php in notepad.
===================In Config.PhP=================
<?php
//=========== FragFrog's MU WebCenter ===============
// Welcome to FrogMu's WebCenter, originally based on
// IO*'s files and editted and modified by FragFrog
//=========== FragFrog's Mu WebCenter ================
//============== USER EDITABLE AREA ===================
// Enter the username to connect to the db
$dbuser = "sa";
// Enter the password for the SQL Server
$dbpasswd = "";====>Change Tis to ur PassWord
//Admin Login
$alogin = ""; ===>U can use sa
//Admin Password
$apass = ""; ===>Change Tis to ur PassWord
========================================================
In Order to View it,It Should be as Example
http://lala.no-ip.org/Website/
Change Lala.no-ip.org to ur dns name ^^ Ok after tis Done ^^
1)
Open opties_reset.php And Change tis Lines
<center>
<a href='http://fragfrog.mine.nu/armor/reset.php'>ARMOR</a>
<a href='http://fragfrog.mine.nu/wing/reset.php'>WINGS</a>
<a href='http://fragfrog.mine.nu/weapon/reset.php'>WEAPON</a>
</center>
TO
<center>
<a href='http://youripaddress/armor/reset.php'>ARMOR</a>
<a href='http://youripaddress/wing/reset.php'>WINGS</a>
<a href='http://youripaddress/weapon/reset.php'>WEAPON</a>
</center>
2nd thing:Please copy config.php after u have edited it and paste in Weapon Folder,Wing Folder and Armour Folder which look like tis ===>
Website\weapon,
Website\wing,
Website\armor
=========================================================
So I Should Look Like this
[U
]Weapon Config.php[/U](C:\AppServ\www\Website\weapon)
// Enter the IP or DSN of the database server to connect to
// Change to your server IP (if remote only) works with DNS
$dbhost = "127.0.0.1";
// Enter the username to connect to the db
$dbuser = "sa";
// Enter the password for the SQL Server
$dbpasswd = "password";
//Admin Login
$alogin = "Admin";
//Admin Password
$apass = "password";
//Database Name
$db = 'MuOnline';
//Host. IP If working remotely
$host = '127.0.0.1';
$ip = "127.0.0.1";
$regsubmit = "regform.submit()";
$msconnect=mssql_connect("$host","$alogin","$apass");
$msdb=mssql_select_db("$db",$msconnect);
?>
-------------------------------------------------------------------------------------------------------
Armour Config.php(C:\AppServ\www\Website\armor)
// Enter the IP or DSN of the database server to connect to
// Change to your server IP (if remote only) works with DNS
$dbhost = "127.0.0.1";
// Enter the username to connect to the db
$dbuser = "sa";
// Enter the password for the SQL Server
$dbpasswd = "passwordhere";
//Admin Login
$alogin = "Admin";
//Admin Password
$apass = "passwordhere";
//Database Name
$db = 'MuOnline';
//Host. IP If working remotely
$host = '127.0.0.1';
$ip = "127.0.0.1";
$regsubmit = "regform.submit()";
$msconnect=mssql_connect("$host","$alogin","$apass");
$msdb=mssql_select_db("$db",$msconnect);
?>
==========================================================
Wing Config.php(C:\AppServ\www\Website\wing)
// Enter the IP or DSN of the database server to connect to
// Change to your server IP (if remote only) works with DNS
$dbhost = "127.0.0.1";
// Enter the username to connect to the db
$dbuser = "sa";
// Enter the password for the SQL Server
$dbpasswd = "passwordhere";
//Admin Login
$alogin = "Admin";
//Admin Password
$apass = "passwordhere";
//Database Name
$db = 'MuOnline';
//Host. IP If working remotely
$host = '127.0.0.1';
$ip = "127.0.0.1";
$regsubmit = "regform.submit()";
$msconnect=mssql_connect("$host","$alogin","$apass");
$msdb=mssql_select_db("$db",$msconnect);
?>
Forum Setup
If u wan simple forum go tis
http://bb.hostaforumfree.com/new_forum.php
it easy and fast =)
=========================================================
All Credit Go to
FragFroG 