Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<General Installation ConsiderationsInstalling from packages on Debian GNU/Linux and related distributions>
^Installation and ConfigurationLast updated: Mon, 26 Oct 2026

Installation on Unix systems

Table of Contents

Most Unix (and Linux) operating systems and distributions have a packaged version of PHP and extensions available through their packaging system. There are sections with basic information on installing PHP using those systems.

For some distributions, there are also third-party repositories of packages that generally include a wider variety of available versions and extensions.

PHP can also be installed as a component of some third-party application servers .

Finally, PHP can always be installed from the source distributions, which allows the greatest flexibility in choosing what features, extensions, and server APIs to enable. There are sections with information about compiling and configuring PHP to use with different server APIs in particular.


<General Installation ConsiderationsInstalling from packages on Debian GNU/Linux and related distributions>
^Installation and ConfigurationLast updated: Mon, 26 Oct 2026