How to install
Install X3 CMS is not a difficult task but with the installer is much more comfortable.
Using the installer
Here are the steps to follow:
- copy files into your web space
- create a mysql database with charset utf8
- set set write permissions (777) on:
.htaccess
cms/config/config.php
cms/files folder and all its contents
- open a browser and go to http://your_web_space and follow the instructions
- enjoy with X3 CMS
The old way
For those who really want to do everything by hand or to get your hands on an existing situation, here are the steps to follow:
- check requirements
Apache2 with htaccess enabled, mod_rewrite, headers, filter
mysql5
php5 with PDO and PDO mysql driver
- copy files into your web space
- set write permissions on cms/files folder and all its contents
- open the file .htaccess
uncomment the last 6 lines (remove the pound)
set the correct path in RewriteBase
if the folder is the root domain leave the slash (eg. /)
otherwise enter a slash followed by the name of the folder (eg. /x3cms)
save and close the file. htaccess
- created the database
- populate it with the file INSTALL/mysql.sql
- change the following tables:
table sites - replace the value in the domain with the URL of your site
example http://www.mysite.com
example http://www.mysite.com/x3cms
example http://localhost/x3cms
table users - replace the values of the fields username, email and passsword
the password field is obtained with the function md5
- open the file cms/config/config.php
if you will put together multiple sites in the same domain change the value "sitekey" in the row
define ('SITE', 'sitekey');
enter the database access parameters in the array
$ DB_CONFIG ['default'] = array (
'Db_type' => 'mysql',
'Db_name' => 'x3cms',
'Db_host' => 'localhost',
'Db_socket' =>'',
'Db_user' => 'root',
'Db_pass' => 'root',
'Persistent' => false,
'Charset' => 'utf8'
);
you must replace the value of db_name, db_host, db_user and db_pass.
If necessary you can also enter the path to the socket of the db.
Comments
There are no comments
Add a comment