312erik123 Posted March 17 Share Posted March 17 Hello, I get this message in "Advanced Parameters>Configuration Information": "Your server is running on PHP version 7.4.33. You should use core updater and fix your installation". My TB is built for 7.2. I've tried to upgrade to bleeding edge - still the same message. Tried to set the option "Target PHP version" to 7.4 and update but still the same... Am I missing something? Thanks in advance! Link to comment Share on other sites More sharing options...
30knees Posted March 18 Share Posted March 18 I'm not sure but how about updating to PHP 8.0? Link to comment Share on other sites More sharing options...
312erik123 Posted March 18 Author Share Posted March 18 Afraid I can’t, running an older application on the same server so 7.4 is the highest I can go… Do I have to do a complete new install? Link to comment Share on other sites More sharing options...
veganline Posted March 18 Share Posted March 18 I don't have an answer, just a related question over on Link to comment Share on other sites More sharing options...
nickz Posted March 18 Share Posted March 18 6 hours ago, 312erik123 said: Afraid I can’t, running an older application on the same server so 7.4 is the highest I can go… php version you can determine over folders so far I know. https://www.digitalocean.com/community/tutorials/how-to-run-multiple-php-versions-on-one-server-using-apache-and-php-fpm-on-ubuntu-18-04 Link to comment Share on other sites More sharing options...
312erik123 Posted March 18 Author Share Posted March 18 I’m on a shared hosting so I am forced to choose one version… Link to comment Share on other sites More sharing options...
nickz Posted March 18 Share Posted March 18 1 hour ago, 312erik123 said: I’m on a shared hosting so I am forced to choose one version… change to vps, they are not that expensive. Link to comment Share on other sites More sharing options...
312erik123 Posted March 18 Author Share Posted March 18 Sure but still - backoffice says to use core updater to upgrade to version made for different php-version but does not work… Link to comment Share on other sites More sharing options...
the.rampage.rado Posted March 19 Share Posted March 19 On 3/17/2023 at 11:12 PM, 312erik123 said: Hello, I get this message in "Advanced Parameters>Configuration Information": "Your server is running on PHP version 7.4.33. You should use core updater and fix your installation". My TB is built for 7.2. I've tried to upgrade to bleeding edge - still the same message. Tried to set the option "Target PHP version" to 7.4 and update but still the same... Am I missing something? Thanks in advance! In settings part of the modules you can choose target php version. Or leave it on "server version". Link to comment Share on other sites More sharing options...
312erik123 Posted March 19 Author Share Posted March 19 Yes, as I wrote I tried that to - but no effect…a bug maybe? Link to comment Share on other sites More sharing options...
datakick Posted March 20 Share Posted March 20 14 hours ago, 312erik123 said: Yes, as I wrote I tried that to - but no effect…a bug maybe? Maybe your config/settings.inc.php file is not writeable? This is where core updater saves information about revision and php build. Link to comment Share on other sites More sharing options...
312erik123 Posted March 20 Author Share Posted March 20 Changing the permission did make the updater change a lot of files, but settings.conf.php still says that tb is built for 7.2…anyway to check if the upgrade is made besides this file? Link to comment Share on other sites More sharing options...
datakick Posted March 20 Share Posted March 20 32 minutes ago, 312erik123 said: Changing the permission did make the updater change a lot of files, but settings.conf.php still says that tb is built for 7.2…anyway to check if the upgrade is made besides this file? That's strange. Try to manually edit settings.inc.php and change value of _TB_BUILD_PHP_ to 7.4 Then go to core updater and try update. It will probably display something funny (manual modifications warnings, etc), but you can ignore these and perform the update. Link to comment Share on other sites More sharing options...
312erik123 Posted March 20 Author Share Posted March 20 (edited) Done. But can I verify that I now have the 7.4 version? "Advanced Parameters>Configuration Information" reads from settings.conf.php as I understand it? Edited March 20 by 312erik123 Link to comment Share on other sites More sharing options...
datakick Posted March 20 Share Posted March 20 Look to file /vendor/composer/platform_check.php It should start with something like this: <?php // platform_check.php @generated by Composer $issues = array(); if (!(PHP_VERSION_ID >= 70400)) { $issues[] = 'Your Composer dependencies require a PHP version ">= 7.4.0". You are running ' . PHP_VERSION . '.'; } This is the stop-gag measure that prevents your store to run on older / non-supported versions of PHP. If it says 7.4, you are good Link to comment Share on other sites More sharing options...
312erik123 Posted March 20 Author Share Posted March 20 (edited) Works! Perfect, many thanks! checked my backup site, it also hade 7.4 in the platform_check file before any changes/updates. So I guess settings.conf.php wasnt being updated, but the rest of the system was Edited March 20 by 312erik123 1 Link to comment Share on other sites More sharing options...