Fix for http request,fopen,  curl and controller.