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.
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.* with Zend Optimizer. The other download is for PHP 5.3.* with Zend Guard Loader. If you do not know your version of PHP then we recommend that you ask your hosting provider or server administrator.
Unzip the software files on your computer.
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.
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.
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.
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.
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.
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.
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.
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).
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.