# PHP Parse error on laminas-diactoros

**URL:** <https://discourse.laminas.dev/t/php-parse-error-on-laminas-diactoros/3466>\
**Category:** Components & MVC\
**Tags:** laminas-diactoros\
**Created:** [September 11, 2023, 7:40am UTC](https://discourse.laminas.dev/t/php-parse-error-on-laminas-diactoros/3466 "2023-09-11T07:40:30Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![froschdesign](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.laminas.dev/froschdesign/32/38_2.png) [@froschdesign](https://discourse.laminas.dev/u/froschdesign)\
**Post date:** [September 11, 2023, 9:59am UTC](https://discourse.laminas.dev/t/php-parse-error-on-laminas-diactoros/3466/4 "2023-09-11T09:59:29Z")

</div>

> [@rubencp01](#):
>
> So i’m now certain that I’m using the correct php version.

This only says that the version for CLI is correct but not for your application. See: [PHP: phpinfo - Manual](https://www.php.net/manual/function.phpinfo.php)

---

_[View the full topic](https://discourse.laminas.dev/t/php-parse-error-on-laminas-diactoros/3466)._
