Jump to content

Issue setting PHP version to upgrade


tzak902

Recommended Posts

Hello,

I'm running PS 1.7.2.4 and I wanted to make a test upgrade however I get this error:

 

[INTERNAL] /var/www/test/public_html/vendor/composer/platform_check.php line 24 - Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.1.3". You are running 7.0.33-57+0~20211119.61+debian9~1.gbp5d8ba5.

 

on my VPS:

#php -v

PHP 7.1.33-44+0~20211119.61+debian9~1.gbp448fbe (cli) (built: Nov 19 2021 06:41:32) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.1.33-44+0~20211119.61+debian9~1.gbp448fbe, Copyright (c) 1999-2018, by Zend Technologies

 

In backend Advanced Parameters -> information:

 

SERVER INFORMATION

Server information: Linux #1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23) x86_64

Server software version: Apache/2.4.25 (Debian)

PHP version: 7.0.33-57+0~20211119.61+debian9~1.gbp5d8ba5

Memory limit: 128M

Max execution time: 30

Upload Max File size: 2M

 

Why it doesn't recognize the new version of PHP even it is manually set. if this is a cache problem, how to force to use php7.1

Link to comment
Share on other sites

  • 2 weeks later...

Please check your PrestaShop folder has any native php configuration which overwrite the php settings. Secondly , sometimes sever need to restart. We also faced this kind of php settings issue. then we restart the lightspeed server and the changes effect.


You can inform the hosting company if you are unable to find


Thank you

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...