ACJ MONGODB SYNC Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
ACJ MONGODB SYNC is a plugin that help you sync data from WordPress to Mongo Db. It completely works in backend and will not break any part of the site while
users having the smooth WordPress Experience.
Currently Supports
- All Options Sync
- All Terms Sync
- Any Post Type Sync.
Requirements
- Requires PHP: 8.0 & greater
Contributors
- Contributors: iamarunchaitanyajami
Pre-requisites
This plugin required MONGODB package an extension enabled. Please follow the below process.
1. Install Required Dependencies
Make sure you have the necessary SSL libraries installed on your system. On Debian/Ubuntu-based systems, you can install them using:
shell
sudo apt-get install -y openssl libssl-dev libcurl4-openssl-dev pkg-config libssl-dev
On CentOS/RHEL-based systems, you might need to install openssl-devel
:
shell
sudo yum install openssl openssl-devel
2. Install MongoDB PHP Extension
You can install the MongoDB PHP extension using PECL (PHP Extension Community Library). Make sure you have pecl installed on your system. Then, run the following command:
`shell
apt-get update
apt-get install libmongoc-1.0-0
pecl install mongodb
`
Follow the prompts to complete the installation process.
3. Enable the MongoDB Extension
Once the extension is installed, you need to enable it in your PHP configuration. Find your php.ini file (you can locate it by running php –ini in the command line), and add the following line:
To find where php.ini file, use below command.
`shell
php -i | grep ‘php.ini’
`
`shell
extension=mongodb.so
mongodb.ssl = true
`
Make sure to restart your web server (e.g., Apache or Nginx) after making this change for the configuration to take effect.
4. Verify Installation
You can verify that the MongoDB PHP extension is installed and enabled by running the following command in your terminal:
shell
php -m | grep mongodb
If the MongoDB extension is properly installed and enabled, you should see mongodb in the list of enabled modules.
5. Handling Installation Issues
If you encounter any issues during the installation process, make sure you have the necessary build tools and development headers installed on your system. You may need packages like php-dev
, gcc
, make
, and others depending on your operating system.
Additionally, refer to the official MongoDB PHP extension documentation for troubleshooting tips and platform-specific installation instructions.
Once you’ve installed and enabled the MongoDB PHP extension, the error you encountered should be resolved, and your PHP script should be able to interact with MongoDB successfully.
Plugin Installation
This section describes how to install the plugin and get it working.
e.g.
- Upload the plugin files to the
/wp-content/plugins/acj-mongodb-sync
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
Screenshots
-
Go to Mangodb Settings Screen.
-
Add MangoDb URI
-
Select the post type, taxonomy data and Post Status data to sync.