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 :-)
 

Grow your business

Find out how Deep Blue Sky can grow your business.

  1. Digital benchmark
  2. Digital roadmap
  3. Digital engineering

Write a comment.