#37969 [Fbk->Bgs]: XSLTProcessor() not working
ID: 37969
Updated by: mike@php.net
Reported By: msho at exabytes dot com
-Status: Feedback
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Centos
PHP Version: 5.1.4
New Comment:
Oops, sorry.
Anyway, the extension name in PHP5 is "xsl".
Previous Comments:
------------------------------------------------------------------------
[2006-06-30 07:28:46] 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 06:48:18] 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 06:06:09] 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 04:18:38] 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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37969&edit=1
Thread (5 messages)