- PHP 5.5.16 or higher
- MySQL 5.5 or higher
- http servers are: Apache with
mod_rewrite
module enabled or Nginx
- Create a MySQL database from
database-dump.sql
file - Make copy of
app/config/database-example.php
file toapp/config/database.php
- Set
dsn
,username
,password
parameters inapp/config/database.php
according the created database
- Set permission 0775 to
public/uploads
directory
-
Set
public
directory as document root -
On Apache:
-
create
.htaccess
file intopublic
directory with following rules:
Options +FollowSymLinks
RewriteEngine OnRewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
-
-
On Nginx:
- add following directives to your config:
location / {
try_files $uri $uri/ /index.php?$query_string;
}
- add following directives to your config: