janipriy Posted February 13, 2020 Share Posted February 13, 2020 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. Quote Link to comment https://forums.phpfreaks.com/topic/310026-sudo-pecl-install-mongo/ Share on other sites More sharing options...
requinix Posted February 13, 2020 Share Posted February 13, 2020 Did you install the PHP sources too? Quote Link to comment https://forums.phpfreaks.com/topic/310026-sudo-pecl-install-mongo/#findComment-1574253 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.