Answer the question
In order to leave comments, you need to log in
I got a project in yii in which I need to add a window with guessing the city. This is my first job. How to deploy a project and start working?
Friends! I have been suffering for over a week. Who will tell you how to be?
What is done:
1. downloaded the project from the repository in wamp64/www/
2. downloaded composer
3. installed yii 4.
registered
ServerName farmaptek
ServerAlias farmaptek
DocumentRoot C:/wamp64/www/farmaptek
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
require all granted
5. uncommented
# Virtual hosts
Include conf/extra/httpd-vhosts.conf
6. included base
return [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname =u0102943_default.sql',
'username' => 'root',
'password' => '',
'charset' => 'utf8',]
7. registered
.#
127.0.0.1 localhost
127.0.0.1 farmaptek
::1 localhost
8. Since the project is old , enabled support for short tags in php.ini
Tell me, what are the next steps? When you try to enter the name of the project (farmaptek) in the browser, it gives an error 403: Forbidden
You don't have permission to access this resource.
Apache/2.4.41 (Win64) PHP/7.3.12 Server at farmaptek Port 80
and In general, how do I start writing the code to insert this auto-detect city window?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question