By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,068 Members | 1,176 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,068 IT Pros & Developers. It's quick & easy.

PHP 5.0.1, Solaris 5.9, Sablotron 1.0.2, config problems

P: n/a
Everything compiles.
Can run sabcmd with no problems.
But when running a simple php script, it cannot find the sablotron
functions. So it does not appear to be linking the Sablotron stuff.
Probably just something simple I am missing.
Any suggestions?

Built with:
configure --with-xml --with-expat=/usr/local --enable-xslt
--with-xslt-sablot=/usr/local

Simple PHP script:
<?php
$parser = xslt_create();
$html = xslt_process($parser, "test.xml", "test.xsl");
xslt_free($parser);

echo $html;
?>

Returns:
Fatal error: Call to undefined function xslt_create() in /tmp/xsl.php on
line 2

Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
krigare wrote:
Everything compiles.
Can run sabcmd with no problems.
But when running a simple php script, it cannot find the sablotron
functions. So it does not appear to be linking the Sablotron stuff.
Probably just something simple I am missing.
Any suggestions?


PHP5 has new XML and XSLT extension, which is not based on sablotron.

Berislav
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.