GUI Installation

From VoIPmonitor.org
Jump to navigation Jump to search

GUI installation

Installing GUI for the first time

The GUI requires some additional packages to be installed/configured - the steps of installing GUI varies by OS/distribution used. Please follow the GUI installation Content of our doc in Install section for your linux distro

Re-installing the GUI

After php upgrade

If you upgraded the OS or php and the GUI pages failed to load/dispaly - It is sufficent to re-install the ioncube for php and GUI package of voipmonitor.

Check your current ioncube configuration

grep 'ioncube' /etc -Inri

and remove the old configuration file 00ioncube from the location

Check your php version

php --version

Install new ioncube

Example is for php 8.1 in kubu 22.04

wget http://voipmonitor.org/ioncube/x86_64/ioncube_loader_lin_8.1.so -O /usr/lib/php/8.1/ioncube_loader_lin_8.1.so
echo 'zend_extension = /usr/lib/php/8.1/ioncube_loader_lin_8.1.so' > /etc/php/8.1/cli/conf.d/01-ioncube.ini
echo 'zend_extension = /usr/lib/php/8.1/ioncube_loader_lin_8.1.so' > /etc/php/8.1/apache2/conf.d/01-ioncube.ini
service apache2 restart

Notes: Plese, take care on version of ioncube you will download, also take care on the destination folder you are storing the module to and the line you will add to .ini files.

Install the GUI

Example is GUI for php 8.1 and First backup current/previous - expected is default GUI location in /var/www/html

cp -a /var/www/html /var/www/html-backup
mkdir /tmp/new
cd /tmp/new
wget 

Example of modules stored for various versions of php in deb10

/etc/php/7.4/apache2/conf.d/01-ioncube.ini:1:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_7.4.so
/etc/php/7.4/cli/conf.d/01-ioncube.ini:1:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_7.4.so
/etc/php/7.3/apache2/conf.d/01-ioncube.ini:1:zend_extension = /usr/lib/php/20180731/ioncube_loader_lin_7.3.so
/etc/php/7.3/cli/conf.d/01-ioncube.ini:1:zend_extension = /usr/lib/php/20180731/ioncube_loader_lin_7.3.so
/etc/php/7.2/apache2/conf.d/01-ioncube.ini:1:zend_extension = /usr/lib/php/20170718/ioncube_loader_lin_7.2.so
/etc/php/7.2/cli/conf.d/01-ioncube.ini:1:zend_extension = /usr/lib/php/20170718/ioncube_loader_lin_7.2.so

From develop link

Note: old GUI installation