GMP functions

Problems with the Windows version of XAMPP, questions, comments, and anything related.

GMP functions

Postby Komplexbs » 24. February 2009 15:04

Hello,

I recently tried to use the gmp_prob_prime PHP function but it encountered in an error and it seems that even though I uncommented the gmp extension it does not load.What should I do?

Best Regards
Komplexbs
 
Posts: 4
Joined: 24. February 2009 15:02

Re: GMP functions

Postby Wiedmann » 24. February 2009 15:11

even though I uncommented the gmp extension it does not load.

Maybe you are doing this in a wrong "php.ini"?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: GMP functions

Postby Komplexbs » 24. February 2009 22:07

Nope I uncommented it in all php.ini files.
Komplexbs
 
Posts: 4
Joined: 24. February 2009 15:02

Re: GMP functions

Postby Wiedmann » 24. February 2009 22:15

Well, I have no problem loading this extension, after enabling it in the one correct "php.ini".

You can change "display_startup_errors" in "php.ini" to "on" and see if something is in the error.log from Apache.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: GMP functions

Postby Komplexbs » 24. February 2009 22:24

No there is no problem there,everything started normally.To add some more information:

I am using the php 5.2.6 version and I edited both php.ini and php5.ini in the php directory and then stopped and started apache but still nothing.
Komplexbs
 
Posts: 4
Joined: 24. February 2009 15:02

Re: GMP functions

Postby Wiedmann » 24. February 2009 22:27

and I edited both php.ini and php5.ini in the php directory

Ask phpinfo() which is the correct "php.ini".
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: GMP functions

Postby Komplexbs » 24. February 2009 22:32

Ah of course!Thank you :) the problem was that it was pulling the options from the php.ini in apache/bin .Thank you again.
Komplexbs
 
Posts: 4
Joined: 24. February 2009 15:02


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 42 guests