Hello everyone, as you will see the following problem:
install: Package community/MercadoPagoTransparent 2.7.10: requires PHP version >= 5.2.0 and <= 6.0.0 current is: 7.0.31-1+0~20180725100316.2+stretch~1.gbp8e8a8b
Server characteristics:
I need your advice to solved this Case.
Note: This installation of magento is from a package provided from themeforest original package install and updated copy by n98
php.ini.user:
Version php
PHP 5.6.37-1+0~20180725093819.2+stretch~1.gbp606419 (cli) Copyright (c) 1997-2016 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
===============================================================================
===============================================================================
PHP 5.6.37-1+0~20180725093819.2+stretch~1.gbp606419 (cli)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
displaycenter@vmi191609:~/public_html$ php7.0 -v
PHP 7.0.31-1+0~20180725100316.2+stretch~1.gbp8e8a8b (cli) (built: Jul 25 2018 10:03:18) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.31-1+0~20180725100316.2+stretch~1.gbp8e8a8b, Copyright (c) 1999-2017, by Zend Technologies
Update Install php5.6 in debian 9 and run this command solved problem to try from ssh:
sudo update-alternatives --config php
PHP 5.6.37-1+0~20180725093819.2+stretch~1.gbp606419 (cli) Copyright (c) 1997-2016 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies displaycenter@vmi191609:~/public_html$ php7.0 -v PHP 7.0.31-1+0~20180725100316.2+stretch~1.gbp8e8a8b (cli) (built: Jul 25 2018 10:03:18) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies with Zend OPcache v7.0.31-1+0~20180725100316.2+stretch~1.gbp8e8a8b, Copyright (c) 1999-2017, by Zend Technologies displaycenter@vmi191609:~/public_html$ update-alternatives --config php There are 3 choices for the alternative php (providing /usr/bin/php). Selection Path Priority Status ------------------------------------------------------------ 0 /usr/bin/php7.2 72 auto mode 1 /usr/bin/php5.6 56 manual mode * 2 /usr/bin/php7.0 70 manual mode 3 /usr/bin/php7.2 72 manual mode Press <enter> to keep the current choice[*], or type selection number: 1 update-alternatives: using /usr/bin/php5.6 to provide /usr/bin/php (php) in manual mode update-alternatives: error: error creating symbolic link '/etc/alternatives/php.dpkg-tmp': Permission denied cloud@server:~/public_html$ sudo update-alternatives --config php [sudo] password for displaycenter: There are 3 choices for the alternative php (providing /usr/bin/php). Selection Path Priority Status ------------------------------------------------------------ 0 /usr/bin/php7.2 72 auto mode 1 /usr/bin/php5.6 56 manual mode * 2 /usr/bin/php7.0 70 manual mode 3 /usr/bin/php7.2 72 manual mode Press <enter> to keep the current choice[*], or type selection number: 1 update-alternatives: using /usr/bin/php5.6 to provide /usr/bin/php (php) in manual mode cloud@server:~/public_html$ ./mage install-file /home/user/public_html/downloader/.cache/community/MercadoPagoTransparent-2.7.10.tgz Package installed: community/MercadoPagoTransparent 2.7.10