Mongodb plugin installtion

cPJustinD

Administrator
Staff member
Jan 12, 2021
286
52
103
Houston
cPanel Access Level
Root Administrator
Hello ! You are correct in that MongoDB is not currently supported. The cPanel Software supports the installation and usage of MySQL and MariaDB. With that being said, we've published an article that covers this in more detail, as well as includes resources to installation and configuration documentation for MongoDB here:

Can I install MongoDB on cPanel?

I hope that this helps! Let us know if you have any other questions or concerns!
 

HostNoc

Well-Known Member
Feb 20, 2020
155
38
28
Ontario
cPanel Access Level
Root Administrator
Install the MongoDB repo:

cd /etc/yum.repos.d


Paste this code inside:

[mongodb]
name=MongoDB Repo
baseurl=The most popular database for modern apps
gpgcheck=0
enabled=1

.
Install MongoDB using Yum:

yum install mongo-10gen mongo-10gen-server

Configure MongoDB to automatically start after reboot:

chkconfig mongod on

Start MongoDB:

service mongod start

Use the powerful PECL command to install your MongoDB PHP extension:

pecl install mongo

Restart Apache to apply changes:

service httpd restart

verify installation with this command:

php -i | grep mongo -i
erify installation with this command:

php -i | grep mongo -i
 
Thread starter Similar threads Forum Replies Date
H Databases 1
A Databases 2
Tarak Nath Databases 11
Tarak Nath Databases 5
F Databases 1