So there’s basically two ways to instantiate a Magento block. The one that should work everywhere is:
$layout = Mage::getSingleton('core/layout');
$block = $layout->createBlock('module/block');
And then there’s the one which you can use in a controller which extends, for example, Mage_Core_Controller_Front_Action
So I changed from DigitalOcean to VULTR hosting and decided to go ahead and switch from CentOS 7 to Ubuntu 15.04. I also changed to HHVM since that was not possible on CentOS 7 unless I compiled it manually which I couldn’t be bothered to do. An upgrade to Nginx 1.9.* made it possible to use HTTP/2 instead of SPDY, so I am basically totally up to date when it comes to the latest technologies.
Wordpress was also upgraded to 4.4.
I must say I’m very happy with VULTR, I did some compilation benchmarks using OpenBenchmarking, the results can be found here:
If you want to sign up to VULTR please use my affiliate link: