>>  Site Map >>  Forums >>  PHP-Nuke Newbie

Forum module - topics in forum:



PHP-Nuke Newbie - Complete phpnuke newbie? want to ask a question before installing? or have installed and are now confused? this is the place.



Super basic questions - but I still need help.

I’m trying to install PHP Nuke but it’s not working out alright for me.
I’m kinda unsure about what I really need, programs and such. What to download..
As you might be aware of the installation description looks like this:


PHP-Nuke: Web Portal System
===========================

PLEASE READ CAREFULLY THE FOLLOWING INSTRUCTIONS. IF YOU DO THIS,
YOU WILL HAVE YOUR SITE UP AND RUNNING IN JUST A FEW MINUTES.

##############################################################################
# I M P O R T A N T N O T E #
##############################################################################
# IMPORTANT: I saw many sites that removes the copyright line in the footer #
# of each page. YOU'RE NOT ALLOWED TO REMOVE NOR CHANGE/EDIT THAT NOTE. If I #
# still see this problem happening I'll need to take extreme measures that #
# can include: to change the PHP-Nuke license, to encrypt some parts of the #
# code, stop distributing it for free and in an extreme case stop developing #
# it. The decision is in your hands. #
# You can sell service based on PHP-Nuke, you can make money from it, you #
# can do almost whatever you want with PHP-Nuke but DO NOT REMOVE NOR EDIT #
# THE COPYRIGHT NOTICES!!! Fair Play. #
# If you do not agree with this simple rule, delete all PHP-Nuke files #
# rigth now and move away from it. Thanks. #
##############################################################################

Base Requirements
-----------------

In order to setup PHP-Nuke the folowing prerequisits are necessary.

- A Linux Box (http://www.linux.com) Installed and working properly.
- Apache Web Server (http://www.apache.org)
- PHP version 4.1.x or better (mod_php) Apache module (http://www.php.net)
- MySQL database server (http://www.mysql.com)

NOTE: From PHP-Nuke version 5.3, I added a new SQL abstraction layer,
this means that PHP-Nuke now supports MySQL, mSQL, PostgreSQL, PostgreSQL_local,
ODBC, ODBC_Adabas, Sybase and Interbase servers. The official test server
is MySQL which is used to develop PHP-Nuke. Any feedback about others SQL Servers
and how it works will be very appreciated and useful.

The above doesn't mean it will not work with other configurations, OS's, DB's, etc,
but we only provide INSTALL instructions for the above configuration.
In fact PHP-Nuke works under Windows (all), FreeBSD, OS/2, MacOS, etc.

Setup of these required packages is beyond the scope of this document
and if you are unsure you should check with each of the appropriate web
sites for further details.


Installing the Package
----------------------

Untar the package into the directory you want to use on you web
server, if you're unsure where that is, ask you system administrator.
(Windows users can use WinZip or WinRAR to uncompress .tar.gz files)

tar -zxvf PHP-Nuke.tar.gz

Now go to the directory where you uncompressed all files and edit the
file "config.php". Change all the fields until you are happy with the
changes and they fits the need of your web site. Give special attention
to the database configuration section. When you have finished to edit
config.php file change to the /sql/ directory and there is a file called
"nuke.sql" this file contains the commands to build the database structure,
tables and the default data.

1) Create a database called, for example, nuke:

mysqladmin create nuke

2) Now fill the databases with the tables in nuke.sql file:

mysql nuke < nuke.sql

3) In order to use the ultramode.txt news file please be sure to chmod 666.
This file is used to show news from your site in some old programs and
frontends and is reserved to future use in PHP-Nuke. For backend use
backend.php file instead.

4) That's it!... now you need to edit the file "config.php" to set the
database options. Please read carefully the instruction on that file!
After that, point your browser to:

http://yourdomain.com/admin.php

We use MySQL as the example and nuke.sql file is in MySQL format
because PHP-Nuke was made using this database server. You can find
many programs out there to convert the database schema from MySQL to
whatever else you want. But this is a task for you.



Mysqladmin is not mentioned at all, still I downloaded it, hoping that it would help me creating a database Smile
Is there an easier way around it?

Another thing too. What am I soppouse to change in the config-file?
This is what it says:

######################################################################
# Database & System Config
#
# dbhost: SQL Database Hostname
# dbuname: SQL Username
# dbpass: SQL Password
# dbname: SQL Database Name
# $prefix: Your Database table's prefix
# $user_prefix: Your Users' Database table's prefix (To share it)
# $dbtype: Your Database Server type. Supported servers are:
# MySQL, mysql4, postgres, mssql, oracle, msaccess,
# db2 and mssql-odbc
# Be sure to write it exactly as above, case SeNsItIvE!
# $sitekey: Security Key. CHANGE it to whatever you want, as long
# as you want. Just don't use quotes.
######################################################################

$dbhost = "???";
$dbuname = "???";
$dbpass = "???";
$dbname = "nuke";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "SdFk*fa28367-dm56w69.3a2fDS+e9";



What do I write instead of the ”???” ?
Can I for example just make something up, and just type it in at the ”Database host” section ?

- A Linux Box (http://www.linux.com) Installed and working properly.
- Apache Web Server (http://www.apache.org)

What are they for? Do I really need it, and for what?

mysqladmin create nuke
Huh?

Well I know these questions might sound very dumb to you. But I'm really stuck here right now.. Feels pretty idiotic because it's just in the beginning of the installations that is explained to be easy.

Thanks again.




Re: Super basic questions - but I still need help.

TLN Wrote: :

######################################################################
# Database & System Config
#
# dbhost: SQL Database Hostname
# dbuname: SQL Username
# dbpass: SQL Password
# dbname: SQL Database Name
# $prefix: Your Database table's prefix
# $user_prefix: Your Users' Database table's prefix (To share it)
# $dbtype: Your Database Server type. Supported servers are:
# MySQL, mysql4, postgres, mssql, oracle, msaccess,
# db2 and mssql-odbc
# Be sure to write it exactly as above, case SeNsItIvE!
# $sitekey: Security Key. CHANGE it to whatever you want, as long
# as you want. Just don't use quotes.
######################################################################

$dbhost = "???";
$dbuname = "???";
$dbpass = "???";
$dbname = "nuke";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "SdFk*fa28367-dm56w69.3a2fDS+e9";


The top half of your post I have quoted tells you this.

Are you planning to host this yourself or with a web host?
If a Hosting provider you do not really need any of the other stuff - as long as they support PHP and MySQL

Apart from this your post is actually not in line with the Site Rules (Link in Sig)

You should also take a look at the Idiots Guide and if still stuck then a look at Common Problems )Again - Link in sig)






Thanks man. I really appriciate it.




Attention! You are currently viewing sitemap page!
We strongly suggest to look at original content

Search from web

Valid HTML 4.01 Valid CSS