PHP Warning: PHP Startup: Unable to load dynamic library 'php_xmlrpc.dll

What issue or error are you experiencing?

I am using Apache which php version is 8.1.23. This warring error is display in the error log file. How to fix this error. I am not align about this error please tell me how to fix this ?


What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc


System Details

  • Local Version:

  • Operating System (OS) and OS version:


Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)


Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

Hi @rashedk

Is this happening with a new Local site that you just created? Or is this a site that you imported into Local or already have been working on?

The XML-RPC dll was removed from the default PHP distribution in PHP 8+, so Local’s PHP no longer includes it beyond version 8.

I was able to replicate your error in Windows 11 but only when I manually added extension=php_xmlrpc.dll to my php.ini file. So if a site you tried to work on or import has an altered php.ini like this, then you may need to remove that if you’re simply wanting to get rid of the error and don’t need that in place.

1 Like