Mongodb plugin installtion

cPJustinD

Administrator
Staff member
Jan 12, 2021
183
36
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
78
11
8
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
Tarak Nath Databases 11
Tarak Nath Databases 5
F Databases 1
UHLHosting Databases 1
F Databases 1