Friday, October 7, 2011

OpenShift Express - how to get started with Symfony PHP framework

I pulled together an installation howto for Symfony PHP Framework on OpenShift Express, you can follow the Readme file to push this into your very own OpenShift Express instance!

# Create an account at
# Create a php-5.3 application.
$ rhc-create-app -a symfonyphp -t php-5.3

# Add this upstream openshift-symfony repo
$ cd symfonyphp
$ git remote add upstream -m master git://
$ git pull -s recursive -X theirs upstream master

# Then push the repo upstream
git push

That's it, you can now checkout your application at http://sympfonyphp-$, isn't that easy!


GIT_ROOT/.openshift/action_hooks/build: This has a few lines to ensure that the cache dir exists and is writable for the web server.

Security: Nothing has been done to secure this installation.


  1. Choosing symfony will always be a good choice as it allows you to launch your programs earlier than you might be expecting, it even host and range them without issue, and sustain them eventually without any surprise.

  2. Hello. Thank you for helping.