Report this

What is the reason for this report?

Wordpress isnt loaded after changing MySQL password?

Posted on April 1, 2015

Hi everyone,

I just changed mysql password of db user (in wp-config file) I tried with both ways: admin tool, sql command with PASSWORD(‘mypassword’) then after that my wp doesnt work anymore. It said as the following quote So what is the problem and how can i fix it? Thank you.

<?php
/**
 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 *
 * @package WordPress
 */

/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define('WP_USE_THEMES', true);

/** Loads the WordPress Environment and Template */
require( dirname( __FILE__ ) . '/wp-blog-header.php' );


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

This comment has been deleted

Hello,

Usually this would happen with Apache and PHP when there is no PHP handler installed.

For example, you could use the libapache2-mod-php package for that:

apt install libapache2-mod-php

For more information, you can follow the steps here:

https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-ubuntu-18-04#step-3-installing-php

Best,

Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.