Home About phpAddDict Screenshots Demo Buy/Order FAQ Documentation Support Service


phpAddDict Installation Manual

Usage manual

For the right installation of “phpAddDict” you need to:


1.Create directories for admin.
2.Unpack and copy library and administrative script to server.
3.Create the database tables.
4. Set up administrative script .

1.Unzip the package.

Unzip phpAddDict.zip in en empty directory.

Archive's content:

  • phpadddict - phpAddDict PHP class library
  • docs - installation and usage manuals
  • admin - adminstrational panel script
  • phpadddict_db.sql – database tables creation script.
  • example.php - usage example

2.Set up database connection details.

Open up example.php and admin/conf.php and fill in the database connection details:

  $dbHost = ' localhost ';
  $dbDatabase = ' yourdatabasename ';
  $dbUser = ' yourdatabaseuser '; 
  $dbPassword = ' yourdatabasepassword ';

3.Create directories on your server.

You should create directories for:

•  the phpAddDict PHP class library

•  the administrative script

3.1.Create the PHP class library directory.

If you know your include_path, create the directory in include_path location. Let your include_path points to /usr/local/apache/my_includes.

Create phpadddict directory in /usr/local/apache/my_includes:
  cd /usr/local/apache/my_includes
  mkdir phpadddict
If you don't know your include_path, create the directory in your web site root. Let your web site root is /usr/local/apache/yoursite.

Create the phpaddict directory:

  cd /usr/local/apache/yoursite
  mkdir phpadddict
  

3.2.Create the administrational panel directory.

If your web site root is /usr/local/apache/yoursite, create the directory for the administrational panel:
  cd /usr/local/apache/yoursite
  mkdir phpadddict_admin

4.Upload scripts

  • Copy the content of phpadddict directory to server
  • Copy the content of admin directory to server.

4.1.Upload phpadddict

If you know your include_path, upload phpadddict to /usr/local/apache/my_includes/phpadddict.

If you don't know your include_path, upload phpadddict to your web site root subdirectory /usr/local/apache/yoursite/phpadddict/.

For Windows users :

You can upload the directories with your FTP- or SCP- client.

4.5.Upload admin

Upload admin to your web site root directory /usr/local/apache/yoursite/phpadddict_admin/

5.Set up permissions

Give write permission (777) to admin's templates_c directory:

  cd /usr/local/apache/yoursite/phpadddict_admin/
  chmod a+w templates_c

For Windows users :

Assign the rights for templates_c directory with your FTP- or SCP-client. Usually it is made with pressing of the mouse right button on the directory templates_c and changing the "Properties" or "Attributes" item. Such rights as "a+w" (or 777) define the meaning " Writing to the directory is allowed for all ".

6.Create the database tables.

Let your database is called phpadddict_db.

Create tables:

  cd /usr/local/src/phpadddict-1.0
  mysql -uroot -p phpadddict_db < ./phpadddict_db.sql

For Windows users :

Create tables using phpMyAdmin's import.

The following tables will be created:

•  phpadddict_reference

•  phpadddict_referencevalue

•  phpadddict_language

7.Check the installation

To check administrative script, point your browser to http://yoursite.com/phpadddict_admin/

Home About phpAddDict Screenshots Demo Buy/Order FAQ Documentation Support Service Contact Us Press Center