Installation

Installing Smart PHP Calendar is very easy. Just follow the instructions below and your calendar will be ready in seconds.

  1. Unzip the Smart PHP Calendar package.
  2. Open config.php and enter your calendar address, database host, username, password, database name and your license key.
    //config.php
    
    //------------------------------------------------------------------------------
    // Domain Name and License Key
    //------------------------------------------------------------------------------
    
    // Exact calendar address
    // example: http://yourhost.com/your-calendar-directory (without trailing slash)
    define('SPC_ROOT', 'http://smartphpcalendar.com/demo');
    
    // domain name | without protocol (http, https), www and subdomain
    // example: yourhost.com
    define('SPC_DOMAIN', 'smartphpcalendar.com');
    
    define('SPC_LICENSE_KEY', 'my-license-key');
    
    //------------------------------------------------------------------------------
    // Database Configuration
    //------------------------------------------------------------------------------
    
    define('SPC_DB_HOST', 'localhost');
    define('SPC_DB_USERNAME', 'root');
    define('SPC_DB_PASSWORD', 'root');
    define('SPC_DB_DBNAME', 'calendar');
    
  3. Upload Smart PHP Calendar to your server.
  4. Enter "www.your-host.com/your-calendar-directory/install" in your web browser.
  5. Enter your calendar SuperUser username, password, email and click install.
Smart PHP Calendar Installation

After receiving successful installation message you can login and use your calendar.