简体   繁体   English

如何在php 5.3中动态加载php扩展@dl('ioncube_loader_lin_5.3.so')

[英]how to load php extention @dl('ioncube_loader_lin_5.3.so') dynamically in php 5.3

I am trying to load php extension @dl('ioncube_loader_lin_5.3.so') dynamically , but gives me fatal error :call to undefined function dl(). 我正在尝试动态加载php扩展名@dl('ioncube_loader_lin_5.3.so'),但给我致命的错误:调用未定义函数dl()。 Then I searched alternative for it in php 5.3 but not able to find right information, kindly help. 然后我在php 5.3中搜索了它的替代方法,但找不到正确的信息,请帮忙。

From the docs of dl() : dl()的文档中:

5.3.0: dl() is now disabled in some SAPIs due to stability issues. 5.3.0:由于稳定性问题,现在在某些SAPI中禁用了dl()。 The only SAPIs that allow dl() are CLI and Embed. 允许dl()的唯一SAPI是CLI和Embed。 Use the Extension Loading Directives instead. 请改用扩展加载指令

You need to add the extension to your php.ini: extension=/path/to/extension/ioncube_loader_lin_5.3.so 您需要将扩展​​名添加到php.ini中: extension=/path/to/extension/ioncube_loader_lin_5.3.so

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM