Hi, I've been going round in circles for the past 24 hours trying to figure out how to enable bcmath in php.
We have a virtual server running Linux CentOS 6 with plesk 11.5 & PHP 5.4.28
So far I have found info here: http://pkgs.org/centos-6/remi-x86_64/php-bcmath-5.4.28-1.el6.remi.x86_64.rpm.html
But can't get the commands to work. I'm not great with putty and the commands but learning a little.
I was also hoping that maybe updating PHP to a newer version and using the --enable-bcmath would work but I have no idea where to start.
We have several websites installed on the server, some with opencart etc installed so I don't want to break the server!
Any help would be greatly appreciated as I'm going to have no hair left at this rate!
This is what I get so far:
[root@louks ~]# wget rpms.famillecollet.com/enterprise/6/remi/x86_64/php-bcmath-5.4.28-1.el6.remi.x86_64.rpm
--2014-05-20 11:27:10-- http://rpms.famillecollet.com/enterprise/6/remi/x86_64/php-bcmath-5.4.28-1.el6.remi.x86_64.rpm
Resolving rpms.famillecollet.com... 195.154.241.117, 2001:bc8:33a1:100::1
Connecting to rpms.famillecollet.com|195.154.241.117|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 61340 (60K) [application/x-rpm]
Saving to: `php-bcmath-5.4.28-1.el6.remi.x86_64.rpm'
100%[======================================>] 61,340 --.-K/s in 0.01s
2014-05-20 11:27:10 (4.31 MB/s) - `php-bcmath-5.4.28-1.el6.remi.x86_64.rpm' saved [61340/61340]
[root@louks ~]# rpm -Uvh php-bcmath-5.4.28-1.el6.remi.x86_64.rpm
warning: php-bcmath-5.4.28-1.el6.remi.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 00f97f56: NOKEY
error: Failed dependencies:
php-common(x86-64) = 5.4.28-1.el6.remi is needed by php-bcmath-5.4.28-1.el6.remi.x86_64
[root@louks ~]# rpm -Uvh php-bcmath-5.4.28-1.el6.remi.x86_64*rpm
warning: php-bcmath-5.4.28-1.el6.remi.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 00f97f56: NOKEY
error: Failed dependencies:
php-common(x86-64) = 5.4.28-1.el6.remi is needed by php-bcmath-5.4.28-1.el6.remi.x86_64
Sorry for the long post.
We have a virtual server running Linux CentOS 6 with plesk 11.5 & PHP 5.4.28
So far I have found info here: http://pkgs.org/centos-6/remi-x86_64/php-bcmath-5.4.28-1.el6.remi.x86_64.rpm.html
But can't get the commands to work. I'm not great with putty and the commands but learning a little.
I was also hoping that maybe updating PHP to a newer version and using the --enable-bcmath would work but I have no idea where to start.
We have several websites installed on the server, some with opencart etc installed so I don't want to break the server!
Any help would be greatly appreciated as I'm going to have no hair left at this rate!
This is what I get so far:
[root@louks ~]# wget rpms.famillecollet.com/enterprise/6/remi/x86_64/php-bcmath-5.4.28-1.el6.remi.x86_64.rpm
--2014-05-20 11:27:10-- http://rpms.famillecollet.com/enterprise/6/remi/x86_64/php-bcmath-5.4.28-1.el6.remi.x86_64.rpm
Resolving rpms.famillecollet.com... 195.154.241.117, 2001:bc8:33a1:100::1
Connecting to rpms.famillecollet.com|195.154.241.117|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 61340 (60K) [application/x-rpm]
Saving to: `php-bcmath-5.4.28-1.el6.remi.x86_64.rpm'
100%[======================================>] 61,340 --.-K/s in 0.01s
2014-05-20 11:27:10 (4.31 MB/s) - `php-bcmath-5.4.28-1.el6.remi.x86_64.rpm' saved [61340/61340]
[root@louks ~]# rpm -Uvh php-bcmath-5.4.28-1.el6.remi.x86_64.rpm
warning: php-bcmath-5.4.28-1.el6.remi.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 00f97f56: NOKEY
error: Failed dependencies:
php-common(x86-64) = 5.4.28-1.el6.remi is needed by php-bcmath-5.4.28-1.el6.remi.x86_64
[root@louks ~]# rpm -Uvh php-bcmath-5.4.28-1.el6.remi.x86_64*rpm
warning: php-bcmath-5.4.28-1.el6.remi.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 00f97f56: NOKEY
error: Failed dependencies:
php-common(x86-64) = 5.4.28-1.el6.remi is needed by php-bcmath-5.4.28-1.el6.remi.x86_64
Sorry for the long post.