PHP Optimization
PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'apd.so'
Silly little thing, but for the benefit of anyone else who misses this;
When installing the PECL Package APD for all your profiling, stack-tracing fun if you get the following error...
PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'apd.so'
... then make sure you add your extension as a "zend_extension" not just a normal extension thus:
; My Extensions
extension = runkit.so
extension = memcache.so
extension = xcache.so
zend_extension = apd.so
Hope this is of some help to folk :-)
Posted years ago by Jim Morrison
Jim is a director of Deep Blue Sky Digital, a web development and design studio in the city of Bath in the UK. He loves to get involved in his client's businesses to help push them forward and out onto the web but his real pasion is for code... Perl, PHP, sh, javascript... it doesn't really matter as long as it works! You can follow Jim on twitter @deepbluetweets and @jimbomorrison
Share this:
Speak to an Expert now on 01225 444 674
Talk to Us