sandip
sandip

Reputation: 3289

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(). Then I searched alternative for it in php 5.3 but not able to find right information, kindly help.

Upvotes: 1

Views: 2994

Answers (1)

dan-lee
dan-lee

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

Related Questions