When do the install a WordPress CMS on a Linux machine and received an error wp_remote_post() failed. Some theme features may not work. Please contact your hosting provider

After analysed on the few blogs found a solutions, have to add a line on a php.ini configuration file and save the file.

allow_url_fopen = on

Optional, you can restart the webserver,