Jump to content

Fatal error: Call to undefined function gmp_intval()


denc

Recommended Posts

Hi all,

 

I'm quite new to PHP scripting. I would like to check with you what would the subjected error mean?

 

Is it something I have to check with the web-hosting company? I thought gmp_intval() is some standard function in php, no?

 

 

Thanks in advance.

Link to comment
Share on other sites

I thought gmp_intval() is some standard function in php, no?

 

No, they come from an extension which you have to enable, either with a flag when compiling PHP or specifying it in the php.ini file.

 

If you're using a hosting company then you should contact their support to see if they can enable it for you (or give you instructions on how to enable it yourself).

 

Link to comment
Share on other sites

Create a file called phpinfo.php and put in it the following code:

<?php phpinfo(); ?>

 

When you load it you'll see a bunch of information about PHP's configuration and it's loaded extensions.  There should be a section somewhere in there for GMP if it is enabled.

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.