Answer the question
In order to leave comments, you need to log in
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'
Answer the question
In order to leave comments, you need to log in
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 questionAsk a Question
731 491 924 answers to any question