Warriorhazzard
05-16-2007, 02:26 AM
I followed the following GUIDE: *You need to register to see it*
Gameservers Guide (http://forums.gameservers.com/viewtopic.php?t=2830)
------------
This is really confusing - I followed the Guide on "How to install PHP NUKE" I got stuck first at the upload part but I think I have that ----
I am now stuck at the edit the .cfg file WHERE IS IT and how exactly do I edit it and all with my SQL Info??????
-------------------------
Also after I get that done how do I set up a template that I downloaded????
Step 5 - Upload the Database
Once you are in your cpanel, go into your mysql section. You need to do the following steps.
1. Create a database of your choice.
2. Create a username/password of your choice.
3. Add the username to the database.
Right after that click on the phpMyAdmin link.
Once your in, simply select the database you made which is on the left hand side. Then you should see an sql tab be available as an option on the top. Click it, and click on "browse". You are looking for the sql folder that came in your phpnuke download. Select the .sql file and upload the database.
Step 6 - Connect Database to Website (Edit config.cfg)
Upon finishing the phpnuke upload, the database setup. The last step is to edit the config.cfg file of your phpnuke install with the database information.
Here is an example of what the config.cfg information looks like with no information.
$dbhost = "localhost";
$dbuname = "";
$dbpass = "";
$dbname = "";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
Here is what it would look like if my database name is cs11111_dbname, username is cs111111_user and password changeme.
$dbhost = "localhost";
$dbuname = "cs111111_user";
$dbpass = "changeme";
$dbname = "cs11111_dbname";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
Warrior ;)
Gameservers Guide (http://forums.gameservers.com/viewtopic.php?t=2830)
------------
This is really confusing - I followed the Guide on "How to install PHP NUKE" I got stuck first at the upload part but I think I have that ----
I am now stuck at the edit the .cfg file WHERE IS IT and how exactly do I edit it and all with my SQL Info??????
-------------------------
Also after I get that done how do I set up a template that I downloaded????
Step 5 - Upload the Database
Once you are in your cpanel, go into your mysql section. You need to do the following steps.
1. Create a database of your choice.
2. Create a username/password of your choice.
3. Add the username to the database.
Right after that click on the phpMyAdmin link.
Once your in, simply select the database you made which is on the left hand side. Then you should see an sql tab be available as an option on the top. Click it, and click on "browse". You are looking for the sql folder that came in your phpnuke download. Select the .sql file and upload the database.
Step 6 - Connect Database to Website (Edit config.cfg)
Upon finishing the phpnuke upload, the database setup. The last step is to edit the config.cfg file of your phpnuke install with the database information.
Here is an example of what the config.cfg information looks like with no information.
$dbhost = "localhost";
$dbuname = "";
$dbpass = "";
$dbname = "";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
Here is what it would look like if my database name is cs11111_dbname, username is cs111111_user and password changeme.
$dbhost = "localhost";
$dbuname = "cs111111_user";
$dbpass = "changeme";
$dbname = "cs11111_dbname";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
Warrior ;)