mongo on php
Hello
i installed mongo on centos7 and cpanel and all was fine
today i saw this error on error log:
[QUOTE]Unable to load dynamic library 'mongodb.so'
and i checked here: /opt/cpanel/ea-php73/root/usr/lib64/php/modules there is no file like mongodb.so what is issue do you think? how i should check if file mongodb.so exist or not? how i should install mongodb.so again?? thanks.
and i checked here: /opt/cpanel/ea-php73/root/usr/lib64/php/modules there is no file like mongodb.so what is issue do you think? how i should check if file mongodb.so exist or not? how i should install mongodb.so again?? thanks.
-
Hey there! cPanel doesn't provide support for any Mongo services, so that would all need to be setup and installed manually on the system. I'm sorry I don't have better news on this one. 0 -
ok, just i have some question i want add mongodb.so on php.ini i added from this section: multiphp ini editor > editor mode > php 7.3 and then i added below line: extension=/opt/cpanel/ea-php73/root/usr/lib64/php/modules/mongodb.so but when i check here: PHP 7.3.28 - phpinfo() i see still there is no mongodb on php test can you help where i should add this mongodb.so? thanks. 0 -
no no, i just want know, i installed module fine, so when i type php -m i see mongodb at result but i want know why it not load at test php file? where i should add .so file? 0 -
The files are located in /opt/cpanel/ea-php##/root/etc/php.d. Inside that directory you'll see a list of files and each one contains the .so extension link. The actual .so files are located in /opt/cpanel/ea-php56/root/etc/php.d/root/usr/lib64/php/modules/ 0
Please sign in to leave a comment.
Comments
5 comments