|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46876 PHP XSLT Module Error
Submitted: 2008-12-15 23:51 UTC Modified: 2008-12-16 01:34 UTC
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: 6r4845 at gmail dot com Assigned:
Status: Not a bug Package: XSLT related
PHP Version: 5.2.8 OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: 6r4845 at gmail dot com
New email:
PHP Version: OS:


 [2008-12-15 23:51 UTC] 6r4845 at gmail dot com
Hi, i was enabled xsl module, restarted my server but li am still getting error "Call to undefined function xsl_create()" when i'm trying to proccess xml & xsl file with code:

  $xh = xsl_create();
  $result = xsl_process($xh, 'users.xml', 'users.xsl');

What the fuck? :(


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-12-16 00:11 UTC] 6r4845 at gmail dot com
More info

I recently installed wampserver which packages php5, phpmyadmin and apache. All seems to work fine except when I try to use XSL functions such as xslt_create() I receive the following error: 

Fatal error: Call to undefined function xslt_create() 

I've uncommented the xsl extension : extension=php_xsl.dll 

phpinfo states the following : 

XSL enabled 
libxslt Version 1.1.7 
libxslt compiled against libxml Version 2.6.11 
EXSLT enabled 
libexslt Version 0.8.5 

So, I believe XSL is enabled but the functionality doesn't seem to be available to me, does anyone have any idea how I can resolve this?
 [2008-12-16 00:18 UTC] 6r4845 at gmail dot com
Even doesnt work, what the fucking hell damn
 [2008-12-16 01:34 UTC]
$xsl = new XSLTProcessor();

xsl_create is from the PHP 4 module.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Apr 17 08:01:23 2021 UTC