i just deployed my php/mogodb website (php part in a shared web hosting, and mongodb in mongohq)
my probleme is that the instaled php in the shared web host don’t contains any mongo driver
How to solve this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Generally speaking, shared hosting providers are not equipped for PHP/MongoDB deployments. Getting MongoDB working with PHP requires a compilation and some config changes which you generally cannot do on shared hosts.
You basically have two options:
Given that you’re using MongoHQ for your MongoDB hosting, I would check which Data Center they’re using for hosting. Getting a VM in the same DC will definitely help the speed of your app.