Diagnostics

Inspect the hosting environment through PHP: platform, extensions, filesystem capacity, logs, environment values, sessions and system information.

Start with doctor for a broad health check, then use disk, env, log, ses or sys for one layer. The goal is to observe the state first and change configuration only after the relevant constraint is understood.

When a page starts failing, begin with doctor for PHP environment checks, inspect errors with log, and check available storage with disk. Review the output before sharing it: diagnostics may reveal private paths or settings.

7 commands
lil-terminal

Commands

  • cookiecooBrowser cookiescookie [name|export|import] [options]
  • diskFilesystem capacity and directory sizedisk [path] [-r] [-b]
  • doctorHosting and lil-terminal health checksdoctor [group] [-q|-j]
  • envPHP environment, server and request valuesenv [env|server|request] [<name>]
  • logLog discovery, bounded reading and filteringlog [<file>|<dir>] [-h] [-n <lines>] [-g <text>] [-i] [-l] [-r]
  • sesPHP session data and browser cookiesses [path] [options] [: value]
  • sysSystem information visible to PHPsys [os|host|user|time|uptime|load|memory]

Install the whole group

Download setup.lil to install the current versions of every installable command in this group.

install cookie -v 1.1.2
install disk -v 1.2.3
install doctor -v 1.1.4
install env -v 1.1.5
install log -v 1.3.1
install ses -v 1.3.6
install sys -v 1.1.3

Commands built into the core are skipped automatically.

Download setup.lil ↓