phar.phar

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

Install

All systems
curl cmd.cat/phar.phar.sh
Debian Debian
apt-get install php
Ubuntu
apt-get install php
Alpine
apk add php
Arch Arch Linux
pacman -S php
image/svg+xml Kali Linux
apt-get install php
CentOS
yum install php-cli
Fedora
dnf install php-cli
Windows (WSL2)
sudo apt-get update sudo apt-get install php
OS X
brew install php
Raspbian
apt-get install php
Docker
docker run cmd.cat/phar.phar phar.phar 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

PHP is an HTML-embedded scripting language. PHP attempts to make

it easy for developers to write dynamically generated web pages. PHP also offers built-in database integration for several commercial and non-commercial database management systems, so writing a database-enabled webpage with PHP is fairly simple. The most common use of PHP coding is probably as a replacement for CGI scripts. The php package contains the module (often referred to as mod_php) which adds support for the PHP language to Apache HTTP Server.