I have in the past used Piwik 1.12 for my company web site. I decided to try out Piwik 2.0.3. It didn’t work. I received the following error when starting Piwik at the web site folder location ‘/public/www/analytics’ on the web site domain:
‘Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or ‘(’ in /web/sites/_g/_a/_l/websitename.co.uk/public/www/analytics/index.php on line 11’
It seems the requirements are PHP 5.3.2 and MySQL 4.1. My web host I just found out supports MySQL 5.0.51a (which is fine) but only PHP 5.2.4. When I queried my web host about the PHP version, they replied ‘…I know that the reason we use the current version is being it is the most editable version of PHP. It still has the updates from the latest version as we patch this to meet the ever changing requirements.’
Is there any way I can tweak Piwik 2.0.3 to work in this environment please, given the web host reckoned the PHP contains ‘updates’? Otherwise r should I simply reinstall 1.12 and stick with this version until I change web hosts I guess. I can’t seem to download it but I did save a back up of the folder from previously which I can use.