Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Version 8 required but 7.4 should be installed? #52

Open
hellofesjoe opened this issue Jan 3, 2024 · 1 comment
Open

PHP Version 8 required but 7.4 should be installed? #52

hellofesjoe opened this issue Jan 3, 2024 · 1 comment

Comments

@hellofesjoe
Copy link

Hello,

According to the install instructions I am suppposed to install php 7.4, which I did. Still I get this error in my nginx logs:

$ sudo tail -f /var/log/nginx/error.log
2024/01/03 16:38:28 [error] 14208#14208: *23 FastCGI sent in stderr: "PHP message: PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0". You are running 7.4.33. in /var/www/rdcore/cake4/rd_cake/vendor/composer/platform_check.php on line 24" while reading response header from upstream, client: 10.212.134.200, server: _, request: "GET /cake4/rd_cake/dashboard/branding.json?_dc=1704299908573&sel_language=4_4 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "192.168.26.103", referrer: "http://192.168.26.103/rd/build/production/Rd/"
Here is my php version:

$ php -v
PHP 7.4.33 (cli) (built: Jun  9 2023 16:51:37) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.33, Copyright (c), by Zend Technologies

How can I fix this? Simply install php8?

@muffycompo
Copy link

muffycompo commented Jan 6, 2024

Hi @hellofesjoe, I will recommend installing PHP 8.1+. This will remove the php version error and note that PHP 7.4 is already marked as end of life (refer to this), so it is highly advised to move to PHP 8+.

UPDATE: You should use the updated documentation on RADIUSDesk website

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants