Reputation: 3289
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.
Upvotes: 1
Views: 2994
Reputation: 14492
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
Upvotes: 5