*Im running Windows 10.
I open the cmd and type:
composer create-project laravel/laravel **project_name**
Im getting the following lines within the cmd:
You are running Composer with SSL/TLS protection disabled. Loading composer repositories with package information
but it seems that its all good and the folder structure is correct.
then i type the following commnad in order to download all my dependecies [vendor dir]:
composer install
and i am getting the following lines within the cmd:
You are running Composer with SSL/TLS protection disabled. Loading composer repositories with package information Warning: Accessing packagist.org over http which is an insecure protocol. Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.
Problem 1 - laravel/framework v5.4.9 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework v5.4.8 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework v5.4.7 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework v5.4.6 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework v5.4.5 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework v5.4.4 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework v5.4.3 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework v5.4.28 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework v5.4.27 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework v5.4.26 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework v5.4.25 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework v5.4.24 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework v5.4.23 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework v5.4.22 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework v5.4.21 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework v5.4.20 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework v5.4.2 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework v5.4.19 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework v5.4.18 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework v5.4.17 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework v5.4.16 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework v5.4.15 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework v5.4.14 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework v5.4.13 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework v5.4.12 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework v5.4.11 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework v5.4.10 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework v5.4.1 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework v5.4.0 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - Installation request for laravel/framework 5.4.* -> satisfiable by laravel/framework[v5.4.0, v5.4.1, v5.4.10, v5.4.11, v5.4.12, v5.4.13, v5.4.14, v5.4.15, v5.4.16, v5.4.17, v5.4.18, v5.4.19, v5.4.2, v5.4.20, v5.4.21, v5.4.22, v5.4.23, v5.4.24, v5.4.25, v5.4.26, v5.4.27, v5.4.28, v5.4.3, v5.4.4, v5.4.5, v5.4.6, v5.4.7, v5.4.8, v5.4.9].
its has never happened to me before that i cant find a solution here or at google.
Thanks.
PS
I reinstalled php to C:/php i extracted the php.ini file into C:/ i set the environment variables and i also uncommented the extension
mbstring
extension. You need to install/enable that. Can you runphpinfo()
and see if it is actually loading? This might give you some help: knowledgebase-script.com/kb/article/… It might be as simple as enabling it, or you may need to download/install it first. If you're using wamp, click on the Tray Icon, go toPHP -> PHP Extensions
and tickphp_mbstring
and see if that solves it. – Giedriusbin
folder wherephp
executable sits and runphp ~/composer.phar
(or whereever yourcomposer.phar
file sits and then the rest of your command). It is also possible that you have multiple config files - try runningphpinfo()
in your command line terminal and see if extension is enabled. – Giedrius