Upgrading from OJS 3.2 to 3.3

Describe the issue or problem
I have successfully upgraded OJS from 3.2.1.4 to 3.3.0.13
But when I open the website, I get the following error:
Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 7.3.0”.
My PHP version is 7.4, which fulfills the requirements.

Steps I took leading up to the issue

  1. I have checked my PHP version and it is 7.4
  2. I have searched in this forum and found similar issues but none of the proposed solutions did work for me.

What application are you using?
OJS 3.3.0-13

Additional information
The upgrade when on successfully.

Hi @Lossan_Bonde

How did you perform the upgrade? It’s possible you’ve got two versions of PHP installed. You might e.g. have PHP 7.4 for the command line tools, but perhaps your apache module or PHP-FPM is still using an older version.

Best
Jason

Thank you @jnugent
I did the upgrade using the command:
php tools/upgrade.php upgrade from the home directory of the OJS distribution.
I am also noticing that on phpmyadmin interface, that the MySQL Server is using PHP 7.2.24
So how can I change the version of php used by apache module and the php-fpm?
Thank you for the feedback and expecting more to come.

Hi @Lossan_Bonde

You’ll probably need to talk to your systems administrator, or whoever has root access on the server. You may need to install a new OS package for the new version of PHP, along with the other modules that OJS needs to function. I can’t really provide more advice than that since I don’t know what flavour of Linux you’re using.

Best
Jason