Install Phar5 On A Debian, Ubuntu, Alpine And Raspbian

Install Phar5 On A Debian, Ubuntu, Alpine And Raspbian

phar5

command-line interpreter for the php5 scripting language

Install phar5

  • Debian apt-get install php5-cli Click to copy
  • Ubuntu apt-get install php5-cli Click to copy
  • Alpine OS apk add php5-cli Click to copy
  • Raspbian apt-get install php5-cli Click to copy

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.

Installing phar5 command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Alpine and Raspbian operating systems. Once you run the command it will install the latest version of phar5 2026 package in your OS.