I am using centos 6. I installed mongoDB using yum install mongo-10gen mongo-10gen-server . I started using the mongo server with /etc/init.d/mongod start . Then I added extension=mongo.so to my php.ini. Then I restarted the apache server using /etc/init.d/httpd restart , and everything is fine. but mongo php-driver is not working properly. when i checked my php version with php version i got an error:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mongo.so' - /usr/lib64/php/modules/mongo.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown on line 0 Could not open input file: version
How can I fix this problem?
source share