🎯When I try the to access my installation for the first time, I get the error message below, indicating that php-bcmath is not installed:
▶🚶Reproduction steps
📃Error log message
When I try to install php-bcmath, I get this:
[root@home conf.d]# yum install php-bcmath
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/x86_64/metalink | 32 kB 00:00:00
* base: centos.danshin.pro
* epel: mirror.wiuwiu.de
* extras: mirror.alpix.eu
* remi-php71: mirror.23media.de
* remi-safe: mirror.23media.de
* updates: mirror.alpix.eu
* webtatic: uk.repo.webtatic.com
base | 3.6 kB 00:00:00
epel | 4.7 kB 00:00:00
extras | 3.4 kB 00:00:00
mariadb | 2.9 kB 00:00:00
remi-php71 | 3.0 kB 00:00:00
remi-safe | 3.0 kB 00:00:00
updates | 3.4 kB 00:00:00
webtatic | 3.6 kB 00:00:00
(1/4): remi-php71/primary_db | 238 kB 00:00:00
(2/4): epel/x86_64/updateinfo | 960 kB 00:00:00
(3/4): remi-safe/primary_db | 1.4 MB 00:00:00
(4/4): epel/x86_64/primary_db | 6.6 MB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package php-bcmath.x86_64 0:7.1.26-1.el7.remi will be installed
--> Processing Dependency: php-common(x86-64) = 7.1.26-1.el7.remi for package: php-bcmath-7.1.26-1.el7.remi.x86_64
--> Running transaction check
---> Package php-common.x86_64 0:7.1.26-1.el7.remi will be installed
--> Processing Conflict: php72w-common-7.2.14-1.w7.x86_64 conflicts php-common < 7.2
--> Finished Dependency Resolution
Error: php72w-common conflicts with php-common-7.1.26-1.el7.remi.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@home Chevereto-2.X-master]# php --version
PHP 7.2.14 (cli) (built: Jan 12 2019 12:47:33) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.14, Copyright (c) 1999-2018, by Zend Technologies
[root@home Chevereto-2.X-master]#
[root@home Chevereto-2.X-master]# mysql --version
mysql Ver 15.1 Distrib 10.2.22-MariaDB, for Linux (x86_64) using readline 5.1
[root@home Chevereto-2.X-master]#
[root@home Chevereto-2.X-master]#
[root@home Chevereto-2.X-master]# more /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)
[root@home Chevereto-2.X-master]# uname -a
Linux home 3.10.0-957.5.1.el7.x86_64 #1 SMP Fri Feb 1 14:54:57 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
[root@home Chevereto-2.X-master]# httpd -version
Server version: Apache/2.4.6 (CentOS)
Server built: Nov 5 2018 01:47:09
[root@home Chevereto-2.X-master]#
Any help on this issue is greatly appreciated!!
There is a problem regarding server requirements. This means that Chevereto can't run because of the following:
- bcadd function is not defined. You need to re-install the BC Math functions.
- bcmul function is not defined. You need to re-install the BC Math functions.
- bcpow function is not defined. You need to re-install the BC Math functions.
- bcmod function is not defined. You need to re-install the BC Math functions.
- bcdiv function is not defined. You need to re-install the BC Math functions.
Please notice that this issue is because your server setup. If you want to run Chevereto please contact your hosting company or system admin regarding this report.
▶🚶Reproduction steps
- just connect to my chevereto installation, it will always fail
📃Error log message
When I try to install php-bcmath, I get this:
[root@home conf.d]# yum install php-bcmath
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/x86_64/metalink | 32 kB 00:00:00
* base: centos.danshin.pro
* epel: mirror.wiuwiu.de
* extras: mirror.alpix.eu
* remi-php71: mirror.23media.de
* remi-safe: mirror.23media.de
* updates: mirror.alpix.eu
* webtatic: uk.repo.webtatic.com
base | 3.6 kB 00:00:00
epel | 4.7 kB 00:00:00
extras | 3.4 kB 00:00:00
mariadb | 2.9 kB 00:00:00
remi-php71 | 3.0 kB 00:00:00
remi-safe | 3.0 kB 00:00:00
updates | 3.4 kB 00:00:00
webtatic | 3.6 kB 00:00:00
(1/4): remi-php71/primary_db | 238 kB 00:00:00
(2/4): epel/x86_64/updateinfo | 960 kB 00:00:00
(3/4): remi-safe/primary_db | 1.4 MB 00:00:00
(4/4): epel/x86_64/primary_db | 6.6 MB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package php-bcmath.x86_64 0:7.1.26-1.el7.remi will be installed
--> Processing Dependency: php-common(x86-64) = 7.1.26-1.el7.remi for package: php-bcmath-7.1.26-1.el7.remi.x86_64
--> Running transaction check
---> Package php-common.x86_64 0:7.1.26-1.el7.remi will be installed
--> Processing Conflict: php72w-common-7.2.14-1.w7.x86_64 conflicts php-common < 7.2
--> Finished Dependency Resolution
Error: php72w-common conflicts with php-common-7.1.26-1.el7.remi.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@home Chevereto-2.X-master]# php --version
PHP 7.2.14 (cli) (built: Jan 12 2019 12:47:33) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.14, Copyright (c) 1999-2018, by Zend Technologies
[root@home Chevereto-2.X-master]#
[root@home Chevereto-2.X-master]# mysql --version
mysql Ver 15.1 Distrib 10.2.22-MariaDB, for Linux (x86_64) using readline 5.1
[root@home Chevereto-2.X-master]#
[root@home Chevereto-2.X-master]#
[root@home Chevereto-2.X-master]# more /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)
[root@home Chevereto-2.X-master]# uname -a
Linux home 3.10.0-957.5.1.el7.x86_64 #1 SMP Fri Feb 1 14:54:57 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
[root@home Chevereto-2.X-master]# httpd -version
Server version: Apache/2.4.6 (CentOS)
Server built: Nov 5 2018 01:47:09
[root@home Chevereto-2.X-master]#
Any help on this issue is greatly appreciated!!