N
N
Nick2016-08-29 11:05:20
Sphinx
Nick, 2016-08-29 11:05:20

How to remove the error php_network_getaddresses: getaddrinfo failed: Name or service not known?

The site uses the Sphinx search engine.
If you use a search on the site domain.ru (without www), then it works, but if www.domain.ru it gives an error connection to :9312 failed (errno=0, msg=php_network_getaddresses: getaddrinfo failed: Name or service not known)
This server is also DNS. Both records resolve normally. The site works fine both with www and without.
Console search also works.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Puma Thailand, 2016-08-29
@opium

well, you are from the server, then check in the same php

N
Nick, 2016-08-29
@anemuk

In short, everything was decided by changing the PHP version from 5.4 to 5.3

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question