Phpize Installation On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS

Phpize Installation On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS

phpize

Prepare a PHP extension for compiling.

Maintainer: Debian PHP Maintainers


Section: php

Install phpize

  • Debian apt-get install php Click to copy
  • Ubuntu apt-get install php Click to copy
  • Alpine OS apk add php Click to copy
  • Arch Linux pacman -S php Click to copy
  • Kali Linux apt-get install php Click to copy
  • CentOS yum install php-cli Click to copy
  • Fedora dnf install php-cli Click to copy
  • Raspbian apt-get install php Click to copy
  • macOS brew install php Click to copy

Prepare a PHP extension for compiling.

How to use phpize?

Below are few example commands for phpize that you can use in the terminal.

Prepare the PHP extension in the current directory for compiling:
phpizeClick to copy
Delete files previously created by phpize:
phpize --cleanClick to copy
Installing phpize 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, Arch, Kali, CentOS, Fedora, Raspbian and macOS operating systems. Once you run the command it will install the latest version of phpize 2026 package in your OS.