Control Web Panel
		WebPanel => CentOS 7 Problems => Topic started by: tolgatasci on January 07, 2019, 04:59:53 PM
		
			
			- 
				I guess the error is just a small mistake. mongodb is not loading.
i want install PHP-FPM 7.1 
error information
 https://pecl.php.net/get/mongodb-1.5.2.tgz%0D
Resolving pecl.php.net (pecl.php.net)... 104.236.228.160
Connecting to pecl.php.net (pecl.php.net)|104.236.228.160|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2019-01-07 02:01:29 ERROR 404: Not Found.
%0D SPACE :( 404 
quite simple error space or other character have come to the address
			 
			
			- 
				i manuel install its work
#!/bin/bash
cd /usr/local/src
yum -y install openssl-devel
rm -rf mongodb-*
rm -rf mongodb-*
wget https://pecl.php.net/get/mongodb-1.5.2.tgz
tar -zxvf mongodb-1.5.2.tgz
cd mongodb-1.5.2
/opt/alt/php-fpm71/usr/bin/phpize
./configure --with-php-config=/opt/alt/php-fpm71/usr/bin/php-config
make
make install
PHPEXTDIR=`/opt/alt/php-fpm71/usr/bin/php-config --extension-dir`
if [ -e "$PHPEXTDIR/mongodb.so" ];then 
	echo "Creating config file"
	grep "mongodb.so" /opt/alt/php-fpm71/usr/php/php.d/mongodb.ini 2> /dev/null 1> /dev/null|| echo "extension=mongodb.so" > /opt/alt/php-fpm71/usr/php/php.d/mongodb.ini
else
	echo "ERROR: Missing extension file $PHPEXTDIR/mongodb.so"
fi