Home
My Account
About us
Products
Support Services
Buy online
Downloads
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
PHP Manual
Preface
Copyright
Getting Started
Installation and Configuration
Language Reference
Security
Features
Function Reference
FAQ
Appendices
What's next?
General Installation Considerations
Preface
Last updated: Mon, 26 Oct 2026
Installation and Configuration
General Installation Considerations
Installation on Unix systems
Installing from packages on Debian GNU/Linux and related distributions
Installing from packages on GNU/Linux distributions that use DNF
Installing from packages on Alpine Linux
Installing from packages on Arch Linux
Installing from packages or ports on OpenBSD
Installing from source on Unix and macOS systems
CGI and command line setups
Apache httpd 2.x on Unix systems
Nginx 1.4.x on Unix systems
Lighttpd 1.4 on Unix systems
LiteSpeed Web Server/OpenLiteSpeed Web Server on Unix systems
Solaris specific installation tips
Installation on macOS
Installation on macOS using third-party packages
Compiling PHP on macOS
Using the bundled PHP prior to macOS Monterey
Installation on Windows systems
Recommended configuration on Windows systems
Manual installation of pre-built binaries
Installation for Apache 2.x on Windows systems
Installation with IIS for Windows
Building from source
Running PHP on the command line on Windows systems
Installation on Cloud Computing platforms
Azure App Services
Amazon EC2
DigitalOcean
FastCGI Process Manager (FPM)
Installation
Configuration
Installation of PECL extensions
Introduction to PECL Installations
Downloading PECL extensions
Installing a PHP extension on Windows
Compiling shared PECL extensions with the pecl command
Compiling shared PECL extensions with phpize
php-config
Compiling PECL extensions statically into PHP
Introduction to Composer
Introduction to PIE
Runtime Configuration
The configuration file
.user.ini files
Where a configuration setting may be set
How to change configuration settings
What's next?
General Installation Considerations
Preface
Last updated: Mon, 26 Oct 2026