T
T
tltary2017-10-18 19:14:51
Yii
tltary, 2017-10-18 19:14:51

No driver or database connection?

They gave a project written in Yii 1.1.17
Without any documentation
I bought a vps on firstvds
somehow configured it so that the site was displayed and not giving a 500 error and now there was such a problem
CDbConnection failed to open the DB connection: could not find driver
I read that it was either a wrong connection or the lack of a PDO driver
is enabled on the server, I checked the connection to the database, everything is correct.
What could be wrong?
Before that, I worked with laravel and there were no such problems.
Before me, the site was uploaded to a regular hosting and everything worked,
could this be due to the fact that it is a vps?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
w0key, 2017-10-18
@w0key

How to fix error after enabling CDbCache component in Yii1?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question