I am trying to upgrade the magento version from 2.1.6 to 2.2.2. I am using composer to upgrade the version.
I have used below commands
composer require magento/product-community-edition 2.2.2 --no-update composer update
Also I have already removed the "escapesshellarg" from the disable_function string but still I am getting below Error
[ErrorException] escapeshellarg() has been disabled for security reasons