i guess PHP version is not the issue at all i followed this video and it works well for me after i was about to give it all up https://www.youtube.com/watch?v=HsohwSx9UOE