Install Dh_php5 On A Debian, Ubuntu, Alpine And Raspbian
Install dh_php5
-
Debian
apt-get install dh-php5Click to copy -
Ubuntu
apt-get install php5-devClick to copy -
Alpine OS
apk add php5-devClick to copy -
Raspbian
apt-get install dh-php5Click to copy
dh-php5
debhelper add-on to handle PHP PECL extensionsdh-php5 provides a debhelper sequence add-on named 'php5' and the dh_php5 command. The dh_php5 command adds the appropriate code to the postinst, prerm and postrm maint scripts to properly enable/disable PHP PECL extensions for all available PHP SAPIs.
php5-dev
Files for PHP5 module developmentThis package provides the files from the PHP5 source needed for compiling additional modules. 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.
Installation of latest dh_php5 command is available for Debian, Ubuntu, Alpine and Raspbian. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.




