Yes, you need to update your PHP to version 8.1 or greater.
Sep 23, 2022
5
Level 5
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0". You are running 8.0.23.
Getting this error :
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0". You are running 8.0.23.
php -v shows PHP 8.1.10.
[brokergenies@server public_html]$ php -v
PHP 8.1.10 (cli) (built: Sep 6 2022 18:12:49) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.10, Copyright (c) Zend Technologies
with Zend OPcache v8.1.10, Copyright (c), by Zend Technologies
[brokergenies@server public_html]$ composer dump-autoload
Generating optimized autoload files
Class Razorpay\Tests\fundTest located in ./vendor/razorpay/razorpay/tests/FundTest.php does not comply with psr-4 autoloading standard. Skipping.
Class Razorpay\Tests\registerNachTest located in ./vendor/razorpay/razorpay/tests/registerNachtest.php does not comply with psr-4 autoloading standard. Skipping.
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
Script Illuminate\Foundation\ComposerScripts::postAutoloadDump handling the post-autoload-dump event terminated with an exception
[ErrorException]
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0". You are running 8.0.23.
dump-autoload [-o|--optimize] [-a|--classmap-authoritative] [--apcu] [--apcu-prefix APCU-PREFIX] [--dev] [--no-dev] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs]
[brokergenies@server public_html]$
I was facing some issues with few pages.
Then I disabled PHP-FPM and site started working. Do I need to update something . I sit advisable to enable PHP-FPM ?
Please or to participate in this conversation.