0

我在 Swoole 官网上下载了 SwooleCompilerLoader 却发现只支持 php7.2 (最高),现有php加密程序一个,不知道如何在不改变 PHP 版本下运行它?
现在一运行loader就提示
PHP Warning: PHP Startup: Unable to load dynamic library 'swoole_loader72' (tried: /usr/lib/php/20180731/swoole_loader72 (/usr/lib/php/20180731/swoole_loader72: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/swoole_loader72.so (/usr/lib/php/20180731/swoole_loader72.so: undefined symbol: _zval_ptr_dtor)) in Unknown on line 0
而我查了一下谷歌和文档,并不知道 undefined symbol: _zval_ptr_dtor 是什么意思,请问有尝试成功的吗?

2019-03-03 提问

1 个回答

1

已采纳
  1. Swoole Compiler加密PHP7.3版本的loader端目前已经准备上线了,耐心等待。
  2. 报错PHP Warning: PHP Startup: Unable to load dynamic library 'swoole_loader72' (tried: /usr/lib/php/20180731/swoole_loader72 (/usr/lib/php/20180731/swoole_loader72: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/swoole_loader72.so (/usr/lib/php/20180731/swoole_loader72.so: undefined symbol: _zval_ptr_dtor)) in Unknown on line 0
是因为你在php.ini加入了swoole_loader72扩展,但是你扩展安装目录中并没有swoole_loader72.so文件,可以查看官网wiki进行安装https://wiki.swoole.com/wiki/page/849.html

推广链接