Hello i have an error of every command i press in CLI.
Following this Error

Deprecated Functionality: The each() function is deprecated. This message will be suppressed on further calls in /var/www/vhosts/nuovamoda.gr/httpdocs/vendor/colinmollenhour/cache-backend-file/File.php on line 81

Also i have in plesk php version 7.0 but in CLI shows me 7.2
Any suggest?

1 Answer 1


From your question, it seems your cli and your server versions are different. You should do two things here.

  1. Make both cli and your server (Apache/Nginx) php version same.
  2. Make sure the version you are going to use is officially supported by Magento.

PHP 7.2.X is not an officially supported version. Please see the versions which are officially supported. In short, you can use version: 7.0.13 - 7.0.x or 7.1.x

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.