Apache2 and PHP - missing libphp5.so

this seems to do the trick for me. it also takes the version set earlier into account

dependencies:
  pre:
    - sudo unlink /usr/lib/apache2/modules/libphp5.so
    - sudo ln -s $PHPENV_ROOT/versions/$(phpenv global)/usr/lib/apache2/modules/libphp5.so /usr/lib/apache2/modules/libphp5.so
2 Likes