Php gethostbyname efficiency problem

87 1

Gethostbyname is recently used in the local environment mac + apache execution speed is very fast, zero seconds, but it isn't available on the server side. The environment lnmp, the environment, can solve this problem.
In addition to gethostbyname, there's any other way to put dns into ip.

4 Answers

51 3
118 3
...