PHP command-line interface
E452775
The PHP command-line interface is a mode of running PHP scripts directly from a terminal or shell, enabling scripting, automation, and task execution outside of a web server environment.
Statements (53)
| Predicate | Object |
|---|---|
| instanceOf |
PHP SAPI
ⓘ
command-line interface ⓘ |
| allows |
running PHP scripts via cron
ⓘ
running maintenance tasks ⓘ writing build and deployment tools ⓘ writing system administration scripts ⓘ |
| alsoKnownAs | PHP CLI NERFINISHED ⓘ |
| canUseConfigurationFileFrom | -c option ⓘ |
| defaultSAPIFor | many PHP distributions ⓘ |
| developedBy | The PHP Group NERFINISHED ⓘ |
| differsFrom |
PHP Apache module
ⓘ
PHP CGI SAPI NERFINISHED ⓘ |
| documentationURL | https://www.php.net/manual/en/features.commandline.php ⓘ |
| hasExecutableName | php NERFINISHED ⓘ |
| hasOption |
--ini
ⓘ
--rc ⓘ --re ⓘ --rf ⓘ --ri ⓘ --rz ⓘ -S ⓘ -a ⓘ -c ⓘ -d ⓘ -e ⓘ -f ⓘ -i ⓘ -l ⓘ -m ⓘ -n ⓘ -r ⓘ -v ⓘ -w ⓘ |
| introducedInVersion | PHP 4.3.0 ⓘ |
| partOf | PHP NERFINISHED ⓘ |
| programmingLanguage | PHP NERFINISHED ⓘ |
| runsOn |
Linux
NERFINISHED
ⓘ
Unix-like operating systems ⓘ Windows NERFINISHED ⓘ macOS NERFINISHED ⓘ |
| supports |
automation
ⓘ
command-line arguments ⓘ exit status codes ⓘ interactive shell mode ⓘ non-web PHP applications ⓘ running PHP scripts from the command line ⓘ scripting ⓘ shebang execution on Unix-like systems ⓘ standard error ⓘ standard input ⓘ standard output ⓘ task scheduling ⓘ |
| usesConfigurationFile | php.ini ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.