php - Composer create project issue
681
I am getting the following error while creating project
C:\MAMP\htdocs>composer create-project laravel/laravel testing 5.2
Your version of PHP, 5.4.1, is affected by CVE-2013-6420 and cannot safely perform certificate validation, we strongly suggest you upgrade.
Answer
Solution:
This means that your version of PHP is too old and has known vulnerabilities. You should upgrade the PHP version to at least 5.6, but I would recommand to upgrade directly to 7.0 or 7.1. They are under active support (until dec 3rd for 7.0) and have better perfomance.
Moreover laravel 5.2 needs a PHP version >= 5.5.9. It's written in the requirements.
Here is the supported version chart of PHP. You shouldn't use any version that is in red.
Answer
Solution:
you need update your PHP version source : https://laravel.com/docs/5.2/releases so PHP 5.5.9 + for you :)