Archive for the ‘PHP’ tag
1&1 hosting loves php5
Recently, Gary introduced me to piwik, an open source web analytics software (mouthful), and it’s pretty great. I’d recomend you take a look at it. My intention with it is was to use it on my mum’s holiday home website, but after uploading to the server and running the installer, piwik was quick to mention to me that the server was only running php 4.4.3 and that it was unable to work on it.
This was really annoying as she’s paying a nice fee to 1&1 but still getting an old version of php.
Quick search of 1&1 revealed that their servers defaulty read .php files with the php4, but this can be easily changed with a little .htaccess editing.
AddType x-mapp-php5 .php
Fixed. Remember though that you need to keep it in the root directory of your website.