Posts

Showing posts with the label bitnami

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> change it to:     <Files xmlrpc.php>     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

How to Restore Legacy mysql to php7 - when you really hate mysqli

How to put MySQL functions back into PHP 7 PHP 7 will go “release candidate” on August 20th 2015 which is very exciting because it will instantly be twice as fast as PHP 5.6 (and all previous versions). PHP7 gives HHVM a run for the money and takes 5 minutes to compile instead of hours for HHVM. But there is a catch – if you have any legacy code that uses the  mysql_*  functions, they will stop working entirely in PHP 7. Not just a warning, not just deprecated, but gone, fatal. Sorry guys. However, there is another work around to restore your old mysql without breaking the bank.  My other alternative is to use a mysqli wrapper. See my other blog post :. However, it is easy to get them back without using a wrapper or modifying your code… I wouldn’t plan on using this solution far past 2016 but it will keep your legacy code running in the meanwhile. Simply compile the mysql function as a php pecl extension and add one line to your  php.ini First get the...