DDEV Integration Zendguard Loader

Deadly 提交于 2021-01-29 08:56:27

问题


I'm using DDEV in an older OXID Esales Project (4.6). Now I have to install the Zendguard Loader. How can I do that? I have to put the .so file into the php direction inside the container and extend the php.ini. I asked earlier about the Ioncube loader and that works fine with DDEV-Local. But I don't know how to integrate the zendguard loeader? Can someone help me?


回答1:


  1. Download the Zendguard Loader from their website. (Linux, 64-bit, PHP5.6)
  2. Place the tarball in your project's .ddev/web-build/ directory
  3. Add this Dockerfile as .ddev/web-build/Dockerfile:
ARG BASE_IMAGE
FROM $BASE_IMAGE
ADD zend-loader-php5.6-linux-x86_64_update1.tar.gz /etc/php/5.6
RUN echo "zend_extension=/etc/php/5.6/zend-loader-php5.6-linux-x86_64/ZendGuardLoader.so" >>/etc/php/5.6/mods-available/zendguardloader.ini
RUN phpenmod zendguardloader
  1. ddev start.
  2. ddev exec php --version will show you that it's active
  3. Read the README.txt provided in the tarball and follow instructions as needed.


来源:https://stackoverflow.com/questions/65852763/ddev-integration-zendguard-loader

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!