Your Composer dependencies require a PHP version

u2068534$ /usr/bin/php -q /var/www/u2068534/data/www/site.com/periodic/cron.php
Composer detected issues in your platform:

Your Composer dependencies require a PHP version ">= 7.4.3". You are running 5.4.16.

PHP Fatal error:  Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.4.3". You are running 5.4.16. in /var/www/u2068534/data/www/site.com/plugins/composer/platform_check.php on line 25

Hosting Reg.ru

I tried to solve the problem by removing a section of the composer version checking code, but it didn’t help, it gives another error. Searching the Internet didn't help either. On the hosting itself I installed PHP version 74. Running the cron script from the browser line works fine. Is it possible to solve the problem without contacting hosting support?

  • 119
  • More
Replies (1)
    • Hello @Mezantrop !

      By this part of the path:

      /var/www/u2068534/data
      

      I suggest that you use the shared hosting plan. Usually, such plans have many limits for complex scripts like UNA. I guess you'd better contact them and upgrade your hosting plan.

      Login or Join to comment.