简体   繁体   中英

PHP Startup: Unable to load dynamic library (xsl.so / libexslt.so.0)

I'm getting an error whenever I start up PHP:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/xsl.so' - libexslt.so.0: cannot open shared object file: No such file or directory in Unknown on line 0

I started to receive this error when I installed php-xml (running under centos).

This error occurs on both PHP version 5.3 & 5.4

Can anyone shed any light on this? php-xml still seems fully functional (DOMDocument functioning correctly).

Thanks

check in /etc/php.d/ to see if you already have xsl.ini.

I mistakenly believed I needed to insert extension=xsl.so into my /etc/php.ini file for an issue with Jenkins but its already being loaded from here. Hope this helps, it fixed my issue.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM