PHP-CLI
The PHP-CLI (Command Line Interface) is slightly different from server-side PHP and PHP CLI. It does not change the current directory to the directory of the executed script. The current directory for the script would be the directory where the user uses the PHP CLI command. In other words, it runs in command line. It doesn’t handle headers, or any other server-related things.