Emergency: PHP XSLT not loaded

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
thiscatis
Forum Contributor
Posts: 434
Joined: Thu Jul 20, 2006 11:00 am

Emergency: PHP XSLT not loaded

Post by thiscatis »

Fatal error: Call to undefined function: xslt_create() in /home/user/webteam/www.ekonomika.be/ploegorion/index.php on line 143
Is it possible that the xslt extension isn't loaded on the server?
Is there a way to enable the extension through a htaccess or iniset?

Thanks mates!
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

thiscatis
Forum Contributor
Posts: 434
Joined: Thu Jul 20, 2006 11:00 am

Post by thiscatis »

Code: Select all

Warning: dl() [function.dl]: Unable to load dynamic library '/usr/lib/php4/20050606+lfs/php_xslt.dll' - /usr/lib/php4/20050606+lfs/php_xslt.dll: cannot open shared object file: No such file or directory in /home/user/webteam/www.ekonomika.be/ploegorion/index.php on line 2
anyone?
User avatar
ambivalent
Forum Contributor
Posts: 173
Joined: Thu Apr 14, 2005 8:58 pm
Location: Toronto, ON

Post by ambivalent »

Are you trying to load a Windows DLL on a *nix server?
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

thiscatis wrote:

Code: Select all

Warning: dl() [function.dl]: Unable to load dynamic library '/usr/lib/php4/20050606+lfs/php_xslt.dll' - /usr/lib/php4/20050606+lfs/php_xslt.dll: cannot open shared object file: No such file or directory in /home/user/webteam/www.ekonomika.be/ploegorion/index.php on line 2
If the extension module exists, it's name would be 'php_xslt.so' instead of *.dll (assuming that ulyssis/ekonomika are still running *nix).. (and if i remember even better, the default policy used to be that the apt packages were not used, but everything was compiled from source.. So you might want to ask your sysadmin to load that extension)
Post Reply