Set up yii2 advanced project into local machine

Hi all, I’am using mac, mamp server installed, want to copy existing yii2 advanced project from server into local machine (localhost). I tried, but failed, I need steps for set up yii2 project into localhost(mamp server). Please help me.

Hi, Akhmad.
Have you learned about the steps to migrate Yii project from server to local on Mac?
I am experiencing same problem but not yet success.
Please let me know.

Best,
Andrey

Hi Andrey, yes I did it with htaccess. Actually the issue was because of htaccess, u need to write htaccess file

Great, thank you.
BTW did you use mysql server in MAMP for Yii project? or other mysql server?
when I use mysql in MAMP, I get this error related with socket.

“ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’”
I have tried with much googling but I didn’t find the right solution.
Do you know a good way to run Yii project on MAMP mac?

use brew, recently I asked from frend, he using brew. Actually last year i could not figure out project on mac, then client gave me access to his windows computer with anydesk, I worked entire year on remote computer. Now I am working on .net