Piwik install on free.fr, a turn-around for PHP limitation ? |
![]() ![]() |
Piwik install on free.fr, a turn-around for PHP limitation ? |
May 19 2009, 11:48 AM
Post
#1
|
|
|
Newbie ![]() Group: Members Posts: 5 Joined: 19-May 09 Member No.: 809 |
At the installation on free.fr host, one gets this message :
QUOTE To run Piwik you need at least PHP version 5.1.3 Unfortunately it seems your webserver is using PHP version 5.1.3RC4-dev. Since differences between theses two versions of PHP are probably not a real limitation for using Piwik, is it possible to manage a turn-around for this obstacle ? I tried to set config/global.ini.php with minimum_php_version = 5.1.0 but with no success |
|
|
|
May 19 2009, 12:17 PM
Post
#2
|
|
|
Newbie ![]() Group: Members Posts: 5 Joined: 19-May 09 Member No.: 809 |
Now I found a taround around for this, by setting core/testMinimumPhpVersion.php with $piwik_minimumPHPVersion = '5.1.0';
Unfortunatly another problem comes up : CODE Warning: require_once(Zend/Registry.php) [function.require-once]: failed to open stream: No such file or directory in /mnt/166/sda/3/3/xxx/piwik/core/ErrorHandler.php on line 12 Fatal error: require_once() [function.require]: Failed opening required 'Zend/Registry.php' (include_path='/mnt/166/sda/3/3/xxx/include:.:/usr/php5/lib/php') in /mnt/166/sda/3/3/flostyle/piwik/core/ErrorHandler.php on line 12 Any Idea how to solve this one ? |
|
|
|
May 21 2009, 04:47 AM
Post
#3
|
|
|
Advanced Member ![]() ![]() ![]() Group: Administrators Posts: 852 Joined: 25-November 08 Member No.: 4 |
please make sure all your files are uploaded correctly?
-------------------- Search Piwik Forum & Docs
Piwik FAQ - Most commonly asked questions Piwik Documentation Index - has Installation&Update guides and documentation - great for all users Stay tuned on the Piwik Blog, find Developer resources on Developer Zone |
|
|
|
May 24 2009, 01:37 AM
Post
#4
|
|
![]() Advanced Member ![]() ![]() ![]() Group: Administrators Posts: 1,985 Joined: 10-February 09 Member No.: 246 |
If that's the include path, then you're probably outta luck. Check phpinfo() -- I'm guessing set_include_path is in disable_functions.
-------------------- |
|
|
|
Aug 30 2009, 03:22 PM
Post
#5
|
|
|
Newbie ![]() Group: Members Posts: 2 Joined: 30-August 09 Member No.: 5,020 |
Indeed, these functions are not activated :
# chown # chmod # get_current_user # php_uname # putenv # set_time_limit # getmyuid # getmypid # dl # ini_alter # ini_restore # ini_set # exec # passthru # system # popen # pclose # leak # mysql_list_dbs # listen # chgrp # disk_total_space # disk_free_space # rmdir # realpath # tmpfile # link # shell_exec # proc_open # chroot # openlog # closelog # syslog # flock # socket_create_listen # socket_accept # socket_listen # sleep # usleep # umask # set_include_path # restore_include_path # symlink # setlocale # imagerotate I have tried to fix every broken links, but I can't repair this one (for now) : /piwik/libs/Zend/Session/Namespace.php on line 27 CODE require_once 'Zend/Session.php';
|
|
|
|
Aug 30 2009, 07:16 PM
Post
#6
|
|
![]() Advanced Member ![]() ![]() ![]() Group: Administrators Posts: 1,985 Joined: 10-February 09 Member No.: 246 |
That file is found at libs/Zend/Session.php.
-------------------- |
|
|
|
Sep 8 2009, 07:53 PM
Post
#7
|
|
|
Newbie ![]() Group: Members Posts: 2 Joined: 30-August 09 Member No.: 5,020 |
No, I have tried to edit the "faulty" file to include that libs/Zend/Session.php file, but it don't works.
I have tried a relative and an absolute link to this file, but it seems to be a ghost. Present, but invisible by php include()... |
|
|
|
![]() ![]() |