Enable Jetpack on Amazon Bitnami Wordpress using XMLRPC
How to Enable Jetpack and Wordpress Connection in Amazon bitnami
First step is to Allow xmlrpc.php or you will get a 403 forbidden error.
Steps:
cd /opt/bitnami/
sudo vim ./apache/conf/vhosts/wordpress-vhost.conf ./apache/conf/vhosts/wordpress-https-vhost.conf
find this part:
<Files xmlrpc.php>
Order Allow,Deny
Deny from all
</Files>
Order Allow,Deny
Deny from all
</Files>
change it to:
<Files xmlrpc.php>
Order Allow,Deny
Allow from all
</Files>
Order Allow,Deny
Allow from all
</Files>
Restart your bitnami services
Optional Steps
sudo apt-get update
sudo apt-get install php-xmlrpc
sudo cp /usr/lib/php/20220829/xmlrpc.so /opt/bitnami/php/lib/php/extensions
ls -al /opt/bitnami/php/lib/php/extensions
sudo chmod 755 /opt/bitnami/php/lib/php/extensions/xmlrpc.so
ls -al /opt/bitnami/php/lib/php/extensions
sudo /etc/init.d/bitnami stop
sudo /etc/init.d/bitnami start
sudo apt-get install php-xmlrpc
sudo cp /usr/lib/php/20220829/xmlrpc.so /opt/bitnami/php/lib/php/extensions
ls -al /opt/bitnami/php/lib/php/extensions
sudo chmod 755 /opt/bitnami/php/lib/php/extensions/xmlrpc.so
ls -al /opt/bitnami/php/lib/php/extensions
sudo /etc/init.d/bitnami stop
sudo /etc/init.d/bitnami start
Comments
Post a Comment