<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/install.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'install.unix.php',
    1 => 'Installation on Unix systems',
    2 => 'Installation on Unix systems',
  ),
  'up' => 
  array (
    0 => 'install.php',
    1 => 'Installation and Configuration',
  ),
  'prev' => 
  array (
    0 => 'install.general.php',
    1 => 'General Installation Considerations',
  ),
  'next' => 
  array (
    0 => 'install.unix.debian.php',
    1 => 'Installing from packages on Debian GNU/Linux and related distributions',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'install/unix/index.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/install.unix.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="install.unix" class="chapter">
 <h1 class="title">Installation on Unix systems</h1>
<h2>Table of Contents</h2><ul class="chunklist chunklist_chapter"><li><a href="install.unix.debian.php">Installing from packages on Debian GNU/Linux and related distributions</a></li><li><a href="install.unix.dnf.php">Installing from packages on GNU/Linux distributions that use DNF</a></li><li><a href="install.unix.openbsd.php">Installing from packages or ports on OpenBSD</a></li><li><a href="install.unix.source.php">Installing from source on Unix and macOS systems</a></li><li><a href="install.unix.commandline.php">CGI and command line setups</a></li><li><a href="install.unix.apache2.php">Apache 2.x on Unix systems</a></li><li><a href="install.unix.nginx.php">Nginx 1.4.x on Unix systems</a></li><li><a href="install.unix.lighttpd-14.php">Lighttpd 1.4 on Unix systems</a></li><li><a href="install.unix.litespeed.php">LiteSpeed Web Server/OpenLiteSpeed Web Server on Unix systems</a></li><li><a href="install.unix.solaris.php">Solaris specific installation tips</a></li></ul>

 <p class="simpara">
  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.
 </p>
 <p class="simpara">
  For some distributions, there are also third-party repositories of packages
  that generally include a wider variety of available versions and extensions.
 </p>
 <p class="simpara">
  PHP can also be installed as a component of some third-party application
  servers .
 </p>
 <p class="simpara">
  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.
 </p>

 
 





 




 





 
 



 
 

  



 





 





 




 





 
 






</div>
<?php manual_footer($setup); ?>