Koha Gate Entry Module- In Out Management System- Installation Steps

Recently got many problems while installing gate entry. Following steps helped me.

  • sudo apt-get update

  • sudo apt -y install software-properties-common

  • sudo add-apt-repository ppa:ondrej/php

  • sudo apt-get update

  • sudo apt -y install php7.4

  • sudo apt-get -y install php7.4-{bcmath,bz2,intl,gd,mbstring,mysql,zip}

  • sudo apt-get -y install libapache2-mod-php7.4

  • php -v

  • cd /usr/share/koha/opac/htdocs

  • wget https://github.com/omkar2403/inout/archive/refs/tags/V5.2.zip

  • unzip V5.2.zip

  • mv inout-5.2 inout

  • rm V5.2.zip

  • sudo chmod 777 -R inout

  • sudo chown www-data:www-data -R /usr/share/koha/opac/htdocs

  • sudo su

  • mysql -uroot -p

  • [Enter MySQL Root password]

  • CREATE database user;

  • CREATE USER 'user'@'localhost' IDENTIFIED BY 'user123';

  • GRANT ALL PRIVILEGES ON *.* TO 'user'@'localhost' WITH GRANT OPTION;

  • FLUSH PRIVILEGES;

  • quit;

  • sudo su

  • cd inout/DB

  • mysql -uroot -p user < inout.sql

  • [Enter MySQL Root password]

  • sudo gedit /usr/share/koha/opac/htdocs/inout/functions/dbconn.php

  • sudo systemctl reload apache2 && sudo systemctl restart apache2


If any other version of php already installed means, we can enable 7.4 using following steps

  • sudo su

  • [Enter Password]

  • sudo a2dismod php8.1

  • sudo a2enmod php7.4

  • sudo service apache2 restart

If you are facing error again means follow the below steps

  • sudo update-alternatives --set php /usr/bin/php7.4

  • sudo update-alternatives --set phar /usr/bin/phar7.4

  • sudo service apache2 restart

We can check the all versions of php using following command

  • sudo update-alternatives --config php


Many thanks to:  Dr. N. Suresh, Librarian, Government Law College, Trichy
https://www.vijenderkumar.com/2022/10/in-out-management-system-in-koha..html
http://libtechnophile.blogspot.com/2019/10/koha-plugin-in-out-management-system.html

Copy Text
Next Post Previous Post