To check php.ini path, write a file example x.php with content: Then run : example: http://localhost/x.php You will see Configuration File (php.ini) Path and Loaded…
Example for PHP 7.2.34 Step 1: Step 2: make symbolic link for mongodb.so ln -s /opt/remi/php72/root/usr/lib64/php/modules/mongodb.so /usr/lib64/php/modules/mongodb.so Step 3: copy file 50-mongodb.ini cp /etc/opt/remi/php72/php.d/50-mongodb.ini /etc/php.d…