Verifique la conexión de red PHP
$response = null;
system("ping -c 1 google.com", $response);
if($response == 0)
{
// this means you are connected
}
Underlyingglitch
$response = null;
system("ping -c 1 google.com", $response);
if($response == 0)
{
// this means you are connected
}