chrisleekr / yii2-angular-boilerplate

Yii2 REST API + Angular 12 Boilerplate (Frontend/Backend)
https://yam-boilerplate.chrislee.kr/
MIT License
224 stars 101 forks source link

After ignore composer platform-reqs, i got bad request error #3

Closed nishant-befree closed 7 years ago

nishant-befree commented 7 years ago

Hi,

I would like to try this application, however, I tried to install this I got below error.

After that, i found something from the internet and tried composer install --ignore-platform-reqs

Now application installed successfully and migration steps and localhost configured.

But now I got error while running in browser http://api.boilerplate.local/ {"name":"Bad Request","message":"The system could not process your request. Please check and try again.","code":0,"status":400,"type":"yii\\web\\BadRequestHttpException"}

please advise

Regards Nishant

Your version of PHP, 5.4.12, is affected by CVE-2013-6420 and cannot safely perf orm certificate validation, we strongly suggest you upgrade. 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 symfony/http-foundation v3.3.2 -> satisfiable by symfony/http-foundation[v3.3.2].
  • symfony/http-foundation v3.3.2 requires php >=5.5.9 -> your PHP version (5 .4.12) does not satisfy that requirement. Problem 2
  • Installation request for phpdocumentor/reflection-common 1.0 -> satisfiabl e by phpdocumentor/reflection-common[1.0].
  • phpdocumentor/reflection-common 1.0 requires php >=5.5 -> your PHP version (5.4.12) does not satisfy that requirement.
chrisleekr commented 7 years ago

Hi @nishant-befree,

Have you tried to upgrade your PHP?

nishant-befree commented 7 years ago

No, I would like to run this in my current PHP version because there are several projects configured which might not compatible with latest PHP version.

chrisleekr commented 7 years ago

Hi @nishant-befree

Sorry for late reply.

The error, you got when you access http://api.boilerplate.local/, is expected. Other functions should work as expected as well.

Let me know if you have other issues.