Search code examples
nitrousio

Preview a PHP app on nitrous.io


I'm using the cloud IDE nitrous.io for developing a php app, and I want to ask if it's possible to preview my app using the preview menu?

thanks for help.


Solution

  • Edit: PHP is now available on Nitrous.IO. PHP5, Apache2, and Composer can be installed with the Autoparts package manager. To install these tools, run each of the following commands within the console:

    parts install php5
    parts install apache2
    parts install composer
    

    You will also need to start the Apache server once installed.

    parts start apache2
    

    Take a look at the PHP guide for more information.