Web Setup Wizard cannot pass: "Check Component Dependency"

Cause
Notice how the error message refers to some conflicting dependencies but doesn’t actually list any? After upgrading Magento the .htaccess file in the Magento root directory gets overwritten with a clean copy.

This means that the memory_limit for PHP 7 gets reset back down to “756M”. Having this value set so low causes some Magento tasks to timeout. So, I simply changed this back to “2G” (which is what I did when I originally installed Magento). Then logged back into the backend and the Check Component Dependency passed.

Fix
First open the .htaccess file in the Magento root directory:

nano .htaccess

Use your Arrow or Page Up/Down keys to work your way down the file and find a line containing memory_limit. You’ll actually find 2 instances in the file, one under PHP 5 and one under PHP 7. Just go ahead and change the instance under PHP 7.

Replace 756MB with 2G

To save your changes, press Ctrl + X.

Then you’ll be asked if you want to save your changes. Simply Type Y and then Enter to do so.


Example of file

(Before)

<IfModule mod_php7.c>
############################################
## adjust memory limit

    php_value memory_limit 756M
    php_value max_execution_time 18000

############################################

(After)

<IfModule mod_php7.c>
############################################
## adjust memory limit

    php_value memory_limit 2G
    php_value max_execution_time 18000

############################################