SeaCloudsEU/incubator-brooklyn — pull request #7 by kiuby88 (2014-11-26 13:34:49+00:00)
Title: Adding PHP Version Description to log and console

The PHP version selection is enabled.
The PHP version description is showed in the logs and console.

Below, we can see a php deployment example which specifies the required target PHP version through ```php.version```.

``` yaml
name: PHP-DB-Brooklyn-Dsktp-54
services:
- serviceType: brooklyn.entity.webapp.apache.ApacheServer
name: Apache Server
location: aws-ec2:us-west-2
php.version: 5.4
brooklyn.config:
http_port: 80
app_git_repo_url: https://seaclDem:seaclouds@bitbucket.org/seaclDem/nurocasestudyphp5-4.git
db_connection_file_config: config/config.php
db_connection_config_params:
g_DatabaseHost: $brooklyn:formatString("%s", component("db").attributeWhenReady("host.address"))
g_DatabaseName: database1
g_DatabasePassword: br00k11n
g_DatabaseUser: brooklyn
```