Support » Plugin: Wordfence Security - Firewall & Malware Scan » Wordfence and missing MySQL extension

  • Hi !

    My website shows “Your PHP installation appears to be missing the MySQL extension which is required by WordPress.”
    My hosting company support told me that after upgrading server mysql extension is not supported any more, but mysqli is active now. After searching for possible conflicts, I found Wordfence code lines in .htacces file causes problem

    # Wordfence WAF
    <IfModule mod_suphp.c>
    	suPHP_ConfigPath '/home/tovgorg/public_html'
    </IfModule>
    <Files ".user.ini">
    <IfModule mod_authz_core.c>
    	Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
    	Order deny,allow
    	Deny from all
    </IfModule>
    </Files>
    
    # END Wordfence WAF

    What is the solution and how to fix it ?

    Thanx

    https://wordpress.org/plugins/wordfence/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Arteaster,

    Make a backup of your .htaccess file and try removing this:

    <IfModule mod_suphp.c>
    	suPHP_ConfigPath '/home/tovgorg/public_html'
    </IfModule>

    Let me know if that does the trick.

    Thread Starter Arteaster

    (@arteaster)

    It’s ok,

    That’s fine, I’ll test it more,

    Thank You

    I, too, have been locked out of my website with:
    “Your PHP installation appears to be missing the MySQL extension which is required by WordPress.”
    In searching through forums there are recommendations to amend htaccess. It is nowhere to be found.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Wordfence and missing MySQL extension’ is closed to new replies.