I have been using the instructions on this website - https://websiteforstudents.com/install-magento-2-using-composer-on-ubuntu-16-04-18-04-with-apache2-m...
to install it on my ubuntu machine but when it gets to Step 5 I am hit with this error. I've tried manually install the BCMath for all my PHP versions and restarted apache2 to commit the change.
Does anyone know what could be going on?
Problem 1 - Installation request for magento/product-community-edition 2.3.1 -> satisfiable by magento/product-community-edition[2.3.1]. - magento/product-community-edition 2.3.1 requires ext-bcmath * -> the requested PHP extension bcmath is missing from your system. Problem 2 - Conclusion: don't install magento/magento2-functional-testing-framework 2.3.14 - allure-framework/allure-php-api 1.1.0 requires moontoast/math >=1.1.0 -> satisfiable by moontoast/math[1.1.0, 1.1.1, 1.1.2]. - allure-framework/allure-php-api 1.1.1 requires moontoast/math >=1.1.0 -> satisfiable by moontoast/math[1.1.0, 1.1.1, 1.1.2]. - allure-framework/allure-php-api 1.1.2 requires moontoast/math >=1.1.0 -> satisfiable by moontoast/math[1.1.0, 1.1.1, 1.1.2]. - allure-framework/allure-php-api 1.1.3 requires moontoast/math >=1.1.0 -> satisfiable by moontoast/math[1.1.0, 1.1.1, 1.1.2]. - allure-framework/allure-php-api 1.1.4 requires moontoast/math >=1.1.0 -> satisfiable by moontoast/math[1.1.0, 1.1.1, 1.1.2]. - moontoast/math 1.1.2 requires ext-bcmath * -> the requested PHP extension bcmath is missing from your system. - moontoast/math 1.1.1 requires ext-bcmath * -> the requested PHP extension bcmath is missing from your system. - moontoast/math 1.1.0 requires ext-bcmath * -> the requested PHP extension bcmath is missing from your system. - epfremme/swagger-php v2.0.0 requires jms/serializer ^1.1 -> satisfiable by jms/serializer[1.1.0, 1.10.0, 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.14.0, 1.2.0, 1.3.0, 1.3.1, 1.4.0, 1.4.1, 1.4.2, 1.5.0, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.8.0, 1.8.1, 1.9.0, 1.9.1, 1.9.2]. - Can only install one of: jms/serializer[1.1.0, 0.16.0]. - Can only install one of: jms/serializer[1.10.0, 0.16.0]. - Can only install one of: jms/serializer[1.11.0, 0.16.0]. - Can only install one of: jms/serializer[1.12.0, 0.16.0]. - Can only install one of: jms/serializer[1.12.1, 0.16.0]. - Can only install one of: jms/serializer[1.13.0, 0.16.0]. - Can only install one of: jms/serializer[1.14.0, 0.16.0]. - Can only install one of: jms/serializer[1.2.0, 0.16.0]. - Can only install one of: jms/serializer[1.3.0, 0.16.0]. - Can only install one of: jms/serializer[1.3.1, 0.16.0]. - Can only install one of: jms/serializer[1.4.0, 0.16.0]. - Can only install one of: jms/serializer[1.4.1, 0.16.0]. - Can only install one of: jms/serializer[1.4.2, 0.16.0]. - Can only install one of: jms/serializer[1.5.0, 0.16.0]. - Can only install one of: jms/serializer[1.6.0, 0.16.0]. - Can only install one of: jms/serializer[1.6.1, 0.16.0]. - Can only install one of: jms/serializer[1.6.2, 0.16.0]. - Can only install one of: jms/serializer[1.7.0, 0.16.0]. - Can only install one of: jms/serializer[1.7.1, 0.16.0]. - Can only install one of: jms/serializer[1.8.0, 0.16.0]. - Can only install one of: jms/serializer[1.8.1, 0.16.0]. - Can only install one of: jms/serializer[1.9.0, 0.16.0]. - Can only install one of: jms/serializer[1.9.1, 0.16.0]. - Can only install one of: jms/serializer[1.9.2, 0.16.0]. - allure-framework/allure-php-api 1.1.5 requires jms/serializer ^0.16.0 -> satisfiable by jms/serializer[0.16.0]. - allure-framework/allure-codeception 1.3.0 requires allure-framework/allure-php-api ~1.1.0 -> satisfiable by allure-framework/allure-php-api[1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5]. - magento/magento2-functional-testing-framework 2.3.13 requires allure-framework/allure-codeception ~1.3.0 -> satisfiable by allure-framework/allure-codeception[1.3.0]. - magento/magento2-functional-testing-framework 2.3.13 requires epfremme/swagger-php ^2.0 -> satisfiable by epfremme/swagger-php[v2.0.0]. - Installation request for magento/magento2-functional-testing-framework ~2.3.13 -> satisfiable by magento/magento2-functional-testing-framework[2.3.13, 2.3.14]. To enable extensions, verify that they are enabled in your .ini files: - /etc/php/7.2/cli/php.ini - /etc/php/7.2/cli/conf.d/10-mysqlnd.ini - /etc/php/7.2/cli/conf.d/10-opcache.ini - /etc/php/7.2/cli/conf.d/10-pdo.ini - /etc/php/7.2/cli/conf.d/15-xml.ini - /etc/php/7.2/cli/conf.d/20-calendar.ini - /etc/php/7.2/cli/conf.d/20-ctype.ini - /etc/php/7.2/cli/conf.d/20-curl.ini - /etc/php/7.2/cli/conf.d/20-dom.ini - /etc/php/7.2/cli/conf.d/20-exif.ini - /etc/php/7.2/cli/conf.d/20-fileinfo.ini - /etc/php/7.2/cli/conf.d/20-ftp.ini - /etc/php/7.2/cli/conf.d/20-gd.ini - /etc/php/7.2/cli/conf.d/20-gettext.ini - /etc/php/7.2/cli/conf.d/20-iconv.ini - /etc/php/7.2/cli/conf.d/20-json.ini - /etc/php/7.2/cli/conf.d/20-mbstring.ini - /etc/php/7.2/cli/conf.d/20-mysqli.ini - /etc/php/7.2/cli/conf.d/20-pdo_mysql.ini - /etc/php/7.2/cli/conf.d/20-pdo_pgsql.ini - /etc/php/7.2/cli/conf.d/20-pdo_sqlite.ini - /etc/php/7.2/cli/conf.d/20-pgsql.ini - /etc/php/7.2/cli/conf.d/20-phar.ini - /etc/php/7.2/cli/conf.d/20-posix.ini - /etc/php/7.2/cli/conf.d/20-readline.ini - /etc/php/7.2/cli/conf.d/20-shmop.ini - /etc/php/7.2/cli/conf.d/20-simplexml.ini - /etc/php/7.2/cli/conf.d/20-sockets.ini - /etc/php/7.2/cli/conf.d/20-sqlite3.ini - /etc/php/7.2/cli/conf.d/20-sysvmsg.ini - /etc/php/7.2/cli/conf.d/20-sysvsem.ini - /etc/php/7.2/cli/conf.d/20-sysvshm.ini - /etc/php/7.2/cli/conf.d/20-tokenizer.ini - /etc/php/7.2/cli/conf.d/20-wddx.ini - /etc/php/7.2/cli/conf.d/20-xmlreader.ini - /etc/php/7.2/cli/conf.d/20-xmlwriter.ini - /etc/php/7.2/cli/conf.d/20-xsl.ini - /etc/php/7.2/cli/conf.d/20-zip.ini You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
Hello @trent_nguyen ,
After installing the php extension, please check your php.ini file whether that related extension is uncommented and enabled. You can also print using phpinfo().