ID: 25545 User updated by: [EMAIL PROTECTED] Reported By: evcastel at yahoo dot com dot mx -Status: Bogus +Status: Open Bug Type: XSLT related Operating System: Debian/Linux PHP Version: 5.0.0b1 (beta1) New Comment:
Ok. I write wrong. I compiled with XSL support. Here is my config line: ./configure --prefix=/usr/local/php-5.0.0b1 --with-apache=../apache_1.3.28/ --with-dom=/usr/local/libxml2-2.5.9 --with-mysql --without-simplexml --with-libxml-dir=/usr/local/libxml2-2.5.9/ --with-xsl=/usr/local/libxslt-1.0.33/ It compiled without errors. Here is the phpinfo() text about the module: xml XML Support active XML Namespace Support active libxml2 Version 2.5.9 xsl XML/XSLT enabled DOM/XSLT enabled libxslt Version 1.0.33 libxslt compiled against libxml Version 2.5.9 I have been using php+sablotron for 1 1/2 year. When I tried something simple like: $resource = xslt_create(); I get: Fatal error: Call to undefined function: xslt_create() But when I execute the same script in PHP 4.1.2, I don't get any errors. The module is documented at: http://www.php.net/manual/en/ref.xslt.php I have been searching the mailing list, and found nothing helpful. So that's why I suppose it is a bug. Or if it is an error at my side, I would appreciate any help. Previous Comments: ------------------------------------------------------------------------ [2003-09-17 01:32:35] [EMAIL PROTECTED] There is no XSLT extension. There is XSL extension, but it's not documented yet. ------------------------------------------------------------------------ [2003-09-15 11:21:37] evcastel at yahoo dot com dot mx Description: ------------ I compiled PHP5 Beta 1, with XSLT support, with the latest versions of libxml2 and libxslt. I get no errors, in the installation. I check throw phpinfo() and it says it has suport for xslt. But when I use a xslt function like xslt_create(), or xslt_process(), or xslt_free or xslt_WHATEVER, it say function not declared. Reproduce code: --------------- <?php $resource = xslt_create(); ?> Expected result: ---------------- NO errors. Actual result: -------------- Undefined function xsl_create() ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25545&edit=1