Skip to content

ivan-kolesov/test-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation guide

Requirements

  • PHP 5.5.16 or higher
  • MySQL 5.5 or higher
  • http servers are: Apache with mod_rewrite module enabled or Nginx

Configuring database

  • Create a MySQL database from database-dump.sql file
  • Make copy of app/config/database-example.php file to app/config/database.php
  • Set dsn, username, password parameters in app/config/database.php according the created database

Configuring folders

  • Set permission 0775 to public/uploads directory

Configuring web server

  • Set public directory as document root

  • On Apache:

    • create .htaccess file into public directory with following rules:
      Options +FollowSymLinks
      RewriteEngine On

      RewriteCond %{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;
      }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published