Jetpackが導入できない場合の対処法のメモ書き

Error Details: The Jetpack server could not communicate with your site's XML-RPC URL. Please check to make sure http://example.com/xmlrpc.php is working properly. It should show 'XML-RPC server accepts POST requests only.' on a line by itself when viewed in a browser and should not have any blank lines or extra output anywhere. Find out how to fix this issue here: https://jetpack.com/support/getting-started-with-jetpack/what-do-these-error-messages-mean/blank-lines-xmlrpc/




curl -A 'Jetpack by WordPress.com' -d 'demo.sayHello' http://example.com/xmlrpc.php
なコマンドを打って






faultCode
-32700


faultString
parse error. not well formed




な場合


上これだけのエラーではよくわからないがどうやらモジュールがかけてるっぽい


apt-get install php7.0-intl
apt-get install php7.0-xsl
apt-get install php-xmlrpc

このあたり入れてから再起動でうまくいった


uname -a
Linux hoge 4.8.0-1-amd64 #1 SMP Debian 4.8.7-1 (2016-11-13) x86_64 GNU/Linux

PHP Version 7.0.13-2