Skip to content
oitcode edited this page Mar 3, 2023 · 14 revisions

Welcome to the khajanchi wiki!

Installation requirements

php dependencies

Following php dependencies must be installed in order to run khajanchi.

  • PHP >= 7.2.5
  • BCMath PHP Extension
  • Ctype PHP Extension
  • Fileinfo PHP extension
  • JSON PHP Extension
  • Mbstring PHP Extension
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Tokenizer PHP Extension
  • XML PHP Extension

Please use the tools available in your operating system to install above php dependencies. For example in Ubuntu you can use:

sudo apt install php-mbstring

to install Mbstring php extension. Use the tool provided by your operating system.

Composer

Composer needs to be installed. See composer installation details in composer website if you want to know the details of composer installation for your operating system. Running below commands in terminal will install composer (in Ubuntu).

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"

php -r "if (hash_file('sha384', 'composer-setup.php') === '55ce33d7678c5a611085589f1f3ddf8b3c52d662cd01d4ba75c0ee0459970c2200a51f492d557530c71c15d8dba01eae') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"

php composer-setup.php

php -r "unlink('composer-setup.php');"

sudo mv composer.phar /usr/local/bin/composer

npm

To install npm use the instructions in nodejs website

Installation

Clone this wiki locally