whsuite billing hosting install
5 марта, 2021 по
whsuite billing hosting install
Administrator
| No comments yet


issue was solved by going into the whsuite folder and running composer install
*note: composer will need to be installed. This is not mentioned in the docs.

apt-get install php7.0-mbstring php7.0-curl

 

REQUIREMENTS:
– php-pear (install automatically php7.0-xml and php-xml)
sudo apt-get install php-pear
-php7.0-mbstring
sudo apt-get install php7.0-mbstring
-php7.0-dev
sudo apt-get install php7.0-dev
INSTALLATION:
1- cd /tmp/xxxxxx (e.g: cd /tmp/pear/download)
2- wget http://pecl.php.net/get/mailparse-3.0.1.tgz
3- tar -xzvf mailparse-3.0.0.1.tgz
4- cd mailparse-3.0.1
5- build
6- ./configure
7- make
If make generates an error
– sudo mkdir /tmp/pear/download/mailparse-3.0.1/
– cp /usr/share/php7.0-mbstring/mbstring/mbstring.ini /tmp/pear/download/mailparse-3.0.1/ext
– sudo nano mailparse.c
– comment the lines 33, 34 and 35
/*#if !HAVE-MBSTRING
#error
#endif*/
-save and run again the commande make
8-sudo make install
CONFIGURATION:
– add extension =mailparse.so to php.ini under cli and fpm (in dynamics extensions)
sudo nano /etc/php/7.0/cli/php.ini
sudo nano /etc/php/7.0/fpm/php.ini
-make mailparse.ini file in mods-available directory
cd /etc/php/7.0/mods-available
sudo nano mailparse.ini
insert those lines
; configuration for php mailparse module
; priority=20
extension=mailparse.so
-make a link to the mailparse.ini
cd /etc/php/7.0/fpm/conf.d

sudo ln -s /etc/php/7.0/mods-available/mailparse.ini 20-mailparse.ini

 

 

https://github.com/WHSuite?page=2

Войти to leave a comment