PHP 5.3+ enable_dl not enabling dl()?

前端 未结 1 1118
天涯浪人
天涯浪人 2021-01-05 05:30

I am trying to install a 3rd party PHP extension (.so) into PHP 5.3.6-13 on Ubuntu 11.10 and use it in a web environment. The vendor\'s documentation suggests using the

相关标签:
1条回答
  • 2021-01-05 06:27

    This function has been removed from some SAPIs in PHP 5.3. -- dl()

    So if you have the ini setting enable_dl set to on and it still does not work, then it is disabled in the SAPI you use.

    If you wonder which SAPIs are meant, the changelog on that same page is more detailed:

    The only SAPIs that allow dl() are CLI and Embed.

    You are not using any of these two. Instead use the Extension Loading Directives and you're fine.

    0 讨论(0)
提交回复
热议问题