Andrew McCombe


Full Stack Web Developer

Zend Framework Elephants available for pre-order – and they’re GREEN!

That’s right! Ben Scholzen AKA DASPRiD has a limited quantity of Zend Framework Elephants available for pre-order – and they’re GREEN! Instead of the familiar blue elePHPant that we’re used to, the ZF ones will be green!. You can pre-order yours from the link below. Small elePHPant are 7€ each and large ones are 70€ […]


PHP Warning: Xdebug MUST be loaded as a Zend extension in Unknown on line 0 Fix

When I upgraded my desktop to Ubuntu 10.04 (Lucid Lynx) I also upgraded my PHP version to 5.3. Apart from a few warnings with some deprecated functions (the main cuplrit being the ereg functions) all went well. When using the Zend Tool command from the command line I started getting warnings about xdebug: [email protected]: ~$ […]


Zend_Cache to cache an object

Here’s how to cache an object using Zend_Cache: < ?php $cache_frontend_options = array( 'lifetime' => 3600, // cache lifetime of 1 hour ‘automatic_serialization’ => false ); $cache_backend_options = array( ‘servers’ => array( array(‘host’ => ‘localhost’, ‘port’ => 11211, ‘persistent’ => true) ), ‘compression’ => false ); $cache = Zend_Cache::factory(‘Core’, ‘Memcached’, $cache_frontend_options, $cache_backend_options); $key = ‘myUniqueId-123’; […]