Skip to content

Instantly share code, notes, and snippets.

@ajmcagadas
Last active January 16, 2018 03:25
Show Gist options
  • Select an option

  • Save ajmcagadas/70b49f7b0133adb7c1b44879b9a038ad to your computer and use it in GitHub Desktop.

Select an option

Save ajmcagadas/70b49f7b0133adb7c1b44879b9a038ad to your computer and use it in GitHub Desktop.
Fixing Laradock's `unable to load dynamic library aerospike` error
- Modify laradock's /workspace/Dockerfile-<php version>
- Update the snippet below (ref: https://github.com/laradock/laradock/commit/3a5100097ab0eb9144c385a1e516ac9a54077bdf)
RUN if [ ${INSTALL_AEROSPIKE} = false ]; then \
rm /etc/php/5.6/cli/conf.d/aerospike.ini \
;fi
change to
RUN if [ ${INSTALL_AEROSPIKE_EXTENSION} = false ]; then \
rm /etc/php/7.0/cli/conf.d/aerospike.ini \
;fi
- Run docker-compose build php-fpm
- Run docker-compose up -d <services>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment