How to run PHP code?

If you want to run PHP on your local device, first of all install one of web servers with PHP from google play:

Then inside settings of picked web server  set root folder as root folder of your local project.

Then in AWD go to Project settings and set root url = 127.0.0.1:[port]  (e.g. 127.0.0.1:8082 for Ulti Server with default port number).

The same for remote web server, just setup URL and you can execute PHP code.

That’s it. Just open file, and press View In Browser.

PS: Do not forget to save file before run it, to see the changes!

4 thoughts on “How to run PHP code?

  1. Another simple webserver with PHP and MySQL is AndroPHP, which is fully free and without ads: https://play.google.com/store/apps/details?id=com.ayansoft.androphp

  2. Another great PHP server is Palapa Web Server. Its also free and easy to use. You can get it at: https://play.google.com/store/apps/details?id=com.alfanla.android.pws.

  3. Thanks man
    with Palapa and AWD i can now code seamlessly on the go

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s