PHP 8.3.4 Released!

Instalação para versões do PHP >= 7.4

A extensão libxml está habilitada por padrão, embora possa ser desabilitada com --without-libxml.

O PHP usa pkg-config para selecionar o arquivos correto de biblioteca e cabeçalhos, e as opções de compilação a serem usadas para libxml2. Para assegurar-se de que a versão pretendida da libxml2 está selecionada, a variável de ambiente PKG_CONFIG_PATH pode ser usada para controlar o caminho de pesquisa para pkg-config antes de executar o script de configuração:

PKG_CONFIG_PATH="/path/to/libxml2/prefix/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