ee stack purge --php
ee stack install --php
service php5.6-fpm restart
If it does not work, reinstall your server from zero, and don't run
ee stack install. Instead just create your site and EE will download and install all dependencies.
Your first post shows de issue was caused by an error on component “Webgrind”, not essencial for running WordPress sites.