php - laravel installation error in ubuntu 16.04 -


i having trouble while installation error in laravel. first install xampp in ubuntu 16.04. after

cd /opt/lampp/htdocs/ composer create-project --prefer-dist laravel/laravel blog 

installation laravel composer error occurs

e: package 'php5-mcrypt' has no installation candidate shwekayin@shwekayin-virtualbox:/opt/lampp/htdocs$ composer create-project --prefer-dist laravel/laravel blog1 installing laravel/laravel (v5.3.0)   - installing laravel/laravel (v5.3.0)     loading cache  created project in blog1 > php -r "file_exists('.env') || copy('.env.example', '.env');" loading composer repositories package information updating dependencies (including require-dev) requirements not resolved installable set of packages.    problem 1     - laravel/framework v5.3.4 requires ext-mbstring * -> requested php extension mbstring missing system.     - laravel/framework v5.3.3 requires ext-mbstring * -> requested php extension mbstring missing system.     - laravel/framework v5.3.2 requires ext-mbstring * -> requested php extension mbstring missing system.     - laravel/framework v5.3.1 requires ext-mbstring * -> requested php extension mbstring missing system.     - laravel/framework v5.3.0 requires ext-mbstring * -> requested php extension mbstring missing system.     - installation request laravel/framework 5.3.* -> satisfiable laravel/framework[v5.3.0, v5.3.1, v5.3.2, v5.3.3, v5.3.4].    enable extensions, verify enabled in .ini files:     - /etc/php/7.0/cli/php.ini     - /etc/php/7.0/cli/conf.d/10-opcache.ini     - /etc/php/7.0/cli/conf.d/10-pdo.ini     - /etc/php/7.0/cli/conf.d/20-calendar.ini     - /etc/php/7.0/cli/conf.d/20-ctype.ini     - /etc/php/7.0/cli/conf.d/20-exif.ini     - /etc/php/7.0/cli/conf.d/20-fileinfo.ini     - /etc/php/7.0/cli/conf.d/20-ftp.ini     - /etc/php/7.0/cli/conf.d/20-gettext.ini     - /etc/php/7.0/cli/conf.d/20-iconv.ini     - /etc/php/7.0/cli/conf.d/20-json.ini     - /etc/php/7.0/cli/conf.d/20-phar.ini     - /etc/php/7.0/cli/conf.d/20-posix.ini     - /etc/php/7.0/cli/conf.d/20-readline.ini     - /etc/php/7.0/cli/conf.d/20-shmop.ini     - /etc/php/7.0/cli/conf.d/20-sockets.ini     - /etc/php/7.0/cli/conf.d/20-sysvmsg.ini     - /etc/php/7.0/cli/conf.d/20-sysvsem.ini     - /etc/php/7.0/cli/conf.d/20-sysvshm.ini     - /etc/php/7.0/cli/conf.d/20-tokenizer.ini   can run `php --ini` inside terminal see files used php in cli mode. 

how can fix error. xampp php version 7.0.10

the error message details wrong:

laravel/framework v5.3.4 requires ext-mbstring * -> requested php extension mbstring missing system.

run sudo apt install php-mbstring install it.


Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -