I'm trying to create an app using the Management Console. At step 1 i choose PHP 5.3, at step 2 i insert the public url, github link to source code, gears small, cartriges PHP 5.3 and no scalling. After i press the button Create Application i wait a few moments and i receive the folowing error: The initial build for the application failed: Shell command '/sbin/runuser -s /bin/sh 51f82de7500446ee55000003 -c "exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c2,c660' /bin/sh -c \"gear postreceive >> /tmp/initial-build.log 2>&1\""' returned an error. rc=255 .Last 10 kB of build output: Syntax error on line 2 of /var/lib/openshift/51f82de7500446ee55000003/php/configuration/etc/conf.d/openshift.conf: DocumentRoot must be a directory httpd (no pid file) not running Syntax error on line 2 of /var/lib/openshift/51f82de7500446ee55000003/php/configuration/etc/conf.d/openshift.conf: DocumentRoot must be a directory An error occurred executing 'gear postreceive' (exit code: 1) Error message: Failed to execute: 'control start' for /var/lib/openshift/51f82de7500446ee55000003/php For more details about the problem, try running the command again with the '--trace' option.
The issue is the app you are pointing to doesn't have a php directory. OpenShift php apps need to have the app content rooted at php/ Ex: https://github.com/openshift/cakephp-example