#25545 [Opn->Bgs]: Compiled without errors, but not working.
| From: | sniper@php.net | Date: | Thu, 18 Sep 2003 07:33:28 +0000 |
| Subject: | #25545 [Opn->Bgs]: Compiled without errors, but not working. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-47746@lists.php.net to get a copy of this message | ||
ID: 25545
Updated by: sniper@php.net
Reported By: evcastel at yahoo dot com dot mx
-Status: Open
+Status: Bogus
Bug Type: XSLT related
Operating System: Debian/Linux
PHP Version: 5.0.0b1 (beta1)
New Comment:
ext/xsl in PHP 5 != ext/xslt in PHP 4..and the docs are for PHP 4...use
the source, luke.. :)
Previous Comments:
------------------------------------------------------------------------
[2003-09-17 21:58:49] evcastel at yahoo dot com dot mx
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.
------------------------------------------------------------------------
[2003-09-17 01:32:35] sniper@php.net
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