Reputation: 23
composer create-project laravel/laravel **project_name**
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.
composer install
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].
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
Upvotes: 0
Views: 631
Reputation: 23
Finally I found the solution.
I've uninstalled composer and i discovered i have 2 php configurations within my pc.
I've deleted the configuration that located outside the xampp folder.
Ive downloaded a new PHP extracted it into xampp folder
(you need to change the php.ini-development file to: php.ini)
then you have to find (ctrl+f): extension_dir and modify it to your path in my case C:/xampp/php/ext
then installed composer, located the php.exe and then it said theres an issue with openssl so i modified within the php.ini file the relevant extension (simply remove the ;)
now its working just great.
Upvotes: 0