# Php web application deploy android through ionic command its that possible?

**URL:** <https://forum.ionicframework.com/t/php-web-application-deploy-android-through-ionic-command-its-that-possible/38042>\
**Category:** ionic-v1\
**Created:** [November 27, 2015, 10:11pm UTC](https://forum.ionicframework.com/t/php-web-application-deploy-android-through-ionic-command-its-that-possible/38042 "2015-11-27T22:11:23Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![iffikhan30](https://avatars.discourse-cdn.com/v4/letter/i/a5b964/32.png) [@iffikhan30](https://forum.ionicframework.com/u/iffikhan30)\
**Post date:** [November 27, 2015, 10:11pm UTC](https://forum.ionicframework.com/t/php-web-application-deploy-android-through-ionic-command-its-that-possible/38042/1 "2015-11-27T22:11:23Z")

</div>

Hey guy,

My manager told me to deploy the php web application in android through ionic framework is that possible?

On my Last project i developed the like restaurant app in Cordova through command line its just html 5 app and i am deploy it android its working perfect.

I am using windows 10 i am install ionic framework.

Please any one guide what to do ?

Regards,  
irfan

---

<div class="post-metadata">

**Author:** ![bengtler](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/bengtler/32/98565_2.png) [@bengtler](https://forum.ionicframework.com/u/bengtler)\
**Post date:** [November 28, 2015, 7:47am UTC](https://forum.ionicframework.com/t/php-web-application-deploy-android-through-ionic-command-its-that-possible/38042/2 "2015-11-28T07:47:00Z")

</div>

you can use php functions like exec, shell\_exec to run system commands. So you could run also the ionic commands if everything is installed on the server

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [November 29, 2015, 12:39am UTC](https://forum.ionicframework.com/t/php-web-application-deploy-android-through-ionic-command-its-that-possible/38042/3 "2015-11-29T00:39:32Z")

</div>

Where should the PHP application run?  
What do you already have?

---

<div class="post-metadata">

**Author:** ![iffikhan30](https://avatars.discourse-cdn.com/v4/letter/i/a5b964/32.png) [@iffikhan30](https://forum.ionicframework.com/u/iffikhan30)\
**Post date:** [November 29, 2015, 4:53pm UTC](https://forum.ionicframework.com/t/php-web-application-deploy-android-through-ionic-command-its-that-possible/38042/4 "2015-11-29T16:53:11Z")

</div>

Can you send me the link where list all command run on ionic framework use for php and thanks for answer

---

<div class="post-metadata">

**Author:** ![bengtler](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/bengtler/32/98565_2.png) [@bengtler](https://forum.ionicframework.com/u/bengtler)\
**Post date:** [November 29, 2015, 5:24pm UTC](https://forum.ionicframework.com/t/php-web-application-deploy-android-through-ionic-command-its-that-possible/38042/5 "2015-11-29T17:24:37Z")

</div>

if you have installed ionic and everything else on the machine you run the php script, you can run every ionic cli command.

type: ionic --help and you will see a list 😉 or fly through the cli guide: [http://ionicframework.com/docs/cli/](http://ionicframework.com/docs/cli/)

---

<div class="post-metadata">

**Author:** ![iffikhan30](https://avatars.discourse-cdn.com/v4/letter/i/a5b964/32.png) [@iffikhan30](https://forum.ionicframework.com/u/iffikhan30)\
**Post date:** [November 29, 2015, 5:50pm UTC](https://forum.ionicframework.com/t/php-web-application-deploy-android-through-ionic-command-its-that-possible/38042/6 "2015-11-29T17:50:44Z")

</div>

I don;t understand your answer please explain me again thanks

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [November 29, 2015, 8:35pm UTC](https://forum.ionicframework.com/t/php-web-application-deploy-android-through-ionic-command-its-that-possible/38042/7 "2015-11-29T20:35:32Z")

</div>

Bengt, I understood the initial question that the PHP app should run _inside_ the Ionic Android App. I think you may be on the right track here…

---

<div class="post-metadata">

**Author:** ![bengtler](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/bengtler/32/98565_2.png) [@bengtler](https://forum.ionicframework.com/u/bengtler)\
**Post date:** [November 30, 2015, 6:48am UTC](https://forum.ionicframework.com/t/php-web-application-deploy-android-through-ionic-command-its-that-possible/38042/8 "2015-11-30T06:48:08Z")

</div>

well…, then it would be a little bit difficult here 🙂

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [November 30, 2015, 12:06pm UTC](https://forum.ionicframework.com/t/php-web-application-deploy-android-through-ionic-command-its-that-possible/38042/9 "2015-11-30T12:06:13Z")

</div>

Could you please answer these questions:

- Where should the PHP application run?
- What do you already have right now?
- How do you want to connect PHP and Ionic?

---

<div class="post-metadata">

**Author:** ![iffikhan30](https://avatars.discourse-cdn.com/v4/letter/i/a5b964/32.png) [@iffikhan30](https://forum.ionicframework.com/u/iffikhan30)\
**Post date:** [December 1, 2015, 6:50pm UTC](https://forum.ionicframework.com/t/php-web-application-deploy-android-through-ionic-command-its-that-possible/38042/10 "2015-12-01T18:50:13Z")

</div>

1. PHP Application run on server.
2. I have create frontend on jquery mobile that’s it.
3. through json xml like Angular js Http request put post and get.

---

<div class="post-metadata">

**Author:** ![bengtler](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/bengtler/32/98565_2.png) [@bengtler](https://forum.ionicframework.com/u/bengtler)\
**Post date:** [December 1, 2015, 7:18pm UTC](https://forum.ionicframework.com/t/php-web-application-deploy-android-through-ionic-command-its-that-possible/38042/11 "2015-12-01T19:18:11Z")

</div>

and what are you doing in the ionic forum… if you are using jquery mobile ^^

---

<div class="post-metadata">

**Author:** ![iffikhan30](https://avatars.discourse-cdn.com/v4/letter/i/a5b964/32.png) [@iffikhan30](https://forum.ionicframework.com/u/iffikhan30)\
**Post date:** [December 1, 2015, 8:27pm UTC](https://forum.ionicframework.com/t/php-web-application-deploy-android-through-ionic-command-its-that-possible/38042/12 "2015-12-01T20:27:51Z")

</div>

What do you mean what are you doing?

---

<div class="post-metadata">

**Author:** ![bengtler](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/bengtler/32/98565_2.png) [@bengtler](https://forum.ionicframework.com/u/bengtler)\
**Post date:** [December 2, 2015, 6:52am UTC](https://forum.ionicframework.com/t/php-web-application-deploy-android-through-ionic-command-its-that-possible/38042/13 "2015-12-02T06:52:42Z")

</div>

> [@iffikhan30](#):
>
> 1. PHP Application run on server.2) I have create frontend on jquery mobile that’s it.3) through json xml like Angular js Http request put post and get.

And where do your using the ionic framework, when you use jquery mobile???  
and what the heck does the topic title mean then…

There is no need to install ionic cli if you do not use ionic services and the ionic framework → install the cordova cli/phonegap cli or use phonegap build (i think that would be the best for you…)

---

<div class="post-metadata">

**Author:** ![iffikhan30](https://avatars.discourse-cdn.com/v4/letter/i/a5b964/32.png) [@iffikhan30](https://forum.ionicframework.com/u/iffikhan30)\
**Post date:** [December 2, 2015, 7:00pm UTC](https://forum.ionicframework.com/t/php-web-application-deploy-android-through-ionic-command-its-that-possible/38042/14 "2015-12-02T19:00:25Z")

</div>

Please see that link [http://ionicframework.com/docs/guide/preface.html](http://ionicframework.com/docs/guide/preface.html)

on second paragraph there is link great tool that’s why i am prefer jquery mobile

---

<div class="post-metadata">

**Author:** ![bengtler](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/bengtler/32/98565_2.png) [@bengtler](https://forum.ionicframework.com/u/bengtler)\
**Post date:** [December 3, 2015, 7:04am UTC](https://forum.ionicframework.com/t/php-web-application-deploy-android-through-ionic-command-its-that-possible/38042/15 "2015-12-03T07:04:20Z")

</div>

yeah you can prefer everything but the most things have nothing to do with ionic… also if you want to build a jquery mobile app/web-app…

ask your question on the correct platform…

---

<div class="post-metadata">

**Author:** ![iffikhan30](https://avatars.discourse-cdn.com/v4/letter/i/a5b964/32.png) [@iffikhan30](https://forum.ionicframework.com/u/iffikhan30)\
**Post date:** [December 3, 2015, 8:12pm UTC](https://forum.ionicframework.com/t/php-web-application-deploy-android-through-ionic-command-its-that-possible/38042/16 "2015-12-03T20:12:17Z")

</div>

oK I understand can you explain me what most things have nothing to do with ionic?

---

<div class="post-metadata">

**Author:** ![bengtler](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/bengtler/32/98565_2.png) [@bengtler](https://forum.ionicframework.com/u/bengtler)\
**Post date:** [December 4, 2015, 6:44am UTC](https://forum.ionicframework.com/t/php-web-application-deploy-android-through-ionic-command-its-that-possible/38042/17 "2015-12-04T06:44:33Z")

</div>

ionic framework = mobile frontend framework  
jquery mobile = mobile frontend framework

if you use jquery mobile… you do not need ionic framework… and vice versa.  
If you are not using anything from ionic --\> you can simply use cordova or phonegap cli instead of the ionic cli.

And so you should ask those questions in a jquery mobile forum or so.
