# Issue with php and Radstudio creating authentication

**URL:** <https://forum.radsystems.io/t/issue-with-php-and-radstudio-creating-authentication/1884>\
**Category:** PHPRad Classic\
**Created:** [December 27, 2023, 1:51am UTC](https://forum.radsystems.io/t/issue-with-php-and-radstudio-creating-authentication/1884 "2023-12-27T01:51:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yudaman](https://forum.radsystems.io/user_avatar/forum.radsystems.io/yudaman/32/1088_2.png) [@yudaman](https://forum.radsystems.io/u/yudaman)\
**Post date:** [December 27, 2023, 1:51am UTC](https://forum.radsystems.io/t/issue-with-php-and-radstudio-creating-authentication/1884/1 "2023-12-27T01:51:33Z")

</div>

I am using RadSystems Standard Edition 8.5.9 to create a PHP, Bootstrap web app. I have Laragon 5.0.0 which has the requirements for RadSystems Php 7.4.19 (since php 8.1 isn’t supported yet).  
All works fine until i publish my project and then i get an error: " **Fatal error** : Composer detected issues in your platform: Your Composer dependencies require a PHP version “\>= 8.1.0”."  
To fix this, i add php 8.1 to laragon and i am now able to view the publish and view the project.  
The problems now begin when i want to add authentication to the project. When i setup the necessary user table and fields and hit the “Okay” button, a cmd windows pops up with “PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version “\>= 8.1.0”. You are running 7.4.19.” The login page is created but not functioning and i cannot login to my system. If i manually edit the composer.json file and specify to use lavarel 8 (instead of 10) and also set the dependencies to versions for php 7.4, the composer.json file gets writeen over everytime i publish from within RadSytems.  
How can i solve this?

---

<div class="post-metadata">

**Author:** ![yudaman](https://forum.radsystems.io/user_avatar/forum.radsystems.io/yudaman/32/1088_2.png) [@yudaman](https://forum.radsystems.io/u/yudaman)\
**Post date:** [December 27, 2023, 9:09pm UTC](https://forum.radsystems.io/t/issue-with-php-and-radstudio-creating-authentication/1884/2 "2023-12-27T21:09:30Z")

</div>

Silly me. I had php 7.4.19 installed globally. Removing it from my system environment fixed that and i was able to succesfully create the login pages and allow for authentication.
