Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

134 lines (97 sloc) 4.32 kB
To install Cotonti for the first time,
you'll need to have the minimum following server software pre-installed:
* WWW Server (Apache, nginx, etc)
* PHP 5.1 or higher
* MySQL 4.1 or higher
You MUST ensure that PHP has been compiled with support for:
* GD
* Mbstring
* Sessions
* Zlib
in order to successfully run Cotonti.
If you want support for SEF (Search Engine Friendly) URLs,
you'll need mod_rewrite and the ability to use local .htaccess files.
1. Download the latest Cotonti distribution from the Cotonti website.
2. Unpack the downloaded file on your computer.
3. Open config-simple.php with any text editor of your choice,
the file is located in the /datas directory.
4. Update the config-simple.php file with the values you have recieved from your
HSP (Hosting Service Provider). The data that needs to be updated is:
* Database host URL. If no host is received from your HSP, leave it to
* Database user name, as provided by your host
* Database user password
* Database name. The database must exist before you run Cotonti for the first
* Site URL. Set this to your site URL. Examples: '',
5. After update rename config-simple.php to config.php
6. Connect your FTP software to your site,
and start uploading the Cotonti distribution to your root directory.
You do not need to upload the /sql directory,
since it only contains documentation and database creation scripts.
Make sure you upload to the right directory. Most HSPs' web directory is /,
but a few might have /html, /htdocs or /home as the web root directory.
This should however be mentioned in the information received from your HSP.
If nothing is mentioned, you assume it is /.
7. There are a number of catalogs that you need to change the write access to (CHMOD).
This can easily be performed trough your FTP software.
The directories that needs to be changed is:
/datas/cache/ (and all its subfolders)
You can change the rights by right clicking on the catalogue name and select properties.
Then you get the following screen, and can change the rights to 0777.
8. If you want to use a custom skin for your site, you can get it from or elsewhere. Then you need to put
it to the /skins folder of your site.
The next step is to update your config.php:
* This should point to your skins's name. It's the name of the directory in
/skins folder.
* This should point to your skin's main CSS file. Usually it is the same as
skin's name or 'style'. For more information about themes, visit
* This should contain your prefered timezone instead of GMT. You can find the list
of valid timezones on
8. After uploading, we need to create the SQL database that Cotonti is using.
Connect with phpMyAdmin or similar to your site,
using the username and password received from your Hosting Service Provider.
9. Select Import from the menu when you are logged in.
10. Browse and select the cotonti-install.sql file located under /sql.
Then press GO to create the Cotonti database.
11. Now the database is created and your Cotonti distribution is uploaded.
Time to access the site.
Direct your browser to your site,
and you should see your new Cotonti homepage.
12. The final task is for you to register to the site.
The first register that registers automatically becomes admin,
so register straight away by selecting "Register" in the menu,
and fill out your information. After registration is completed,
log in to your new site.
13. Congratulations! Your site is now up and running.
Note that additional plugins and languages are
available via
Jump to Line
Something went wrong with that request. Please try again.