Install the complete package with local command reference and every published mode.
install doctordoctorStart with platform, extensions, files, repo or security.
doctor [group] [-q|-j]doctorcheck everything
doctor platformshow PHP, SAPI, limits, session and OPcache checks
doctor extensionsshow PHP extension checks
doctor filescheck project paths, permissions and storage
doctor repocheck the lil-repository
doctor securitycheck HTTPS, authorization and cookies
-qshow warnings and failures only
-jreturn machine-readable JSON
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.
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.
Install the complete package with local command reference and every published mode.
install doctorInstall the reduced package. Local reference is omitted;
install doctor -mInstall exactly this published version.
install doctor -v 1.1.4Ask upgrade to check compatibility and replace the installed block only when needed.
upgrade doctorRemove the extension block while leaving the core and unrelated modules intact.
install doctor -uExamples are copyable command lines, not actions executed by this website. Review paths, permissions and destructive flags before running them on a real project.
doctorTraining example — PHP environment, server and repository responses are simulated
PLATFORM
+ php 8.4.24 cli
+ memory -1
+ execution 0 s
+ upload upload 2M, post 8M
+ session /var/lib/php/sessions
! opcache disabled or unavailable
EXTENSIONS
+ session loaded
+ json loaded
+ tokenizer loaded
+ filter loaded
+ hash loaded
+ pcre loaded
! curl optional
+ openssl loaded
+ fileinfo loaded
! mbstring optional
! zip optional
+ phar loaded
! mysqli optional
! imap optional
+ exif loaded
! imagick optional
+ sodium loaded
+ zlib loaded
! bz2 optional
FILES
+ lil training-runtime/lil.php [w]
+ cwd sandbox [w]
+ base sandbox [w]
! extensions training-runtime/sandbox_fixture/extensions.php [ro]
+ temp /tmp [w]
+ disk 29.7 GB free of 31.5 GB
! asset-css not installed
! asset-js not installed
REPO
+ endpoint https://repo.lil.dog
! install-api undefined
+ installer latest v1.4.6
SECURITY
! https not detected
! authorization disabled build
+ display-errors 0
+ url-include
! expose-php 1
! cookie HttpOnly off, Secure off
+ lil-mode 0644
OK 27
WARN 16
FAIL 0doctor platformTraining example — PHP environment, server and repository responses are simulated
+ php 8.4.24 cli
+ memory -1
+ execution 0 s
+ upload upload 2M, post 8M
+ session /var/lib/php/sessions
! opcache disabled or unavailable
OK 5
WARN 1
FAIL 0doctor extensionsTraining example — PHP environment, server and repository responses are simulated
+ session loaded
+ json loaded
+ tokenizer loaded
+ filter loaded
+ hash loaded
+ pcre loaded
! curl optional
+ openssl loaded
+ fileinfo loaded
! mbstring optional
! zip optional
+ phar loaded
! mysqli optional
! imap optional
+ exif loaded
! imagick optional
+ sodium loaded
+ zlib loaded
! bz2 optional
OK 12
WARN 7
FAIL 0doctor filesTraining example — PHP environment, server and repository responses are simulated
+ lil training-runtime/lil.php [w]
+ cwd sandbox [w]
+ base sandbox [w]
! extensions training-runtime/sandbox_fixture/extensions.php [ro]
+ temp /tmp [w]
+ disk 29.7 GB free of 31.5 GB
! asset-css not installed
! asset-js not installed
OK 5
WARN 3
FAIL 0doctor repoTraining example — PHP environment, server and repository responses are simulated
+ endpoint https://repo.lil.dog
! install-api undefined
+ installer latest v1.4.6
OK 2
WARN 1
FAIL 0doctor securityTraining example — PHP environment, server and repository responses are simulated
! https not detected
! authorization disabled build
+ display-errors 0
+ url-include
! expose-php 1
! cookie HttpOnly off, Secure off
+ lil-mode 0644
OK 3
WARN 4
FAIL 0doctor -qTraining example — PHP environment, server and repository responses are simulated
PLATFORM
! opcache disabled or unavailable
EXTENSIONS
! curl optional
! mbstring optional
! zip optional
! mysqli optional
! imap optional
! imagick optional
! bz2 optional
FILES
! extensions training-runtime/sandbox_fixture/extensions.php [ro]
! asset-css not installed
! asset-js not installed
REPO
! install-api undefined
SECURITY
! https not detected
! authorization disabled build
! expose-php 1
! cookie HttpOnly off, Secure off
OK 27
WARN 16
FAIL 0doctor -jTraining example — PHP environment, server and repository responses are simulated
{
"summary": {
"ok": 27,
"warn": 16,
"fail": 0
},
"checks": [
{
"group": "platform",
"name": "php",
"status": "ok",
"detail": "8.4.24 cli"
},
{
"group": "platform",
"name": "memory",
"status": "ok",
"detail": "-1"
},
{
"group": "platform",
"name": "execution",
"status": "ok",
"detail": "0 s"
},
{
"group": "platform",
"name": "upload",
"status": "ok",
"detail": "upload 2M, post 8M"
},
{
"group": "platform",
"name": "session",
"status": "ok",
"detail": "/var/lib/php/sessions"
},
{
"group": "platform",
"name": "opcache",
"status": "warn",
"detail": "disabled or unavailable"
},
{
"group": "extensions",
"name": "session",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "json",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "tokenizer",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "filter",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "hash",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "pcre",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "curl",
"status": "warn",
"detail": "optional"
},
{
"group": "extensions",
"name": "openssl",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "fileinfo",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "mbstring",
"status": "warn",
"detail": "optional"
},
{
"group": "extensions",
"name": "zip",
"status": "warn",
"detail": "optional"
},
{
"group": "extensions",
"name": "phar",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "mysqli",
"status": "warn",
"detail": "optional"
},
{
"group": "extensions",
"name": "imap",
"status": "warn",
"detail": "optional"
},
{
"group": "extensions",
"name": "exif",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "imagick",
"status": "warn",
"detail": "optional"
},
{
"group": "extensions",
"name": "sodium",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "zlib",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "bz2",
"status": "warn",
"detail": "optional"
},
{
"group": "files",
"name": "lil",
"status": "ok",
"detail": "training-runtime/lil.php [w]"
},
{
"group": "files",
"name": "cwd",
"status": "ok",
"detail": "sandbox [w]"
},
{
"group": "files",
"name": "base",
"status": "ok",
"detail": "sandbox [w]"
},
{
"group": "files",
"name": "extensions",
"status": "warn",
"detail": "training-runtime/sandbox_fixture/extensions.php [ro]"
},
{
"group": "files",
"name": "temp",
"status": "ok",
"detail": "/tmp [w]"
},
{
"group": "files",
"name": "disk",
"status": "ok",
"detail": "29.7 GB free of 31.5 GB"
},
{
"group": "files",
"name": "asset-css",
"status": "warn",
"detail": "not installed"
},
{
"group": "files",
"name": "asset-js",
"status": "warn",
"detail": "not installed"
},
{
"group": "repo",
"name": "endpoint",
"status": "ok",
"detail": "https://repo.lil.dog"
},
{
"group": "repo",
"name": "install-api",
"status": "warn",
"detail": "undefined"
},
{
"group": "repo",
"name": "installer",
"status": "ok",
"detail": "latest v1.4.6"
},
{
"group": "security",
"name": "https",
"status": "warn",
"detail": "not detected"
},
{
"group": "security",
"name": "authorization",
"status": "warn",
"detail": "disabled build"
},
{
"group": "security",
"name": "display-errors",
"status": "ok",
"detail": "0"
},
{
"group": "security",
"name": "url-include",
"status": "ok",
"detail": ""
},
{
"group": "security",
"name": "expose-php",
"status": "warn",
"detail": "1"
},
{
"group": "security",
"name": "cookie",
"status": "warn",
"detail": "HttpOnly off, Secure off"
},
{
"group": "security",
"name": "lil-mode",
"status": "ok",
"detail": "0644"
}
]
}doctor platform -qTraining example — PHP environment, server and repository responses are simulated
! opcache disabled or unavailable
OK 5
WARN 1
FAIL 0doctor extensions -jTraining example — PHP environment, server and repository responses are simulated
{
"summary": {
"ok": 12,
"warn": 7,
"fail": 0
},
"checks": [
{
"group": "extensions",
"name": "session",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "json",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "tokenizer",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "filter",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "hash",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "pcre",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "curl",
"status": "warn",
"detail": "optional"
},
{
"group": "extensions",
"name": "openssl",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "fileinfo",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "mbstring",
"status": "warn",
"detail": "optional"
},
{
"group": "extensions",
"name": "zip",
"status": "warn",
"detail": "optional"
},
{
"group": "extensions",
"name": "phar",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "mysqli",
"status": "warn",
"detail": "optional"
},
{
"group": "extensions",
"name": "imap",
"status": "warn",
"detail": "optional"
},
{
"group": "extensions",
"name": "exif",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "imagick",
"status": "warn",
"detail": "optional"
},
{
"group": "extensions",
"name": "sodium",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "zlib",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "bz2",
"status": "warn",
"detail": "optional"
}
]
}doctor security -qTraining example — PHP environment, server and repository responses are simulated
! https not detected
! authorization disabled build
! expose-php 1
! cookie HttpOnly off, Secure off
OK 3
WARN 4
FAIL 0doctor -q -jTraining example — PHP environment, server and repository responses are simulated
{
"summary": {
"ok": 27,
"warn": 16,
"fail": 0
},
"checks": [
{
"group": "platform",
"name": "opcache",
"status": "warn",
"detail": "disabled or unavailable"
},
{
"group": "extensions",
"name": "curl",
"status": "warn",
"detail": "optional"
},
{
"group": "extensions",
"name": "mbstring",
"status": "warn",
"detail": "optional"
},
{
"group": "extensions",
"name": "zip",
"status": "warn",
"detail": "optional"
},
{
"group": "extensions",
"name": "mysqli",
"status": "warn",
"detail": "optional"
},
{
"group": "extensions",
"name": "imap",
"status": "warn",
"detail": "optional"
},
{
"group": "extensions",
"name": "imagick",
"status": "warn",
"detail": "optional"
},
{
"group": "extensions",
"name": "bz2",
"status": "warn",
"detail": "optional"
},
{
"group": "files",
"name": "extensions",
"status": "warn",
"detail": "training-runtime/sandbox_fixture/extensions.php [ro]"
},
{
"group": "files",
"name": "asset-css",
"status": "warn",
"detail": "not installed"
},
{
"group": "files",
"name": "asset-js",
"status": "warn",
"detail": "not installed"
},
{
"group": "repo",
"name": "install-api",
"status": "warn",
"detail": "undefined"
},
{
"group": "security",
"name": "https",
"status": "warn",
"detail": "not detected"
},
{
"group": "security",
"name": "authorization",
"status": "warn",
"detail": "disabled build"
},
{
"group": "security",
"name": "expose-php",
"status": "warn",
"detail": "1"
},
{
"group": "security",
"name": "cookie",
"status": "warn",
"detail": "HttpOnly off, Secure off"
}
]
}doctor --jsonTraining example — PHP environment, server and repository responses are simulated
{
"summary": {
"ok": 27,
"warn": 16,
"fail": 0
},
"checks": [
{
"group": "platform",
"name": "php",
"status": "ok",
"detail": "8.4.24 cli"
},
{
"group": "platform",
"name": "memory",
"status": "ok",
"detail": "-1"
},
{
"group": "platform",
"name": "execution",
"status": "ok",
"detail": "0 s"
},
{
"group": "platform",
"name": "upload",
"status": "ok",
"detail": "upload 2M, post 8M"
},
{
"group": "platform",
"name": "session",
"status": "ok",
"detail": "/var/lib/php/sessions"
},
{
"group": "platform",
"name": "opcache",
"status": "warn",
"detail": "disabled or unavailable"
},
{
"group": "extensions",
"name": "session",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "json",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "tokenizer",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "filter",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "hash",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "pcre",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "curl",
"status": "warn",
"detail": "optional"
},
{
"group": "extensions",
"name": "openssl",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "fileinfo",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "mbstring",
"status": "warn",
"detail": "optional"
},
{
"group": "extensions",
"name": "zip",
"status": "warn",
"detail": "optional"
},
{
"group": "extensions",
"name": "phar",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "mysqli",
"status": "warn",
"detail": "optional"
},
{
"group": "extensions",
"name": "imap",
"status": "warn",
"detail": "optional"
},
{
"group": "extensions",
"name": "exif",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "imagick",
"status": "warn",
"detail": "optional"
},
{
"group": "extensions",
"name": "sodium",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "zlib",
"status": "ok",
"detail": "loaded"
},
{
"group": "extensions",
"name": "bz2",
"status": "warn",
"detail": "optional"
},
{
"group": "files",
"name": "lil",
"status": "ok",
"detail": "training-runtime/lil.php [w]"
},
{
"group": "files",
"name": "cwd",
"status": "ok",
"detail": "sandbox [w]"
},
{
"group": "files",
"name": "base",
"status": "ok",
"detail": "sandbox [w]"
},
{
"group": "files",
"name": "extensions",
"status": "warn",
"detail": "training-runtime/sandbox_fixture/extensions.php [ro]"
},
{
"group": "files",
"name": "temp",
"status": "ok",
"detail": "/tmp [w]"
},
{
"group": "files",
"name": "disk",
"status": "ok",
"detail": "29.7 GB free of 31.5 GB"
},
{
"group": "files",
"name": "asset-css",
"status": "warn",
"detail": "not installed"
},
{
"group": "files",
"name": "asset-js",
"status": "warn",
"detail": "not installed"
},
{
"group": "repo",
"name": "endpoint",
"status": "ok",
"detail": "https://repo.lil.dog"
},
{
"group": "repo",
"name": "install-api",
"status": "warn",
"detail": "undefined"
},
{
"group": "repo",
"name": "installer",
"status": "ok",
"detail": "latest v1.4.6"
},
{
"group": "security",
"name": "https",
"status": "warn",
"detail": "not detected"
},
{
"group": "security",
"name": "authorization",
"status": "warn",
"detail": "disabled build"
},
{
"group": "security",
"name": "display-errors",
"status": "ok",
"detail": "0"
},
{
"group": "security",
"name": "url-include",
"status": "ok",
"detail": ""
},
{
"group": "security",
"name": "expose-php",
"status": "warn",
"detail": "1"
},
{
"group": "security",
"name": "cookie",
"status": "warn",
"detail": "HttpOnly off, Secure off"
},
{
"group": "security",
"name": "lil-mode",
"status": "ok",
"detail": "0644"
}
]
}doctor repo -jTraining example — PHP environment, server and repository responses are simulated
{
"summary": {
"ok": 2,
"warn": 1,
"fail": 0
},
"checks": [
{
"group": "repo",
"name": "endpoint",
"status": "ok",
"detail": "https://repo.lil.dog"
},
{
"group": "repo",
"name": "install-api",
"status": "warn",
"detail": "undefined"
},
{
"group": "repo",
"name": "installer",
"status": "ok",
"detail": "latest v1.4.6"
}
]
}doctor unknownTraining example — PHP environment, server and repository responses are simulated
?doctor -zTraining example — PHP environment, server and repository responses are simulated
?doctor platform extensionsTraining example — PHP environment, server and repository responses are simulated
?doctor files -qTraining example — PHP environment, server and repository responses are simulated
! extensions training-runtime/sandbox_fixture/extensions.php [ro]
! asset-css not installed
! asset-js not installed
OK 5
WARN 3
FAIL 0Current stable release of