Answer the question
In order to leave comments, you need to log in
Why is PHP unable to access the network?
The computer is online, the routes are correct. Ping goes anywhere - everything is ok.
I execute in PHP:
error:echo file_get_contents("http://ya.ru");
# php test_sms_hs.php
PHP Warning: file_get_contents(http://ya.ru): failed to open stream: Network is unreachable in /usr/local/bin/test_sms_hs.php on line 7
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question