• byam21

    (@byam21)


    I updated my php version to 7.0 and it shows critical error and when i update it to different version it asks for mysql extension and there is none what should i do?

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • @byam21 what options do you have in your hosting control panel for the PHP version?

    Sania Mohammadi

    (@saniamohammadi)

    Hi @byam21,

    The issue happened because your WordPress themes and plugins are not compatible with the PHP version you updated to (7.0 or higher). This caused the required MySQL extension to be missing.

    The best option here is to contact your hosting company and let them know, as they should be able to assist you in fixing the issue.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    FYI: The 7.0 release of PHP is well past its official end of life. We recommend PHP version 8.

    Please contact your host regarding mysqli…. it should be in a package called something like php-mysqlnd, installed from their control panel. It’s not part of WordPress; it’s part of the hosting “stack”.

    Thread Starter byam21

    (@byam21)

    Past few days i’ve been researching through google and youtube the only solution i found is contact your host. I contacted but my host doesn’t seem to understand i don’t know how to explain or how to say.

    https://upri.ub.gov.mn/php/ they sent me this link and said mysqli extension is enabled but i don’t see it. How to explain this problem to my host? sorry my english is not that good and i’m not a code person. Sorry for causing you all trouble. @sterndata @saniamohammadi

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    That says PHP is version 8.1. Is that the version you’ve set? Is there anything in your .htaccess file regarding PHP?

    Thread Starter byam21

    (@byam21)

    Yes that is my version which i’ve set. Don’t think so in that link i don’t see any mysqli enabled thing @sterndata

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    OK, you’re going to have to talk to your host. The PHP/MySQL system is outside of wordpress and controlled by your host.

    @byam21 I looked at the link you shared and it’s currently showing PHP 7.4 with mysql support. Also I checked your site and it appears to be working. Did you figure this out? Or maybe your host was slow to update their configuration?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘I updated my php version to 7.0 and it shows critical error’ is closed to new replies.