• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Can't install Piwik stats

Xencaye

New Pleskian
Hello, guys!

I'm having some troubles installing Piwik stats straight from the Applications page in Plesk. The error below pops up, happens to all domains. Any ideas? I'm a little lost.

Error: The following error has occurred during the installation of application: Installation of Piwik at **** failed. Non-zero exit status returned by script. Output stream: 'PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /usr/local/psa/var/apspackages/apscatalogTpVJ8L.zip9101b01b-036e-ed/cache/scripts/db-util.php:66 Stack trace: #0 /usr/local/psa/var/apspackages/apscatalogTpVJ8L.zip9101b01b-036e-ed/cache/scripts/app-util.php(39): mysql_db_connect('localhost:3306', 'piwik_2', '***', 'piwik_9') #1 /usr/local/psa/var/apspackages/apscatalogTpVJ8L.zip9101b01b-036e-ed/cache/scripts/app-util.php(13): import_sql_scripts_to_databases(Array, Array, Array, Array, Array, Array, Array, Array) #2 /usr/local/psa/var/apspackages/apscatalogTpVJ8L.zip9101b01b-036e-ed/cache/scripts/configure(100): configure(Array, Array, Array, Array, Array, Array, Array, Array, Array) #3 {main} thrown in /usr/local/psa/var/apspackages/apscatalogTpVJ8L.zip9101b01b-036e-ed/cache/scripts/db-util.php on line 66 '. Error stream: 'PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /usr/local/psa/var/apspackages/apscatalogTpVJ8L.zip9101b01b-036e-ed/cache/scripts/db-util.php:66 Stack trace: #0 /usr/local/psa/var/apspackages/apscatalogTpVJ8L.zip9101b01b-036e-ed/cache/scripts/app-util.php(39): mysql_db_connect('localhost:3306', 'piwik_2', '***', 'piwik_9') #1 /usr/local/psa/var/apspackages/apscatalogTpVJ8L.zip9101b01b-036e-ed/cache/scripts/app-util.php(13): import_sql_scripts_to_databases(Array, Array, Array, Array, Array, Array, Array, Array) #2 /usr/local/psa/var/apspackages/apscatalogTpVJ8L.zip9101b01b-036e-ed/cache/scripts/configure(100): configure(Array, Array, Array, Array, Array, Array, Array, Array, Array) #3 {main} thrown in /usr/local/psa/var/apspackages/apscatalogTpVJ8L.zip9101b01b-036e-ed/cache/scripts/db-util.php on line 66 '.

Thanks in advance.
 
Thanks for the input! When I run the command I get the following:

plesk-mysql-server-12.5.30-cos7.build1205150826.19.x86_64
plesk-php56-mysql-5.6.20-centos7.16040512.x86_64
php-mysql-5.4.16-36.el7_1.x86_64
plesk-php70-mysql-7.0.5-centos7.16040516.x86_64
plesk-mysql-connector-odbc-5.2.7-centos7.15072015.x86_64

According to the Piwik requirements, I need MySQL 4.1 or higher, which seems to be so in my case.

I haven't had issues with installing latest WordPress and whatnot, if that matters.
 
Back
Top