Linux Web statistics software Piwik installation steps detailed

Source: Internet
Author: User
Tags piwik

Piwik is an open source Web site statistics software,

The Piwik installation process is also very simple,

You need to install the lamp or LNMP Web run environment first.

Installation diagram

Piwik software Download: http://builds.piwik.org/piwik.zip

Installation screenshot

The following error was reported when installing Piwik on the server:

In_array () expects parameter 2 to is array, null given in '/alidata/www/piwik/plugins/installation/controller.php ' at the Line 742 #0 piwik_errorhandler (...) called at [:] #1 in_array (...) called at [/alidata/www/piwik/plugins/installation/con TROLLER.PHP:742] #2 piwik_installation_controller::getsysteminformation (...) called at [/alidata/www/piwik/plugins/ installation/controller.php:945] #3 piwik_installation_controller->setupsystemcheckview (...) called at [/alidata /WWW/PIWIK/PLUGINS/INSTALLATION/CONTROLLER.PHP:106] #4 piwik_installation_controller->systemcheck (...) called at [/alidata/www/piwik/plugins/installation/installation.php:76] #5 piwik_installation->dispatch (...) called at [ :] #6 call_user_func_array (...) called at [/alidata/www/piwik/libs/event/dispatcher.php:213] #7 event_dispatcher-> Addobserver (...) called at [/alidata/www/piwik/core/pluginsmanager.php:544] #8 piwik_pluginsmanager-> Addpluginobservers (...) called at [/alidata/www/piwik/core/pluginsmanager.php: 406] #9 piwik_pluginsmanager->reloadplugins (...) called at [/alidata/www/piwik/core/pluginsmanager.php:289] #10 Piwik_pluginsmanager->loadplugins (...) called at [/alidata/www/piwik/core/frontcontroller.php:265] #11 Piwik_ Frontcontroller->init (...) called at [/alidata/www/piwik/index.php:51]
According to experience that is the number of function parameters, look at the code is the wrong 2 parameters Ah, look up one of the variables using the Get_loaded_extensions function to get the PHP environment installed all the extensions, from this can be guessed that the server may be disabled by the function. Analysis of php.ini files can be found as we think. Remove this function from the list of disabled functions, and restart the PHP service (Apache directly restarts the Apache service). This will not be reported as a mistake.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.