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(). Then I searched alternative for it in php 5.3 but not able to find right information, kindly help.
1条回答 默认 最新
- doumen9709 2012-10-08 06:24关注
From the docs of
dl()
:5.3.0: dl() is now disabled in some SAPIs due to stability issues. The only SAPIs that allow dl() are CLI and 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
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报