B
B
barsecky2019-01-26 23:43:01
PHP
barsecky, 2019-01-26 23:43:01

Can't run PHP site on VirtualBox. What is the problem?

Ubuntu server 18.04
is installed on the virtual machine PHP 7.2
Apache2
MySQL is installed
5c4cc51d4d903586285594.jpeg
The folder with the site is in /var/www/html/
When the site is launched, the browser gives such an error 5c4cc582ee25c107732591.jpeg
in the list of mysql users, it shows this 5c4cc627e923f863120416.jpeg
Help to solve the error

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vadim Apenko, 2019-01-26
@k4m454k

Are you sure you have the correct password in your site config?

E
Eugene, 2019-01-26
@Eugene70

The problem is that you have not configured a connection to the database, or rather the wrong password.

F
fLipE, 2019-01-28
@fLipE

look at the 23rd line in class_db.php and where it leads. This is the connection to the database. It's not configured

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question