wp-content/db.php missing?
-
I keep getting “Your PHP installation appears to be missing the MySQL which is required for WordPress” no matter what I do. I found that this error message comes from wp-settings.php line 54. Where in the world am I supposed to get this file seeing it did not come in the download? I downloaded both the zip and the tat.gz versions, and it just ain’t there.
if ( !extension_loaded('mysql') && !file_exists(ABSPATH . 'wp-content/db.php') ) die( 'Your PHP installation appears to be missing the MySQL which is required for WordPress.' );
Now, I also removed the !file_exists(ABSPATH.’wp-cointent/db.php) from the if-statement, and still got the error, so apparently beyond the file being missing, mysql extension is not loaded. HOWEVER, I already uncommented extension=php_mysql.dll and
extension=php_mysqli.dll in my php.ini and I created the c:\program files\php\ext directory and placed those dlls files in it along with libmysql.dll which i placed both in the ext and the root php installation directory. I have the mysql 5.xx server running and could connect with JSPs inside Tomcat (which I uninstaller before installing Apache HTTP server, btw).
- The topic ‘wp-content/db.php missing?’ is closed to new replies.