Installation of ApPHP Calendar (version 2.0.0 or above)

Installation of ApPHP Calendar

A new installation of ApPHP Calendar is a very straight forward process:

Step 1. Uncompressing downloaded file.

Uncompress the ApPHP Calendar script archive. The archive will create a directory called "PHPCAL_XYZ", where XYZ - is a number of current version.

Step 2. Uploading files.

Upload content of sub-directory calendar/ (all files and sub-directories it includes) to your document root (public_html, www, httpdocs etc.) or your calendar directory using FTP.

Pay attention: DON'T use the capital letters in the name of the folder (for Linux users).

For example:
public_html/{calendar directory}/

Step 3. Creating database.

3.1. Using your hosting Control Panel, phpMyAdmin or another tool, create your database and user, and assign that user to the database. Grant SELECT, INSERT, DELETE, and UPDATE privileges to this user. Write down hosting, name of the database, username, and password for the Script Installation Procedure.

3.2. Create all appropriate database tables using examples/install/sql_dump/installation_new.sql file (you have to import it). Before importing, change '<DB_PREFIX>' table prefix holders on any prefix you want (for example, 'CAL_').

3.3. Create file in calendar/inc/ folder (take example from examples/install/config.tpl) and change database host, database name, username and user password with appropriate values, saved on step 3.1. Change in define('DB_PREFIX', ''); the the value with the prefix you have selected before for importing sql dump file. For example: define('DB_PREFIX', 'CAL_');
define('DATABASE_HOST', 'host');
define('DATABASE_NAME', 'database name'); 
define('DATABASE_USERNAME', 'user name');
define('DATABASE_PASSWORD', 'user password');

define('DB_PREFIX', 'CAL_');
define('INSTALLATION_KEY', 'your_key'); // Unique key for installation
define('DB_CONNECTION_MODE', 'production'); // 'debug' or 'production'

Step 4. Settings and access rights.

4.1. Set permissions: e.g chmod 755 for calendar/inc/ and calendar/tmp/ folders.

4.2. If you run ApPHP Calendar under IIS, you have to allow rewrite mode for Windows.

- To do this, open the httpd.conf file and uncomment the following lines (remove the trailing #s):
#LoadModule rewrite_module modules/
#AddModule mod_rewrite.c
- Another way is simply to "share" your calendar/inc/ and calendar/tmp/ folders.

Step 5. Running examples.

Now you can run the examples. To do this, open a browser and type in Address Bar
http://localhost/{calendar directory}/code_template.php
http://{}/{calendar directory}/code_template.php
then follow the instructions from Getting Started.

Congratulations, you now have ApPHP Calendar installed!

Using the installation wizard (version 3.0.0 or above)

Perform steps 1.1, 1.2 and 1.3 from Manual Installation and then type in your browser
http://localhost/{calendar directory}/index.php
Select setup with Wizard and follow the instructions on installing the script.

Create Your Free Account
Please remember that this information is essential to use our services correctly.
After creating the account you will be able to download all of our FREE products.
Fields marked with * are mandatory

Please send me information about updates, new products, specials and discounts from ApPHP!
We recommend that your password should be at least 6 characters long and should be different from your username/email. Please use only letters of the English alphabet to enter your name.

Your e-mail address must be valid. We use e-mail for communication purposes (order notifications, etc). Therefore, it is essential to provide a valid e-mail address to be able to use our services correctly.

All your private data is confidential. We will never sell, exchange or market it in any way. Please refer to Privacy Policy.

By clicking "Create Account", you are indicating that you have read and agree to the ApPHP Terms & Conditions.