php-cgi

command-line interpreter for the PHP scripting language (default)

Install

All systems
curl cmd.cat/php-cgi.sh
Debian Debian
apt-get install php-cgi
Ubuntu
apt-get install php-cgi
Alpine
apk add php-cgi
Arch Arch Linux
pacman -S php-cgi
image/svg+xml Kali Linux
apt-get install php-cgi
CentOS
yum install php-cli
Fedora
dnf install php-cli
Windows (WSL2)
sudo apt-get update sudo apt-get install php-cgi
Raspbian
apt-get install php-cgi
Docker
docker run cmd.cat/php-cgi php-cgi powered by Commando

php-cli

command-line interpreter for the PHP scripting language (default)

This package provides the /usr/bin/php command interpreter, useful for testing PHP scripts from a shell or performing general shell scripting tasks. PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. This package is a dependency package, which depends on Debian's default PHP version (currently 7.0).

php-cgi

server-side, HTML-embedded scripting language (CGI binary) (default)

This package provides the /usr/lib/cgi-bin/php CGI interpreter built for use in Apache 2 with mod_actions, or any other CGI httpd that supports a similar mechanism. Note that MOST users probably want the php-fpm package that provide FastCGI support. PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. This package is a dependency package, which depends on Debian's default PHP version (currently 7.0).