I am trying to upgrade my magento 2.1 EE to latest version 2.3.1 EE. But I am getting two issues- 1. PHP memory limit issues. It shows current limit is 512 M and needs to be 756 M or more. But after checking on server, memory_limit is 2048 M.
1) Update below in your php.ini file:
memory_limit = 1G
NOTE: check memory using phpinfo() function.
You can try with this, Check all php.ini files for memory limit and update them :
php.ini files locations:
/etc/php/7.2/cli/php.ini /etc/php/7.2/cgi/php.ini /etc/php/7.2/apache2/php.ini
Check if you are using php fpm
2) For component dependency issues, Please refer below magento 2 devdocs: