zypper install gmp-devel
The BCMath extension in PHP stands for "Binary Calculator Math" and is used for arbitrary-precision arithmetic. It provides a set of mathematical functions for working with numbers of arbitrary size and precision, exceeding the limitations of standard integer and floating-point data types in PHP. BCMath is commonly used in scenarios where precision is crucial, such as financial calculations, cryptographic operations, and other computations that require precise decimal arithmetic.

zypper install oniguruma-devel

zypper install libopenssl-devel

zypper install gmp-devel
The BCMath extension provides arbitrary-precision arithmetic functions for working with numbers of arbitrary size and precision. It is commonly used for precise decimal calculations, such as in financial or cryptographic operations.

zypper install libicu-devel
The Calendar extension allows working with various calendar systems, including the Gregorian, Julian, and Unix Timestamp calendars. It provides functions to manipulate dates, calculate differences between dates, and convert between different calendar systems.

ctype: The Ctype extension provides functions for character type checking and manipulation. It allows you to check the type of characters, such as alphabetic, numeric, whitespace, control characters, and more.

zypper install libcurl-devel
The cURL extension provides an interface to perform HTTP requests, send and receive data over various protocols, and interact with web services and APIs.

zypper install libxml2-devel
The DOM extension enables the manipulation of XML and HTML documents using the Document Object Model (DOM). It allows parsing, creating, modifying, and traversing XML or HTML documents.

zypper install libexif-devel
The Exif extension provides functions to extract metadata from image files in the Exif format. It allows retrieving information such as camera settings, location, and timestamps embedded in image files.

zypper install file-devel (libmagic)
The Fileinfo extension enables the identification of the type and encoding of a file based on its content. It is commonly used for file upload handling and validation.

zypper install gd-devel libjpeg-devel libpng-devel
The GD extension is used for image processing and manipulation. It provides functions for creating, manipulating, and rendering images in various formats, such as JPEG, PNG, and GIF.

zypper install gettext-tools
The Gettext extension allows the localization and internationalization of PHP applications. It provides functions for translating messages and handling language-specific data.

The Iconv extension provides functions for character encoding conversion. It allows converting text between different character encodings.

zypper install libicu-devel
The Intl extension provides internationalization support, including functions for formatting and manipulating internationalized text, handling locales, and performing Unicode string operations.

The Multibyte String (mbstring) extension enhances string handling functions to support multibyte encodings, such as UTF-8. It is commonly used for working with multibyte character sets and performing multibyte string operations.

zypper install libopenssl-devel
The OpenSSL extension provides functions to enable secure communication over SSL/TLS protocols. It supports various cryptographic operations, such as encryption, decryption, digital signatures, and secure connections.

pdo: The PDO (PHP Data Objects) extension provides a consistent interface for accessing databases in PHP. It supports multiple database drivers, allowing you to connect and interact with databases using a unified API.

phar: The Phar extension allows creating and manipulating PHP Archive (PHAR) files, which are a way to package PHP applications and libraries into a single file for distribution.

sodium:libsodium-devel The Sodium extension provides a cryptographic library for encryption, decryption, signatures, password hashing, and other secure operations.

sqlite: The SQLite extension allows interaction with SQLite databases. It provides functions for database creation, querying, and modification.

tokenizer: The Tokenizer extension allows the parsing and tokenization of PHP source code. It can be used for tasks like code analysis, syntax highlighting, and custom code generation.

xmlreader: The XMLReader extension provides a streaming XML parser. It allows reading and processing XML documents efficiently by providing a forward-only, event-based approach.

xmlwriter: The XMLWriter extension allows creating and manipulating XML documents. It provides a simple and efficient way to generate valid XML files programmatically.

zypper install zlib-devel
The Zip extension enables the creation and extraction of ZIP archives. It provides functions to compress and decompress files and directories in the ZIP format.

zlib:zlib-devel The Zlib extension provides functions for compressing and decompressing data using the zlib compression library. It supports various compression levels and formats like gzip.

tar zxf php-x.x.x
cd ../php-x.x.x

./configure \
    --prefix=/opt/php/php.8.2.6 \
    --enable-fpm \
    --with-fpm-user=phpfpm \
    --with-fpm-group=nginx \
    --with-fpm-systemd \
    --with-config-file-path=/opt/php/php.8.2.6/etc \
    --with-config-file-scan-dir=/opt/php/php.8.2.6/etc/conf.d \
    --disable-short-tags \
    --enable-bcmath \
    --enable-calendar \
    --with-curl \
    --enable-exif \
    --enable-gd \
    --with-avif \
    --with-webp \
    --with-jpeg \
    --with-xpm \
    --with-freetype \
    --with-gettext \
    --enable-intl \
    --with-mhash \
    --enable-mbstring \
    --with-mysqli \
    --with-openssl \
    --with-pdo-mysql \
    --with-sodium \
    --with-zip \

make -j12
make install

./configure --with-php-config=/opt/php/php.8.2.6/bin/php-config
make -j12
make install