ping

ping checks HTTP reachability from the current PHP hosting environment, including status, final URL, resolved addresses, response time and optional TLS diagnostics.

NetworkVersion 1.2.5Stable
lil-terminal

Overview

Use ping for the question “can this hosting account reach the web endpoint?” It does not use ICMP: the check follows the same HTTP path that a PHP application can use.

This is an HTTP check, not ICMP ping

-i exposes resolved addresses, -4 and -6 isolate address-family problems, and -t adds timing and the final URL. -k is only a trust diagnostic: success with it shows reachability, not a valid certificate.

Syntax

lil-terminal
ping <host|url|me> [options]

Reference

ping me

use the current host

ping example.com

show the HTTP status code

ping https://example.com -k

check HTTPS without verifying the TLS certificate (diagnostics)

-f

show the final HTTP response headers

-i

show resolved IPv4 and IPv6 addresses

-t

show HTTP status, final URL and response time

-4

force the HTTP request over IPv4 when cURL is available

-6

force the HTTP request over IPv6 when cURL is available

-k

disable TLS certificate verification for an explicit HTTPS diagnostic

Current host

ping me is the single special form for the host serving the current lil-terminal request. Any other target is interpreted as a normal host name, IP address or HTTP/HTTPS URL.

Diagnostics

-4 and -6 are useful on dual-stack hosting when one address family is broken but the other still works. They require cURL because PHP streams cannot reliably force the address family. -k is deliberately narrow: it helps distinguish TLS trust failures from basic HTTPS reachability, but a successful result with -k does not mean the certificate is valid or safe.

Interactive sandbox preview

Run the prepared examples directly on the page. Their results are prebuilt and shown in the browser; no terminal command is executed on the server.

Check the current host and response time

Install and manage

Install the current compatible version. Choose Base for the complete feature set or Minimum for the reduced package; use upgrade to update a module that is already installed.

Base and Minimum are two packages of the same current module release, not separate command versions.

Base package

Install the complete package with local command reference and every published mode.

install ping
Minimum package

Install the reduced package. Local reference is omitted; help <cmd> -i opens the current server reference.

install ping -m
Exact public version

Install exactly this published version.

install ping -v 1.2.5
Check or update

Ask upgrade to check compatibility and replace the installed block only when needed.

upgrade ping
Remove module

Remove the extension block while leaving the core and unrelated modules intact.

install ping -u

Examples

Examples are copyable command lines, not actions executed by this website. Review paths, permissions and destructive flags before running them on a real project.

Check the current host and response time
ping me | ping me -t
200

HTTP  200
Time  12.4 ms
URL   https://lil.dog
Use the current host
ping me
200

ping me takes the host from the current HTTP request, so you can test the site that is actually serving this terminal without retyping its domain.

Ping · addresses
ping example.com -i
Host    example.com
IPv4    93.184.216.34
IPv6    2606:2800:220:1:248:1893:25c8:1946
Ping · timing
ping example.com -t
HTTP    200
Time    84.0 ms
URL     https://example.com
Ping · ipv4
ping example.com -4
200
Ping · ipv6
ping example.com -6
200
Check HTTPS without verifying the TLS certificate (diagnostics)
ping https://example.com -k
200
Reject an invalid host
ping "bad host"
Invalid host

Related documentation

Current public release

v1.2.52026-08-07

Compact HTTP diagnostics reference

Reorders ping around the current host and primary status check, then groups reusable diagnostics as options without changing HTTP behavior.