Maintenance: Planio will be observing a scheduled maintenance window this Sunday, November 10, 2024 from 20:00 UTC until 21:00 UTC to perform important network maintenance in our primary data center. Your Planio account will be unavailable for a few minutes during this maintenance window.
Forums » Saxon/C Help and Discussions »
Managed to install... but not working...
I think the failure is with @XsltProcessor@
Please check if @$xslt@ is null.
if($xslt==null){
...
}
I am also wondering if the php extension is finding the Saxon/C library or the JET libraries.
Please see: http://www.saxonica.com/saxon-c/index.xml#installingLin
Example of setting 'LD_LIBRARY_PATH' from within the PHP (for testing):
$saved = getenv("LD_LIBRARY_PATH"); // save old value
$newld = "/usr/local/jet8.0-eval-x86/profile1.6.0_43/jre/lib/i386/jetvm:/usr/local/jet8.0-eval-x86/lib/x86/shared"; // extra paths to add
if ($saved) { $newld .= ":$saved"; } // append old paths if any
putenv("LD_LIBRARY_PATH=$newld"); // set new value
// mycommand is loaded using
// libs in the new path list
putenv("LD_LIBRARY_PATH=$saved");
$saved = getenv("PATH"); // save old value
$newld = "/usr/local/jet8.0-eval-x86/bin:/usr/local/jet8.0-eval-x86/profile1.6.0_43/jre"; // extra paths to add
if ($saved) { $newld .= ":$saved"; } // append old paths if any
putenv("PATH=$newld"); // set new value
A better way to set LD_LIBRARY_PATH in apache do the following:
For ubuntu server, in /etc/apache2/envvars, for centos server, in /etc/sysconfig/httpd, add:
export LD_LIBRARY_PATH=/usr/lib/rt/lib/i386/jetvm
and restart apache
Please register to reply