Hello,
In AWS Linux private instance (no internet) I am trying to do following.
1. I installed Apache, PHP 5.3.29, mongoDB 3.4.24 using yum.
2. Now I want to install mongo driver from PECL
3. As there is no internet connection. It fails.
Thus , I tried below
get mongodb-1.3.0.tgz (https://pecl.php.net/package/mongod)
gunzip mongodb-1.3.0.tgz
tar -xvf mongodb-1.3.0.tar
cd mongodb-1.3.0
phpize
./configure
sudo make install
It gives me error as:
/home/ec2-user/mongodb-1.3.0/php_phongo.c:60:30: fatal error: Zend/zend_string.h: No such file or directory
#include <Zend/zend_string.h>
^
compilation terminated.
make: *** [php_phongo.lo] Error 1
Can you please help me to install connector.