Mongodb support

Please advice how can i add mongodb support for php, there is no extension for this and it would be great if you will add option to install mongodb server and admin console)

can i install it manually (php module)?

well i have found this topic

lets say you want install mongodb support for php71
under root

yum install re2c
yum install lsphp71-devel make gcc glibc-devel zlib-devel
/usr/local/lsws/lsphp71/bin/pecl install mongodb
chmod 755 /usr/local/lsws/lsphp71/lib64/php/modules/mongodb.so

then open cyberpanel go to SERVER-> PHP → Edit configs and select advanced
find section “Dynamic Extensions” or just add
add line extension=mongodb.so
http://prntscr.com/mllwd1
save and it will works
how to install mongodb read on official site

Hi there,

Any guidelines I can use to install MongoDB extension on Ubuntu 18.04 ?

its all the same i think, but you need to replace
yum install re2c
with
apt-get install re2c

Type your comment> @pashkasan said:

well i have found this topic
Install Mailparse extension (or others) Tutorial — CyberPanel - WebHosting Control Panel for OpenLiteSpeed

lets say you want install mongodb support for php71
under root

yum install re2c
yum install lsphp71-devel make gcc glibc-devel zlib-devel
/usr/local/lsws/lsphp71/bin/pecl install mongodb
chmod 755 /usr/local/lsws/lsphp71/lib64/php/modules/mongodb.so

then open cyberpanel go to SERVER-> PHP → Edit configs and select advanced
find section “Dynamic Extensions” or just add
add line extension=mongodb.so
http://prntscr.com/mllwd1
save and it will works
how to install mongodb read on official site

I used this for php72 and worked well thanks