PHP 8.3.4 Released!

Installation pour les versions de PHP >= 7.4

L'extension libxml est activée par défaut, bien qu'elle puisse être désactivée avec l'option --without-libxml.

PHP utilise pkg-config pour sélectionner le bon fichier de bibliothèque, les fichiers d'en-tête et les indicateurs de compilation à utiliser pour libxml2. Pour s'assurer que la version souhaitée de libxml2 est sélectionnée, la variable d'environnement PKG_CONFIG_PATH peut être utilisée pour contrôler le chemin de recherche de pkg-config avant d'exécuter le script de configuration :

PKG_CONFIG_PATH="/chemin/vers/préfixe/libxml2/lib/pkgconfig:/lib/pkgconfig"

add a note

User Contributed Notes 2 notes

up
1
mansourjabin at gmail dot com
4 months ago
Critical Note: In PHP 7.4, an issue presents itself when interfacing with libxml version 2.10.2. If you're deploying PHP 7.4 and wish to maintain operational stability, ensure that libxml is aligned to version 2.9.10. This version has been verified to work seamlessly with PHP 7.4, thereby preventing potential conflicts.
up
0
KiralyCraft
1 year ago
Please note that this option does not seem to work for PHP 8.1.10 anymore.
To Top