PHP Error


#1

Hi

I was trying to install Piwik on my web server.
When I try to open any of the .php files from the .zip I only get a blank page.

The apache error log reads something like:

PHP Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or ‘(’ in /html/piwik/index.php on line 11 )

This is with both php 5.2.14 and 5.3, with apache 2.2.12 on SuSe Enterprise Linux 11.2.
In both php versions the pdo and mysql extensions where installed.

Am I forgetting something?

Greeting Reims


#2

Having the exact same issue on Arvixe, with PHP 5.2.17.


#3

Piwik 2.0 requires PHP 5.3+


#4

Somebody should update the requirements page on the site, then!


#5

Updating my Arvixe configuration to 5.3.27 seems to have fixed the issue.


#6

Ok. As php 5.3 is the latest version available in the SuSe repositories I tried piwik 1.12 and it works fine.


(Stefan Giehl) #7

Thanks for your note. We will update it soon.

[quote=mquigley]
Somebody should update the requirements page on the site, then![/quote]


(Matthieu Aubry) #8

we updated the requirements page, thanks for the tip