Yii v2 snippet guide III

Comparing #64 with #65

Revision #65 was created by rackycz rackycz on Mar 24, 2021, 5:09:01 PM.

MySQL and PhpStorm

Content

[...]
// NetBeans: Make sure your project is correctly setup. Right-click the project and select Properties / Run Cofigurations. "Project URL" and "Index file" must have correct values.
```

To debug in PhpStorm check [this video](https://youtu.be/8r77ys2r4ww?t=450).

To connect to MySQL via PhpStorm check [this comment by MilanG](https://stackoverflow.com/questions/30823844/connect-to-mysql-database-on-vagrant-machine-in-phpstorm/43546183)
 
 
**Installing and using Vagrant:**

First install Vagrant and VirtualBox, please.

Note: Sadly, these days VirtualBox does not work on the ARM-based Macs with the M1 chip. Use Docker in that case.
[...]