Install Phar5 On A Debian, Ubuntu, Alpine And Raspbian
Install phar5
-
Debian
apt-get install php5-cliClick to copy -
Ubuntu
apt-get install php5-cliClick to copy -
Alpine OS
apk add php5-cliClick to copy -
Raspbian
apt-get install php5-cliClick to copy
php5-cli
command-line interpreter for the php5 scripting languageThis 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.




