LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

phpize

prepares PHP extensions for compilation

TLDR

Prepare extension for building
$ phpize
copy
Clean generated files
$ phpize --clean
copy
Show version
$ phpize --version
copy
Use specific PHP version
$ /usr/bin/phpize[7.4]
copy

SYNOPSIS

phpize [--clean] [--version]

DESCRIPTION

phpize prepares PHP extensions for compilation. It generates configure scripts and build files.Run phpize in the extension source directory. It creates necessary autoconf files.The configure script is generated from config.m4. This enables standard ./configure && make installation.Multiple PHP versions may have separate phpize binaries. Use the version matching your target PHP installation.After phpize, run configure with PHP config path. Then make and make install complete the build.

PARAMETERS

--clean

Remove generated files.
--version
Show phpize version.
--help
Show help.

BUILD STEPS

1. phpize - Generate configure script2. ./configure - Configure build options3. make - Compile extension4. make install - Install extension5. Add extension to php.ini

INSTALL

sudo apk add php85-dev
copy

CAVEATS

Requires PHP development headers. Extension must be compatible with PHP version. Autoconf and build tools needed.

HISTORY

phpize is part of PHP's build system, originating from PHP 4. It enables PECL extensions and custom modules to be built separately from the main PHP installation.

SEE ALSO

php(1), php-config(1), pecl(1), make(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid