Toms Homepage
  Home    Downloads    Your Account    Forums  
  Create an account
Modules
· Home
· Games
· My Gallery
· PHP Manual
· PHP-Nuke HOWTO
· Web Links
· Your Account
 
Who's Online
Welcome, Anonymous
Nickname

Password

Security Code
Security Code
Type Security Code


(Register)

Membership:
Latest: MeridithD
New Today: 517
New Yesterday: 516
Overall: 46369

People Online:
Visitors: 93
Members: 17
Total: 110

Online Now:
COM EmanuelEo
COM KJMKather
COM AndraNath
 ArmandoIW
COM LuisWBU
COM SophiaBmn
 AntjeLloy
 DarleneLe
COM GeorginaO
COM KennySega
COM RozellaMc
COM MargoKyz
COM MildredSH
COM MarcelWri
COM Lawrence2
COM AudreaUri
COM EllisSeym
 
Transferring a local installation to the Web

5.1. Transferring a local installation to the Web

You may prefer to test PHP-Nuke on your local box and acquaint with its features at your own pace, without the need to be constantly online. In this case, when you are done with your evaluation, you will face the problem of transferring your local installation to your webspace. A fresh installation on the Web may not be very attractive an option to you, if you did some more or less heavy customization of the code or preferences.

For the files, simply upload the content of the html folder to your document root, or wherever you want it to appear under that. For the database, use mysqldump or phpMyAdmin (see Section 3.4) to do a backup of the database and import the data into the MySQL of your web presence.

To do a backup from the command line using mysqldump, do:

mysqldump -h dbhost -u dbuname -p dbname > dbbackup.sql

where dbhost, dbuname and dbname are exactly what you entered in config.php (see Section 3.7) for these variables. To import the data using mysql from the command line, do:

mysql -h dbhost -u dbuname -p dbname < dbbackup.sql

If you change your local files and/or tables regularly, you may choose to transfer only the files/tables that changed. In this case, you should drop the affected tables before you reimport them. phpMyAdmin offers a convenient interface for this (see Section 3.4.2 and Section 26.2.1).

It is a good idea to announce these measures to your community, to avoid frustration among your users.


Help us make a better PHP-Nuke HOWTO!

Want to contribute to this HOWTO? Have a suggestion or a solution to a problem that was not treated here? Post your comments on my PHP-Nuke Forum!

Chris Karakas, Maintainer PHP-Nuke HOWTO

Great hosting I can recommend

This site is hosted with Lunar Pages and I am very happy with their service, support and the hosting packages they provide.

CLick on the image below for all the details.

Lunarpages.com Web Hosting

 
This site is
best viewed with:

Get Firefox now
Mozilla Firefox

Need a better mail client? Get Firefox now
Use Mozilla Thunderbird
 
Weather Forcast
Brisbane Today
Forecast
Select City:
 
Whirlpool.net.au
·

403 Forbidden


nginx
" target="new">403 Forbidden


read more...
 
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2004 by Tom Nitzschner.
Web site engine code is Copyright © 2003 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.084 Seconds

:: VereorLCARS phpbb2 style by Vereor :: PHP-Nuke theme by www.nukemods.com ::