Description of problem: Given an app created with empty repo, when pushing changes, will met: remote: Syntax error on line 2 of /var/lib/openshift/527763ba2587c82c01000066/php/configuration/etc/conf.d/openshift.conf: remote: DocumentRoot must be a directory Version-Release number of selected component (if applicable): STG(devenv-stage_549) How reproducible: always Steps to Reproduce: 1.Create an app with initial_git_url=empty. 2.Add some code to the local repo and git push. 3. Actual results: remote: Stopping PHP cartridge remote: Syntax error on line 2 of /var/lib/openshift/527763ba2587c82c01000066/php/configuration/etc/conf.d/openshift.conf: remote: DocumentRoot must be a directory remote: httpd (no pid file) not running remote: Building git ref 'master', commit 4dfa8e9 remote: Building PHP cartridge remote: Preparing build for deployment remote: Deployment id is 02b3d98a remote: Activating deployment remote: Starting PHP cartridge remote: Result: success remote: Activation status: success remote: Deployment completed with status: success To ssh://527763ba2587c82c01000066.rhcloud.com/~/git/myapp1.git/ fcd7b39..4dfa8e9 master -> master Expected results: Git push successfully without errors. Additional info:
This will be addressed by https://trello.com/c/pTEsNCx2/42-improve-the-development-experience-for-individual-stacks-and-frameworks-devexp and/or https://trello.com/c/fSWvzkPM/9-php-cartridge-enhancements-devexp