I am trying to setup a new vagrant box for Magento 2 development, however when running composer install
, I receive the following errors:
Problem 1
- The requested PHP extension ext-gd * is missing from your system. Install or enable PHP's gd extension.
Problem 2
- The requested PHP extension ext-mcrypt * is missing from your system. Install or enable PHP's mcrypt extension.
Problem 3
- The requested PHP extension ext-curl * is missing from your system. Install or enable PHP's curl extension.
Problem 4
- The requested PHP extension ext-intl * is missing from your system. Install or enable PHP's intl extension.
Problem 5
- The requested PHP extension ext-xsl * is missing from your system. Install or enable PHP's xsl extension.
Problem 6
- The requested PHP extension ext-mbstring * is missing from your system. Install or enable PHP's mbstring extension.
Problem 7
- The requested PHP extension ext-openssl * is missing from your system. Install or enable PHP's openssl extension.
Problem 8
- The requested PHP extension ext-zip * is missing from your system. Install or enable PHP's zip extension.
I have already tried installing each of these extensions using sudo apt-get install php7.0-mcrypt
etc, however I am still getting the errors above stating that the extensions I have installed are still missing. I have restarted Apache2. Any ideas?
PHP -v
PHP 7.0.8 (cli) (built: Jun 26 2016 15:14:18) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
<?php phpinfo();
page to check and confirm whats whatphp -m
and see what list of installed extension you get as an output.