View Single Post
  #7   (View Single Post)  
Old 9th December 2016
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

I think TronDD is on to something. I've installed WP and saw the following error message after logging into it the first time, on the lower right section of the WP Dashboard:
Quote:
WP HTTP Error: stream_socket_client(): php_network_getaddresses: getaddrinfo failed: no address associated with name stream_socket_client(): unable to connect to tcp://wordpress.org:80 (php_network_getaddresses: getaddrinfo failed: no address associated with name)
I'm no expert on PHP, but I found an old thread that suggested creating /var/www/etc, and populating it with resolv.conf, hosts, and localtime.

That seemed to do the trick. Errors in /var/www/logs/error.log regarding wordpress.org ceased.
Reply With Quote