Knowledge Base

Answers to Common liveSite Questions

Back to Knowledge Base

 
Software Installation

liveSite Software Installation (Video & Instructions)

NOTE: If you are hosting with us, this article is not for you. You don't need to hassle with installing or updating anything.

Installing liveSite (Part 1)

 

Installing liveSite (Part 2)

Detailed Instructions

It assumes that PHP and MySQL are installed on your web server, and that you can copy or FTP files to your web server, and create a MySQL database and user.  If the required server software is not ready yet, then please read the system requirements article and the server software installation article.

The instructions below assume that you are using the Apache web server.  For the IIS web server, you should use the httpd.ini file instead of the.htaccess file.  The httpd.ini file can be found in the misc directory in the software.  liveSite does not officially support installation in a sub-directory of the web root for the IIS web server, however you might be able to get it to work by placing the httpd.ini file in the web root and editing it as required.

  1. Download the latest version of the liveSite software from our download page.  You should choose the correct download for your version of PHP.  One download is for PHP 5 - 5.2.* (and Zend Optimizer).  The other downloads are for PHP 5.3.* or PHP 5.4.* (and Zend Guard Loader).  If you do not know your version of PHP then we recommend that you ask your hosting provider or server administrator.

  2. Unzip the software files on your computer.

  3. You should decide where you want to install liveSite.  You can either install liveSite in the web root (e.g. www) or, as of v7.3, in a sub-directory (e.g. www/example).  You might want to install liveSite in a sub-directory if you don't want to interfere with an active website.  You can even install liveSite into a deep sub-directory (e.g. www/example/example/).  You can easily move liveSite later when you are ready to launch your site.  The directory that you install liveSite in will be referred to as the "installation directory" below.

  4. If you want liveSite to become the default website at the installation directory, then back up your existing index file, if one exists, by adding ".bak" to the filename.  The index file is typically named index.htm, index.html, index.php, default.htm, default.html, or etc.  If you do not want liveSite to become the default site at the installation directory then rename the livesite_software/www/index.php file on your computer to livesite_index.php.

  5. Go to the unzipped folder livesite_software/www/ and make sure you can see the .htaccess file.  If you do not, you will need to go into your Windows or Mac settings to show system / hidden files.

  6. If there is already an .htaccess file in the installation directory on the web server,  then you'll need to add the liveSite .htaccess "rules" into your existing .htaccess file. To do this, open both .htaccess files and copy and paste the contents of the liveSite livesite_software/www/.htaccess file into the existing .htaccess file on the web server.

  7. Copy or FTP (IN BINARY MODE, NOT AUTO OR ASCII) the contents of the livesite_software/www folder to the installation directory. Do NOT upload the livesite_software/www folder itself (only its contents).  The structure of the files after they have been copied should look like the notes below.
     
    livesite_software/www/livesite -> [installation directory]/livesite
    livesite_software/www/.htaccess -> [installation directory]/.htaccess 
    livesite_software/www/index.php -> [installation directory]/index.php  (or the renamed livesite_index.php if you don't want liveSite to be the default website as in step 4 above).

    OPTIONAL: You may rename the livesite folder on the web server, if you would like to use a custom name (e.g. login) for private labeling or other reasons.  However, if you do this, you must update the .htaccess and index.php files in the web root so that they contain the custom name instead of livesite.
     
  8. Update the permissions of the following items to be writeable. For Unix, the necessary writable permission value is different for different servers.  Permission value 777 will normally work, however this value might not be secure for some servers.  Please contact your hosting provider or server administrator if you have any questions about this.  For Windows and IIS, you may give the web user full control of the items below.

    [installation directory]/.htaccess
    [installation directory]/livesite/config.php
    [installation directory]/livesite/files

  9. Create a MySQL database and a MySQL user that can access the database.  You can usually do this from within your hosting provider's control panel.  Please take note of the information you enter, because you will need it in the next step.

  10. Now it's time to run the liveSite installation program. To run the liveSite installation program, launch your web browser on your computer and go to the URL below.  Replace "[www.example.com]" with your hostname and "[path]" with the path to the installation directory (e.g. "/" for the web root).

    http://[www.example.com][path]livesite/install/

    Enter the MySQL information that you took note of in step 9 and complete the rest of the installation form and submit it. 

    If you see the Congratulations message - you have installed liveSite successfully!  If you get an error, please search our knowledge base and forum for others had may have had the same problem.  If you don't find an answer, post your error to our forum and we will get you an answer.

    Also, please review the additional installation steps for different hosting providers.

Congratulations, you have installed liveSite!  You can login to the liveSite Control Panel at http://[www.example.com][path]livesite/ and begin using liveSite!

OPTIONAL: Some advanced features of liveSite will require you to setup Scheduled Tasks that run periodically on your web host.