Welcome to Admin Junkies, Guest — join our community!

Register or log in to explore all our content and services for free on Admin Junkies.

Why am I seeing a MySQL error on my Wordpress page?

Mywebbee

Well-known member
Joined
Apr 28, 2018
Messages
59
Credits
0
You happen to check your page one day and you see an error on your Wordpress site that says the following:


"Your PHP installation appears to be missing the MySQL extension which is required by WordPress"

There is 1 thing to check before searching all over the internet for a solution.

1. Contact your hosting provider and ask what the version is for the operating system of the server your account is on.

Why is this the only thing you need to check? I will tell you.

If the Shared Server your account is on has an operating system of 7 or higher, there is a code in your .htaccess file that is no longer needed and causes the error listed above.

"How do I fix this?"

One solution (and the most common solution) is to log into your file system (through cPanel, FTP, etc.) and look for a file called ".htaccess." The most common place for this file is in your public_html directory. In your .htaccess file, you want to look for this line of code:

suPHP_ConfigPath /home/[USERNAME]/public_html

You want to remove this code from the .htaccess file and then save it. Keep in mind there could be mutliple .htaccess files and multiple suPHP codes in those files; make sure to look for them all. Once the code is removed, the website should be showing again.

"Why can I not see my .htaccess file?"

Most file systems actually hide your dot files from you. There is a setting you should be able to turn on that allows you to see them.
 
Advertisement Placeholder

Log in or register to unlock full forum benefits!

Log in or register to unlock full forum benefits!

Register

Register on Admin Junkies completely free.

Register now
Log in

If you have an account, please log in

Log in
Who read this thread (Total readers: 0)
No registered users viewing this thread.

New Threads

Would You Rather #9

  • Start a forum in a popular but highly competitive niche

    Votes: 9 27.3%
  • Initiate a forum within a limited-known niche with zero competition

    Votes: 24 72.7%
Win this space by entering the Website of The Month Contest

Theme editor

Theme customizations

Graphic Backgrounds

Granite Backgrounds