Elxis CMS Forum

Support => FAQs => Topic started by: eliasan on December 28, 2006, 16:22:36

Title: Is it is possible to develop locally a web site and then transfer it online?
Post by: eliasan on December 28, 2006, 16:22:36
Yes it is!

You can use XAMPP to create a local development environment on your Windows PC.
XAMPP configures an Apache web server with PHP and MySQL. Everything you need to run and test Elxis locally.

It is natural to try to create your first web site based on Elxis under your PC. And what, if you want to transfer it online to a real web hosting account? You can do it easily, if you follow the following steps.

- Use your favourite FTP application to copy all the files of your local web site to the online hosting account.

- Export from your local database an .sql file that contains the info for your site.

- Open the file using an editor that supports UTF-8 encoding like Notepad++ or PSpad.

- Perform a search and replace to change all occurences of local addresses to the ones of your hosting account. For example, replace http://localhost/elxistest OR http://my.elxistest.tst WITH http://www.realsite.com

- Save the modified .sql file

- Create on your hosting account a new database. Remember to set the collation to utf8_general_ci.

- Use the .sql file to populate the database.

- Modify the configuration.php file for the new environment. In most of the cases, you have to change the following variables to reflect the current environment:
$mosConfig_host
$mosConfig_user
$mosConfig_password
$mosConfig_db
$mosConfig_absolute_path
$mosConfig_live_site
$mosConfig_cachepath

Save your changes, and you are ready!
Title: Re: Is it is possible to develop locally a web site and then transfer it online?
Post by: pougas on December 22, 2007, 18:17:41
Look here........ http://users.sch.gr/pougaridis ELXIS with SAFE MODE ON ! and is working great!

Title: Re: Is it is possible to develop locally a web site and then transfer it online?
Post by: Farhad Sakhaei on December 22, 2007, 18:57:58
dear pougas , some of recommended settings will affect in the future and may be they are for some security matters , so it is better to use recommended settings  ;)