• Resolved Imagejlk

    (@jlkogut)


    WP Dashboard indicates “Your site is running on an outdated version of PHP (7.4.33), which does not receive security updates. It should be updated.”

    Accessed cPanel and verified that PHP version is currently 8.3 for domain, but 7.4 for account settings. Updated account settings to 8.3. (Not sure if account setting would impact website.)

    WP dashboard continues to display “PHP Update Recommended” display AND now items do NOT display properly on cart page (wooCommerce) – text overlaps product photo.

    Do I need to verify the PHP version somewhere else? Why does the “recommendation” continue to display on the dashboard? Any idea on how to fix the cart page of our website?

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi @jlkogut,

    In general, there isn’t any setting on the WP side to get PHP upgraded, and such behaviour is more related to the Host. The notifications would still indicate that the site is configured to run PHP 7.4.33, possibly due to configuration settings on the hosting side.

    You can check if there are any rules present inside the .htaccess that are still causing 7.4.33 to run. If not, you’ll need to bring this further to your Hosting Provider’s attention to check and see what might be causing such behaviour.

    Regarding the Cart page, what exact issue do you notice? I could notice the products can be added to the /cart without any issue.

    Regards,

    Nithin

    Do I need to verify the PHP version somewhere else? Why does the “recommendation” continue to display on the dashboard?

    Your server is telling the world the PHP version it’s running, so you can easily check this in your browser’s developer tool (see screenshot below) or by using any of the million online tools that let you check the “HTTP response headers” of any page.

    @wpmudevsupport11 has already explained the most plausible reason for the apparent discrepancy in a cPanel environment: a line in your .htaccess file pointing to PHP 7.4.33. Once confirmed, you can easily fix this by renaming your current .htaccess file, then going to the Permalinks page in your WordPress dashboard to let WordPress generate a new pristine .htaccess file.

    Image

    Thread Starter Imagejlk

    (@jlkogut)

    Thank you @wpmudevsupport11 and @gappiah. I checked the .htaccess file prior to submitting the inquiry but did not find the culprit. I will check again.

    @wpmudevsupport11, regarding the Cart page, items are added to the cart without issue, but not displayed properly on the Cart page. Text overlays the product image.

    I checked the .htaccess file prior to submitting the inquiry but did not find the culprit.

    Check for other cPanel user-level webserver configuration files like user.ini or php.ini.

    If you don’t find anything at all, contact your hosting provider for help to get your website to use the PHP 8.3 that they already provide. If they tell you your site is already using PHP 8.3, ask them to check the HTTP response header or run phpinfo from the directory where your WordPress site is installed (typically public_html on cPanel systems)… and they’ll see that’s not the case.

    Thread Starter Imagejlk

    (@jlkogut)

    @gappiah – Thank you. Website is now using PHP 8.3. Phew…

    I am still experiencing issues with CART page. Assuming it is NOT connected with PHP version. Any ideas for a fix? Items are added to cart, but not displayed properly on CART page – text overlaps product image.

    Hi @jlkogut ,

    I hope you’re doing well.

    This could be happening due to an optimization plugin possibly optimizing critical files needed for the cart page.

    Could you please confirm if you have a plugin like this, and if you do > Create a backup > Deactivate it> Clear all caches > Confirm if it works properly?

    In case you don’t, could you confirm if you have any custom CSS on your site? It’s possible that it causes issues as well. You could try to create a backup(just in case) and cut the custom CSS to paste it into a text file as a backup to confirm if it helps.

    If it doesn’t, then you could need to check with your developer.

    I hope this helps.
    Best Regards,
    Williams Valerio

    Thread Starter Imagejlk

    (@jlkogut)

    @wpmudevsupport3, hmm…. we are using LiteSpeed Cache plugin. Do you think this could be the culprit?

    I don’t believe there are any custom CSS on our site.

    Thread Starter Imagejlk

    (@jlkogut)

    CART page issue remains, but initial issue involving PHP version has been resolve, so I will close this thread and possibly open another for the CART page issue. Thank you @wpmudevsupport3, @gappiah , and @wpmudevsupport11 for your assistance.

Viewing 8 replies - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.