Moderator
Yui
(@fierevere)
永子
You dont need simplexml nor xmlrpc extensions for XML sitemaps.
xml extension is the one being used.
See more about required and optional PHP extensions here:
https://make.wordpress.org/hosting/handbook/handbook/server-environment/#php-extensions
Thank you but on my server I have only xmlrpc not xml and wp-sitemap.xml render perfect without error 501.
The web browser or other app is handling the rendering or parsing of the XML file that is being sent by the webserver. You don’t need XML-RPC until something tries to do a remote procedure call via XML on your web host.
In other words, anything can create an XML file if it has the capability but nothing can run XML-RPC on your host unless XML-RPC is enabled… and you really don’t need XML-RPC to work unless you are syndicating content or talking with a second server or APP.
Moderator
Yui
(@fierevere)
永子
WordPress does not need xmlrpc PHP extension for XML-RPC to work.
SimpleXML PHP extension and the xmlrpc PHP extension are the same?
This is not a question about WordPress but about PHP extensions.
As such it is not appropriate to post in alpha/beta and you should post in the Fixing WordPress forum:
https://wordpress.org/support/forum/how-to-and-troubleshooting
This post has been moved out for you.
@ipstenu I have post this question in the right appropriate section but was moved by other moderator.
@jnashhawkins on my backend server SimpleXML PHP extension is active by default in the core. So I have deactivated XML-RPC as per your suggestion! Thank you.