phar5

command-line interpreter for the php5 scripting language

Install

All systems
curl cmd.cat/phar5.sh
Debian Debian
apt-get install php5-cli
Ubuntu
apt-get install php5-cli
Alpine
apk add php5-cli
Windows (WSL2)
sudo apt-get update sudo apt-get install php5-cli
Raspbian
apt-get install php5-cli
Docker
docker run cmd.cat/phar5 phar5 powered by Commando

php5-cli

command-line interpreter for the php5 scripting language

This package provides the /usr/bin/php5 command interpreter, useful for testing PHP scripts from a shell or performing general shell scripting tasks. The following extensions are built in: bcmath bz2 calendar Core ctype date dba dom ereg exif fileinfo filter ftp gettext hash iconv libxml mbstring mhash openssl pcntl pcre Phar posix Reflection session shmop SimpleXML soap sockets SPL standard sysvmsg sysvsem sysvshm tokenizer wddx xml xmlreader xmlwriter zip zlib. 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.