Koozali.org: home of the SME Server
Obsolete Releases => SME 9.x Contribs => Topic started by: beast on November 18, 2018, 05:57:04 PM
-
After the latest system update of PHP Software Collections my PHP 7.1.23 installation do not have GMP enabled any more? Just did an update a couple of days ago.
It seam to be enabled in the CGI mode of version 5.3.3 as 'php -m' list gmp on the command line.
But a PHPINFO and also my own test (extension_loaded("gmp")) show that it is not enabled in a PHP 7.1 ibay?
Every math operation is also slow after the update.
Is this on purpose and how do I enable it again?
Thank you
Benny
-
You need the remi repo and probably something like:
php71-gmp
Check the wiki for how to set up the rwmi repos. Something like tilhis may help
https://wiki.contribs.org/Extrarepositories
-
You need the remi repo and probably something like:
php71-gmp
Check the wiki for how to set up the rwmi repos. Something like tilhis may help
https://wiki.contribs.org/Extrarepositories
Think there is a bigger problem. Just tried to install latest version of owncloud and needed to upgrade to a later PHP version in that ibay and it also complain about other missing modules:
It say that PHP-module intl is not installed and the following "translated" text:
PHP modules have been installed, but they still appear to be missing?
Please ask your server administrator to restart the web server.
-
My previous post should have givem you a clue.
How about
php71-intl ?? Note the 71 bit. If you needed 70 or 72 then change accordingly..
.
On the cli use php71 -i or -m to check what is loaded.
-
My previous post should have givem you a clue.
How about
php71-intl ?? Note the 71 bit. If you needed 70 or 72 then change accordingly..
.
On the cli use php71 -i or -m to check what is loaded.
So if I execute the following commands it will work if I understand you correctly
yum install smeserver-extrarepositories-remi-safe
signal-event yum-modify
config set UnsavedChanges no
yum -y install php71-gmp
yum -y install php71-intl
-
Look about right :-)
-
So if I execute the following commands it will work if I understand you correctly
yum install smeserver-extrarepositories-remi-safe
signal-event yum-modify
config set UnsavedChanges no
So far so good, added me I would..
A few minutes of reading the wiki finds what you want to do..
https://wiki.contribs.org/PHP_Software_Collections#Find_other_RPMS
yum list available php7\* --disablerepo=* --enablerepo=remi-safe
or
yum list available php71\* --disablerepo=* --enablerepo=remi-safe
Browse the list produced .. yep there they are:
At least you get to say yes or no
# yum install php71-php-gmp --enablerepo=remi-safe
# yum install php71-php-intl.x86_64 --enablerepo=remi-safe
No guarantees, no warranties..
-
No guarantees, no warranties..
YMMV :-)
-
Got it working with the following commands:
# yum install smeserver-extrarepositories-remi-safe
# signal-event yum-modify
# config set UnsavedChanges no
# yum install php71-php-gmp --enablerepo=remi-safe
# yum install php71-php-intl.x86_64 --enablerepo=remi-safe
Thank you all :-)
-
Send money :-)
:D :D :D :D :D
-
Send money :-)
:D :D :D :D :D
Have done that a couple of times ;-)
-
Have done that a couple of times ;-)
I Know, I was just being facetious, all good.