Translations of this page?:

Copying & Moving a Feng Office installation

How to create a copy of a Feng Office installation

Sometimes you may need to create a copy of a Feng Office installation, either for testing purposes so that you can test with your everyday data, or maybe to start a new installation with some preloaded data. These are the steps you need to follow to create a copy of a Feng Office installation:

  1. Create a copy of your database (this can be done either with phpMyAdmin, MySQL GUI Tools, the mysql and mysqldump commands, etc.)
  2. Optionally, create a new database user that can only access this new copy of the database, to avoid any remote possibility of writing data to your original database
  3. Create a copy of your installation directory and delete file ‘cache/autoloader.php’ from the copy.
  4. Edit the configuration file of the copied installation (FENG_ROOT/config/config.php).
    1. Change the value of the DB_NAME constant to the name of the newly created database.
    2. Change the DB_USER and DB_PASS constants as needed.
    3. Change the ROOT_URL constant to point to the new installation.

Now you can access your copied installation and it will not affect your original installation.

How to move an existing Feng Office installation

Let's say you have installed your Feng Office in the following directory:

Now you decide to move this installation to:

  1. Move the folder within your sever to the new location
  2. Change the path in the file FENG_ROOT/config/config.php accordingly.
  3. Delete the file FENG_ROOT/cache/autoloader.php (which will be recreated automatically with the new path)
  4. Change the permissions of the following folders to 775 (or 777 on some hostings):
    1. FENG_ROOT/cache
    2. FENG_ROOT/config
    3. FENG_ROOT/tmp
    4. FENG_ROOT/upload


PLEASE NOTE: Comments to the wiki should only contain suggestions and questions that help us to improve the manual (and not the software). These comments will be deleted as soon as the information has been integrated into the manual.

Posts that do not contribute to the DOCUMENTATION of the project will be DELETED.

Ask QUESTIONS on the product here.
Report BUGS here.
Propose NEW FEATURES here.

Mareike Riegel, 2011-03-03 06:28

Did as written here, but: the files do not work. Every file downloaded and open generates a error saying it's not readable. Suggestion: Somehow the files are changed/encrypted when uploaded; only original feng can make it readable again.

Mareike Riegel, 2011-03-03 08:13

Files and documents work now; was something wrong with ftp

Enter your comment
copy_installation.txt · Last modified: 2013-02-27 18:06 (external edit)
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported

Terms of Service | Privacy and Security policies | Copyright © 2021