I get the following error when I try to install Laravel via
laravel new blog. I installed
PHP7 but still no luck.
Crafting application... Cannot create cache directory /home/superserver/.composer/cache/repo/https---packagist.org/, or dire ctory is not writable. Proceeding without cache Cannot create cache directory /home/superserver/.composer/cache/files/, or directory is not writable . Proceeding without cache Cannot create cache directory /home/superserver/.composer/cache/repo/https---packagist.org/, or dire ctory is not writable. Proceeding without cache Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Your requirements could not be resolved to an installable set of packages. Problem 1 - Installation request for laravel/framework v5.3.18 -> satisfiable by laravel/framework[v5.3.18 ]. - laravel/framework v5.3.18 requires ext-mbstring * -> the requested PHP extension mbstring is m issing from your system. Problem 2 - Installation request for phpunit/phpunit 5.6.1 -> satisfiable by phpunit/phpunit[5.6.1]. - phpunit/phpunit 5.6.1 requires ext-dom * -> the requested PHP extension dom is missing from yo ur system. To enable extensions, verify that they are enabled in those .ini files: - /etc/php/7.0/cli/php.ini - /etc/php/7.0/cli/conf.d/10-mysqlnd.ini
This is what I get when I check PHP vesion.
PHP 7.0.12-1+deb.sury.org~trusty+1 (cli) ( NTS ) Copyright (c) 1997-2016 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies with Zend OPcache v7.0.12-1+deb.sury.org~trusty+1, Copyright (c) 1999-2016, by Zend Technologies
Any idea what could be wrong?