#26395 [Bgs]: php_xslt not working with PHP5.0.0b3-dev

From: Date: Tue, 25 Nov 2003 21:38:04 +0000
Subject: #26395 [Bgs]: php_xslt not working with PHP5.0.0b3-dev
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-51066@lists.php.net to get a copy of this message
ID: 26395 Updated by: chregu@php.net Reported By: info at sovall dot cz Status: Bogus Bug Type: XSLT related Operating System: Windows 2k PHP Version: 5CVS-2003-11-25 (dev) New Comment: Just for your information, info at sovall dot cz: ext/xslt is based on Sablotron ext/xsl is based on libslt ext/xslt is not ported yet to PHP5. ext/xsl is not API-compatible to ext/xslt. So either port (or let someone port) ext/xslt to php5 or switch to ext/xsl (and rewrite your scripts). Previous Comments: ------------------------------------------------------------------------ [2003-11-25 04:29:58] sniper@php.net There is no such extension as 'ext/xslt/' in PHP 5. There IS 'ext/xsl' though.. ------------------------------------------------------------------------ [2003-11-25 03:50:37] info at sovall dot cz Other undefined functions: xslt_set_base xslt_process ------------------------------------------------------------------------ [2003-11-25 03:33:29] info at sovall dot cz I am sorry. This example working fine. My problem may be in new Zend 2 Object model. My code: class xslTransform{ public $xh; .... function xslTransform(){ $this->xh = xslt_create(); .... } } This code return error above. ------------------------------------------------------------------------ [2003-11-25 03:23:10] info at sovall dot cz Description: ------------ When I try <?php $xh = xslt_create(); ?> then PHP write: PHP Fatal error: Call to undefined function xslt_create() My php.ini: extension=php_iconv.dll extension=php_xslt.dll All php/dlls/ are in winnt/system32/ directory. php version: 5.0.0b3-dev (php5-win32-200311201130.zip) php_xslt.dll: 6/22/2003 With php5.0.0b1 working fine. Thanx for reply. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26395&edit=1

« previous php.bugs (#51066) next »