Install

pHAlkaline edited this page May 10, 2017 · 67 revisions

No technical knowledge?

For those who have no technical knowledge, Contact pHAlkaline, commercial services and all the necessary knowledge to put this software at your service.

Free support at http://groups.google.com/group/phkondo

Requirements

  • HTTP Server with mod_rewrite or similar.
  • PHP 5.4 or higher.
  • PHP Ext mcrypt.
  • MySQL 5.1 or higher.
  • All built-in drivers require PDO. You should make sure you have the correct PDO extensions installed.

If you are unsure whether your server meets these requirements, please check with your host or webmaster before proceeding with the installation.

Downloaded .zip from pHKondo

Extract zip file to your [phkondo_directory]

Set [phkondo_directory]/app/tmp directory to writable

Goto -> Set Database

With Composer

You can install pHKondo using Composer

Download Composer or update: composer self-update

Run:

php composer.phar create-project -s stable phalkaline/phkondo [phkondo_directory]

If Composer is installed globally, run:

composer create-project -s stable phalkaline/phkondo [phkondo_directory] for stable version

composer create-project -s dev phalkaline/phkondo [phkondo_directory] for latest dev version

Set [phkondo_directory]/app/tmp directory to writable

Goto -> Set Database

With Git and Composer

Run:

git clone https://github.com/pHAlkaline/phkondo.git

cd [phkondo directory]

composer update

Set [phkondo_directory]/app/tmp directory to writable

Goto -> Set Database

With Git

Run:

git clone https://github.com/pHAlkaline/phkondo.git

cd [phkondo directory]

git clone -b 2.9.4 https://github.com/cakephp/cakephp.git vendor/cakephp/cakephp

cd [phkondo directory]/app/Plugin

git clone --single-branch --branch 2.2 https://github.com/cakephp/debug_kit.git DebugKit

git clone https://github.com/ceeram/clear_cache.git ClearCache

git clone https://github.com/pHAlkaline/cakephp-feedback-plugin.git Feedback

Set [phkondo_directory]/app/tmp directory to writable

Goto -> Set Database

Downloaded .zip from GitHub

Extract zip file to your [phkondo_directory]

Download https://github.com/cakephp/cakephp/archive/2.9.4.zip and extract it at [phkondo_directory]/vendor/cakephp/

It may be necessary to create vendor/cakephp Rename cakephp-2.9.4 to cakephp to became [phkondo_directory]/vendor/cakephp/cakephp not [phkondo_directory]/vendor/cakephp/cakephp-2.9.4 ( it must exist 2 cakephp directories, one inside other .. dont worry )

cd [phkondo directory]/app/Plugin

git clone --single-branch --branch 2.2 git://github.com/cakephp/debug_kit.git DebugKit

git clone https://github.com/ceeram/clear_cache.git ClearCache

git clone https://github.com/pHAlkaline/cakephp-feedback-plugin.git Feedback

Set [phkondo_directory]/app/tmp directory to writable

Goto -> Set Database

Set Database

Create a new MySQL database (utf8_general_ci collation), and run these two SQL dump files in given order:

[phkondo_directory]/app/Config/Schema/phkondo.sql

[phkondo_directory]/app/Plugin/Feedback/Config/Schema/feedback.sql

[phkondo_directory]/app/Config/Schema/phkondodata.sql

For database data translation edit [phkondo_directory]/app/Config/Schema/phkondodata.sql before install

Edit [phkondo_directory]/app/Config/database.php.default, change the details for your database connection at $default and save as database.php.

Goto -> Secure

Secure

Edit [phkondo_directory]/app/Config/core_phapp.php.default and save as core_phapp.php if it does not exists.

Edit [phkondo_directory]/app/Config/core_phapp.php file , search for Security.salt and change some random characters.

Do the same with Security.cipherSeed but use only numbers

random generators

Save core_phapp.php

Edit [phkondo_directory]/app/Config/bootstrap_phapp.php.default and save as bootstrap_phapp.php if it does not exists.

Edit [phkondo_directory]/app/Config/bootstrap_phapp.php file , search for Access.open and change value to true

Save bootstrap_phapp.php

Open http://[pHKondoURL]/users

Has errors or a blank screen appears goto Troubleshooting And Debug section

Everything ok?

edit each user and set new passwords, or add new users.

After done edit [phkondo_directory]/app/Config/bootstrap_phapp.php file , search for Access.open and change the value back to false

bootstrap_phapp.php also contains some other pHKondo settings, use it!!

Save bootstrap_phapp.php

Open http://[pHKondoURL]/

Have fun!!