HI all
I already have one yii2 project in my localhost at 8080 port and i use php yii serve to run the project. now i have created another yii2 project which acts as an API and it also has database.How can I run my API project and call in same machine ?
I need to call API project in first project.
Thanks
Hi @yiimatch, welcome to the forum.
I think that the most straightforward solution is to set up 2 virtual hosts using Apache http server since you are using xampp.
https://httpd.apache.org/docs/2.4/en/vhosts/examples.html