Running Any on PHP MySQL Based App on AppFog Cloud is basically quite easy. Here is basic method to run any PHP MySQL Based App on AppFog Platform as a Service. First read the step by step guide to Install WordPress on AppFog Cloud PaaS. That is the building block.
Running Any PHP MySQL Based App on AppFog Cloud : The Logic Behind
WordPress can be installed on AppFog by default as mentioned on the above linked guide. And this guide is important for using AppFog from Windows PC using Command Line Tools.
Running Any PHP MySQL Based App on AppFog Cloud : Principle
If you are using Windows PC, then follow this guide for Installing WordPress on Windows PC using WAMP. This will prepare your PC to use the Linux commands by default like Linux or Mac. The principle for Running Any PHP MySQL Based App on AppFog Cloud is – first to know the details of MySQL Database, optionally delete the tables there, download the App from AppFog Control Panel :
---
You will get a zip file. Save it and unzip it, optionally move it to C:/wamp/www folder :

If you open the wp-config.php file, you will able to notice some differences. You can add any new files or fully modify it to any new PHP MySQL app and run command prompt with Ruby from start menu as described in the linked guides in this article, simply run these commands on by one :
1 | gem update --system |
1 | gem install af |
1 | af login |
1 | af update <span style="color: #ff0000;">thecustomizewindows</span> |
Change the red colored text to your App’s name. Running Any PHP MySQL Based App on AppFog Cloud is not very difficult.
