Ah wait. 8100 is the port of ionic serve
. And now I also see that the php
folder is part of your ionic project.
You have to put the PHP script into another folder that is served by a webserver. Ionic won't take care of that. Mobile app (Ionic) and backend app (PHP via Webserver) are two different projects.