issue for enabling mongo
hello
i enabled mongo using this step: MultiPHP INI Editor
and added below:
[QUOTE]extension=mongo.so
extension=mongodb.so
extension=mongod.so
but still when i type php -i | grep mongo i receive nothing... what is issue? old times i had a command when i type it on terminal, it show me php.ini address used recently on server, what is that command for locate php.ini ? Thanks.
but still when i type php -i | grep mongo i receive nothing... what is issue? old times i had a command when i type it on terminal, it show me php.ini address used recently on server, what is that command for locate php.ini ? Thanks.
-
Hey there! cPanel servers do not have support for MongoDB at this time, or the PHP extension. Simply adding or uncommenting lines in the configuration will not add the software to the machine. You may want to work with a system administrator to see if that is something that could be manually installed in your environment, but we do not do any testing of that software on our side so I can't say for sure if it will work well or not. 0 -
Hey there! cPanel servers do not have support for MongoDB at this time, or the PHP extension. Simply adding or uncommenting lines in the configuration will not add the software to the machine. You may want to work with a system administrator to see if that is something that could be manually installed in your environment, but we do not do any testing of that software on our side so I can't say for sure if it will work well or not.
if possible please help me for other questions 1- old times i had a command when i type it on terminal, it show me php.ini address used recently on server, what is that command for locate php.ini ?0 -
Whoops - I got distracted by Mongo and didn't even notice that in there! The PHP configuration files will be unique for each version of PHP on the server, and they are all located in the /opt/cpanel/ea-php56/root/etc/php.ini area. You'll just need to change the name of the "ea-php$$" portion of the directory path to get the right version. If you ever need to find that you can see the configuration path in a PHP info page. 0 -
once i updated php.ini i should restart php? or just apache? i have litespeed now Thanks. 0 -
If you are making the edits to the files manually on the command line, I do think it's best to restart the Apache and Litespeed service to make sure those changes are loaded. 0
Please sign in to leave a comment.
Comments
5 comments