Saturday, January 6, 2018

Install Apache,php and Mongo DB drvier


I have installed below package before installing mongo


yum -y install httpd php
yum -y install php-pear.noarch
yum -y install  php-devel
yum -y install openssl-devel

Once all  dependence is  finished  run below command.



wget http://pecl.php.net/get/mongo
pecl install mongo-*.tgz

vi /etc/php.in

extension=mongo.so

restart Apache

service httpd restart

No comments:

curl and cacert

curl -v --cacert cacert.pem https://www.example/cgi-bin/f ile.xgi -I -X POST