Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (22 sloc) 1.23 KB

Piwik on OpenShift

Piwik is a downloadable, open source (GPL licensed) real time web analytics software program. It provides you with detailed reports on your website visitors: the search engines and keywords they used, the language they speak, your popular pages, and so much more.

Piwik aims to be an open source alternative to Google Analytics, and is already used on more than 150,000 websites.

More information can be found on the official Piwik website at

Running on OpenShift

Create an account at

Create a PHP application

rhc-create-app -a piwik -t php-5.3 -l $USERNAME

Add mysql support to your application

rhc-ctl-app -a piwik -e add-mysql-5.1 -l $USERNAME

Make a note of the username, password, and host name as you will need to use these to complete the Piwik installation on OpenShift

Add this upstream Piwik quickstart repo

cd piwik/php
rm -rf *
git remote add upstream -m master git://
git pull -s recursive -X theirs upstream master

Then push the repo upstream to OpenShift

git push

That's it, you can now checkout your application at: