Ioncube + 502 Request error

Firstly i am very new to Local and a bit of a novice with Wordpress.
I tried to import a site using the all in one migration plugin but it failed because ioncube loader is needed for one of the plugins.
So i set up a new site with custom environment so that i could install the ioncube loader but now when i hit the view site button i just get the 502 request error page.
I can view the error logs but in truth they mean nothing to me!

Any suggestions?

Anyone have any ideas?

Very helpful

try this: