Skip to main content

mongo on php

Comments

5 comments

  • cPRex Jurassic Moderator
    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
  • morteza3245
    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
  • cPRex Jurassic Moderator
    That's the correct process to uncomment the line, but it doesn't actually install the software for PHP to use it on the server. You may want to search the forums here to see what other users have done to try and implement this in the past, such as this user:
    0
  • morteza3245
    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
  • cPRex Jurassic Moderator
    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.