Instalar soporte XSLT en PHP Imprimir

  • 41

# Instalar librerias necesarias

yum install libxml2 libxml2-devel

./build libxml2
./build libxslt
./build pcre


# Configurar Apache

vi /usr/local/directadmin/custombuild/configure/ap2/configure.apache

# Agregar esto

"--with-libxslt" \
"--with-libxml" \
"--with-xsl" \
"--with-xslt" \
"--enable-exslt" \
"--with-dom=/usr/local/lib" \
"--with-dom-exslt=/usr/local/lib" \
"--with-dom-xslt=/usr/local/lib" \
"--with-xslt=/usr/local/lib" \
"--with-pcre=/usr/local" \

# Configurar PHP (CLI)

vi /usr/local/directadmin/custombuild/configure/ap2/configure.php5

# Agregar esto
--with-xsl \

# Configurar PHP (CGI)

vi /usr/local/directadmin/custombuild/configure/suphp/configure.php5

# Agregar esto
"--with-xsl" \



./build apache

./build php n


¿Fue útil la respuesta?

« Atrás

["\r\n