Jump to content
The Uniform Server Community
Len Jacobson

dl() Function Undefined

Recommended Posts

I am using a third-party product (WHMCS) that requires the PHP function 'dl()', which dynamically loads extensions. In the PHP manual, there is a message that says "This function has been removed from some SAPIs in PHP 5.3."

 

When I tried to execute the installation code of WHMCS, it failed with a message: "Call to undefined function dl() in ...".

 

In the 'php.ini' file, I saw that the parameter, 'enable_dl', is 'Off'. I changed that to 'On', but still the 'dl()' function is undefined.

 

Can someone please help me past this problem?

 

Thank you.

Share this post


Link to post
Share on other sites

As I see it, WHMCS is used for managing web hosting accounts. In the grand scheme of things, I fail to see where The Uniform Server would apply. I would expect that WHMCS would be put directly on a Linux host along with cPanel, not on a Windows-based production environment. I'm just rather confused as to why you are using this with The Uniform Server.

 

Leaving that aside, I'm sure that the version of WHMCS you have (which you failed to specify) is restrained to a particular version of PHP. This is apparently older than PHP 5.3.

 

My advice is to download an older version of The Uniform Server that has the PHP version matched to what your WHMCS version requires. The other alternative is to get a more current copy of WHMCS or request their support on this issue.

 

Regards,

BobS

Share this post


Link to post
Share on other sites

BobS,

 

I am using the latest version of WHMCS.

 

The reason I want to use it on the Uniform Server is to test our coding that makes use of WHMCS.

 

You are probably right, that installing an older version of the Uniform Server would fix this problem. But I want to use the latest of both WHMCS and the latest Uniform Server.n

 

Thank you for trying to help.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...