312erik123 Posted March 17, 2023 Posted March 17, 2023 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!
312erik123 Posted March 18, 2023 Author Posted March 18, 2023 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?
veganline Posted March 18, 2023 Posted March 18, 2023 I don't have an answer, just a related question over on
nickz Posted March 18, 2023 Posted March 18, 2023 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
312erik123 Posted March 18, 2023 Author Posted March 18, 2023 I’m on a shared hosting so I am forced to choose one version…
nickz Posted March 18, 2023 Posted March 18, 2023 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.
312erik123 Posted March 18, 2023 Author Posted March 18, 2023 Sure but still - backoffice says to use core updater to upgrade to version made for different php-version but does not work…
the.rampage.rado Posted March 19, 2023 Posted March 19, 2023 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".
312erik123 Posted March 19, 2023 Author Posted March 19, 2023 Yes, as I wrote I tried that to - but no effect…a bug maybe?
datakick Posted March 20, 2023 Posted March 20, 2023 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.
312erik123 Posted March 20, 2023 Author Posted March 20, 2023 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?
datakick Posted March 20, 2023 Posted March 20, 2023 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.
312erik123 Posted March 20, 2023 Author Posted March 20, 2023 (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, 2023 by 312erik123
datakick Posted March 20, 2023 Posted March 20, 2023 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
312erik123 Posted March 20, 2023 Author Posted March 20, 2023 (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, 2023 by 312erik123 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now