I
I
Ilya Alekseev2018-02-25 22:58:19
MySQL
Ilya Alekseev, 2018-02-25 22:58:19

How to install Yii without composer?

I'm running localhost via XAMPP and have these files (see photo). So how do I now configure YII to open site templates? I tried to create a DB by opening install.php but there was a CDbConnection error. If I open admin.php it writes an error

CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1049] Unknown database 'supremebuilder_nocommerce'

What to do?
5a931533e0de2723696765.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2018-02-26
@webinar

1. This is apparently not yii, but some kind of ready-made project on it. Accordingly, it would be necessary to read the manuals for installing it, and not for installing yii.
2. Why do you install yii1 when yii2 has been around for many years
3. Why not use OpenServer instead of XAMPP. There will be less hemorrhoids, especially with the database. I have not used XAMPP for a long time, but I remember that switching to OpenServer a few years ago gave me extraordinary happiness. Since everything works out of the box without dancing with a tambourine.
4. "Unknown database" says that there is no such database. But it is not a fact that other errors will not fall down later. My advice, find someone who knows yii. Why did you take on this task?
copy, configure the server to the entry point, create a database or transfer an existing one, tweak the config. All.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question