I'm trying to integrate the site on Drupal 7 with the mailchimp mailing service. Installed the module for the MailChimp drupal
In the module settings, I inserted the api key for mailchimp. And here there were problems
For the module to work, the MailChimp PHP library is needed. It downloaded and uploaded it to the libraries folder like all the rules.
in the archive with the library files there is a file composer.json
{ "name": "thinkshout/mailchimp-api-php", "version": "1.0.2", "type": "library", "description": "PHP library for v3 of the MailChimp API", "keywords": ["mailchimp", "mail"], "homepage": "https://github.com/thinkshout/mailchimp-api-php", "require": { "php": ">=5.5.0", "guzzlehttp/guzzle": "~6.1" }, "require-dev": { "phpunit/phpunit": "4.8.21" }, "autoload": { "psr-4": { "Mailchimp\\": "src/" } }, "autoload-dev": { "psr-4": { "Mailchimp\\Tests\\": "tests/src/" } } } The site lies on the shared hosting reg ru I connect via SSH, I go to the folder with the MailChimp library, I run the php composer.phar install command, it downloads and the screen shows errors in the console. 
and then the question arose how to increase the version of php in the console from 5.3 to 5.5, google found out that in the console one version, in the hosting control panel another. Ie just switching the version in the panel did not help. And how to install the extension for php dom? tried to do through ssh, not enough permissions to execute the command. So I understand to write only in TP reg ru
And how do I solve the problem with the php version in the console? also write to TP?
Thanks for any help.