php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37969 XSLTProcessor() not working
Submitted: 2006-06-30 04:18 UTC Modified: 2006-06-30 07:30 UTC
From: msho at exabytes dot com Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 5.1.4 OS: Centos
Private report: No CVE-ID: None
 [2006-06-30 04:18 UTC] msho at exabytes dot com
Description:
------------
The PHP engine are not able to call the XSLTProcessor class with either running in CGI or Apache module mode.

Reproduce code:
---------------
<?
$proc = new XSLTProcessor();
?>


Expected result:
----------------
Fatal error: Class 'XSLTProcessor' not found 

Actual result:
--------------
No Error should appear.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-30 06:06 UTC] amt@php.net
I am pretty sure you have not compiled in XSLT support. You can check by viewing the output of phpinfo() and looking for an XSL section.

If you don't see it, you must reconfigure PHP passing in --with-xsl.
 [2006-06-30 06:48 UTC] msho at exabytes dot com
I believe I have compiled all the required component.

Below are my settings:

./configure --with-apxs=/usr/local/apache/bin/apxs --prefix=/usr/local --with-xml --with-mm --enable-bcmath --enable-calendar --with-curl --with-dom --with-dom-xslt --with-dom-exslt --enable-exif --with-swf=/usr/local/flash --enable-ftp --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --with-gettext --with-imap=/usr/local/imap-2004g --with-java=/usr/local/jdk --enable-mbstring --enable-mbstr-enc-trans --enable-mbregex --with-mcrypt --with-mhash --with-ming=../ming-0.2a --enable-magic-quotes --with-mm --with-mysqli --with-mysql=/usr --with-openssl --enable-discard-path --with-pear --with-pspell --enable-xslt --with-xslt-sablot --enable-safe-mode --enable-sockets --enable-track-vars --with-ttf --with-freetype-dir=/usr --enable-gd-native-ttf --enable-wddx --with-xmlrpc --with-zip --with-zlib 


Anything I have missed out?
 [2006-06-30 07:28 UTC] mike@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

 [2006-06-30 07:30 UTC] mike@php.net
Oops, sorry.

Anyway, the extension name in PHP5 is "xsl".

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 07 19:01:34 2025 UTC