PHP Warning: PHP Startup: Unable to load dynamic library

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
student101
Forum Newbie
Posts: 20
Joined: Sun Sep 21, 2008 4:04 pm

PHP Warning: PHP Startup: Unable to load dynamic library

Post by student101 »

I just found this error in my server logs:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/xsl.so' - /lib/libgcrypt.so.11: undefined symbol: gpg_err_code_from_syserror in Unknown on line 0, referer: http://www.example.com/index.php
The path '/usr/lib/php/modules/xsl.so' doesn't exist with Swift Mail.
What are my steps to fix if any?

Cheers
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: PHP Warning: PHP Startup: Unable to load dynamic library

Post by Chris Corbyn »

This has absolutely nothing to do with Swift Mailer ;) There's a problem with your PHP installation and the XSL extension (which Swift Mailer doesn't use).

If you're not using XSL, just remove the extension from php.ini (the line that has "extension=xsl.so").
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: PHP Warning: PHP Startup: Unable to load dynamic library

Post by Chris Corbyn »

Moved to PHP Code.
student101
Forum Newbie
Posts: 20
Joined: Sun Sep 21, 2008 4:04 pm

Re: PHP Warning: PHP Startup: Unable to load dynamic library

Post by student101 »

Chris Corbyn wrote:This has absolutely nothing to do with Swift Mailer ;) There's a problem with your PHP installation and the XSL extension (which Swift Mailer doesn't use).
If you're not using XSL, just remove the extension from php.ini (the line that has "extension=xsl.so").
Thank you, this means it's a host problem.
I am a bit paranoid when it comes to uploading a site, I check and recheck everything, it seems I need to check once month now.

Cheers and Thanks again. :)
Post Reply