Ionic -v3 frontend and php Backend

I have created frontend in ionic 3. Currently I am using php as a backend on localhost.
what steps i have to follow to host php backend and use it as a backend for ionic 3 frontend.
Below is my code where i am accessing php files for backend on localhost.
So what i have to change if i host php files .

import { Http,Headers,RequestOptions } from '@angular/http';
import {Injectable} from '@angular/core';
import 'rxjs/add/operator/map';

export class PostProvider {
  server:string ="http://localhost/myproject/";

  constructor(public http: Http) {}

    let type="application/json; charset-UTF-8";
    let headers=new Headers({'Content-Type':type});
    let options=new RequestOptions({headers:headers});