I'm trying to install a PHP application, in the stated requirements it
says it needs PHP with XSLT support;

according to phpinfo I have:

PHP Version 4.3.4

Configure Command
...
 '--enable-xslt=shared' '--with-xslt-sablot=/usr'
...

I guess that means I have XSLT ?

I'm not sure if I have all it requires ?

when I try to start up the app, I get in apache error log:

[Tue Jan 24 20:05:17 2006] [error] PHP Fatal error:  Call to undefined
function:
  xslt_create() in /home/www/engine/xml/xml.class.php on line 76
[Tue Jan 24 20:05:20 2006] [error] PHP Fatal error:  Call to undefined
function:
  xslt_create() in /home/www/engine/xml/xml.class.php on line 76

the relavant code has like:

xml.class.php

    function transform($aXMLFile, $aXSLFile, $aOutFile) ^M
    {^M
        $pXSLT = xslt_create ();^M
        $fileBase = 'file://' . getcwd () . '/';^M
        xslt_set_base ($pXSLT, $fileBase);^M
        $pResult = xslt_process($pXSLT, $aXMLFile, $aXSLFile, $aOutFile);^M
        if ($pResult) {^M
//            print ("<BR>Plik ". $aOutFile ." zosta³ wygenerowany");^M
        } ^M
        else {^M
//            print ("<BR>Error: Plik ". $aOutFile ." nie zosta³
wygenerowany");
        } ^M
        xslt_free ($pXSLT);^M
^M
        return $pResult;^M





-- 
Voytek

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to