- Messages
- 12,934
- Reaction score
- 6
- Points
- 38
This is a tutorial of how to install PHP-Nuke manually.
I hope this tutorial is usefull for you people... Sorry if i have some spelling mistakes, and if you find any error please correct me so i can edit it or some moderator can...
Good Luck,
fedlerner
*1st STEP - Download PHP-Nuke.
First of all, we have to go to the official PHP-Nuke web. We have to go to the "Downloads" section, and then on "PHP-Nuke" categorie.
Then select the version you want to install. (Last one is 7.9, but it's paid so we will work with version 1.8 which is free).
Download the PHP-Nuke version you want (in this case 7.8) -Blue circle-. When the download is finished, unzip it.
In some version, you will find fixes, so go again to the "Dowloads" section, and "PHP-Nuke" categorie, and now to the "Fixes" subcategorie. Download the Fix for your version (in this case 7.8) -Red circle-, unzip it and copy the files to your PHP-Nuke directory.
*2nd STEP - Upload PHP-Nuke, give permissions, database, etc.
First of all, you need to have a hosting account. I will use a x10hosting free host plan.
What whe need to do first now it to create the MySQL database. To do so, log to you cPanel.
--In this section we must know that YOURCPANELUSER is the name of the user you put every time you have to log to your cPanel.--
When you are in your cPanel, you must go first to "MySQL Databases" and then you have to create a database that we will name "nuke". The name it will have then is "YOURCPANELUSER_nuke". Then we must create a user for the database, that we will also name "nuke", and put a password that we will put for the example "userpassword" so the username will be then "YOURCPANELUSER_nuke". Then, we must grant the permissions for the user you just created, to the database you also just created. To grant TOTAL permisions, we must select "ALL" permisions, and then grant them.
Now we have the MySQL database and user created. So we must now fill the database with the PHP-Nuke information. To do so, we must go back to the cPanel index, and select "phpMyAdmin" -Red circle-.
We must select the database we have just created on the left of the web. Then we must click on the "Import" section on the top. Then we must upload a file called "nuke.sql" that is located in the "sql" subfolder of the PHP-Nuke folder.
Once the sql database is uploaded, we now have to upload all the files in the "html" subfolder of the PHP-Nuke folder, to our web hosting by FTP. I recommend the FTP clients SmartFTP and CuteFTP. We must upload all the files to our in the subdirectories you want. In the case of x10hosting, you must put the files in the "public_html" folder, and there you can create as much subdirectories as you want.
When all the files are uploaded (which will tale a LONG time, cause there are many), you have to go edit the config.php file, which is in the main directory.
Then you have to find this in the file...
When you find that you must edit some things...
$dbuname = "root"; --->(here you must put your database user).
$dbpass = ""; --->(here you must put your database user password).
$dbname = "nuke"; --->(here you must put your database name).
--In this section we must know that YOURCPANELUSER is the name of the user you put every time you have to log to your cPanel.--
So following the instructions and the names i have put, it should be like this...
$dbuname = "YOURCPANELUSER_nuke";
$dbpass = "userpassword";
$dbname = "YOURCPANELUSER_nuke";
Save the file, and we have finished with the large process of installing and configuring the PHP-Nuke.
*3rd STEP - Create the admin account.
To create the admin account you must go to http://www.yourdomain.com/admin.php or in the case of x10hosting http://domain.x10hosting.com/admin.php
If you created the PHP nuke in a subfolder, you must add before the admin.php the name of the subfolder. For example http://www.yourdomain.com/SUBFOLDER/admin.php
And that's it... You now have your PHP-Nuke installed and runing...
Created by fedlerner
I hope this tutorial is usefull for you people... Sorry if i have some spelling mistakes, and if you find any error please correct me so i can edit it or some moderator can...
Good Luck,
fedlerner
Last edited: